In Azure OpenAI Studio, I'm working on Chat Playground, trying to connect to my own Azure Cosmos DB for MongoDB (vCore). I can't select an index name; there's no dropdown. What's the issue?
In Azure OpenAI Studio, I am currently engaged in the Chat Playground project, where I am endeavoring to establish a connection to my personal data source via Azure Cosmos DB for MongoDB (vCore). I have encountered a predicament during the selection of…
Need help on connecting Azure Cosmos DB using Java script.
Hello, I have just started on using cosmos DB. My goal is to create a java script app where I can store audit logs into cosmos DB. But I have some problems related to adding new items in the container. I ran this following code I provided, but it…
Gremlin API of Cosmos DB Emulator fails to parse decimal numbers
I'm currently developing an application using the Gremlin API of an Azure Cosmos DB, utilizing the Cosmos DB Emulator for local development as per the documentation. However, I've encountered an issue where the emulator does not handle decimal numbers…
Microsoft.Azure.Cosmos.CosmosException on PartitionKey
Hi. I have an old CosmosDB environment that was original accessed by DocumentDB client. the current partition key on the collection is listed in "settings" as /header.code and when a document is submitted I can see the value of the key in the…
does azure cosmosdb service tag include physical partition ip ranges?
I added a NSG rules to block the outbound requests to cosmosdb but found out that only the requests to cosmosdb gateway has been blocked. The requests to physical pation still could go through. So does azure cosmosdb service tag include physical…
Does Azure Cosmos DB (Mongo API) utilize compound indexes or memory during sorting?
According to the Cosmos DB Mongo API (vCore) documentation, an existing indexing limit is stated as follows: Sorting is done in memory and doesn't push down to the index. Should this be understood to mean that indexes do not participate in sorting the…
Message: Cross partition query is required but disabled. Please set x-ms-documentdb-query-enablecrosspartition to true, specify x-ms-documentdb-partitionkey, or revise your query to avoid this exception.
I have a Azure Cosmos DB container in Azure partitioned by 'ticker'. I am using the python SDK to try and make a simply query using the ContainerProxy I receive the following error: for item in container.query_items('SELECT * FROM scores',…
Error when using the Cosmos Azure DB filter function with an OpenAI GPT
Previously I used Azure Cosmos DB for MongoDB (VCore) free tier for RAG and used the vector filtering process (included in Azure and also in my Python script) and everything worked perfectly. I created a new project following the same processes above,…
I am trying to create a Cosmos DB instance for an online self training exercise, but I am getting an error when I choose the available location for my subscription
{ "code": "LocationNotAvailableForResourceType", "message": "The provided location 'centraluseuap' is not available for resource type 'Microsoft.DocumentDB/databaseAccounts'. List of available regions for the…
how to fix The provided location 'centraluseuap' is not available for resource group
{"code":"LocationNotAvailableForResourceGroup","message":"The provided location 'centraluseuap' is not available for resource group. List of available regions is…
Azure Cosmos DB Account Location Not Available
Hi, I am receiving the following error while creating a new resource group on my trail account. I could only find two location options, 'EAST US 2 EUAP' and 'CENTRAL US EUAP' but, both the locations are giving me same error. I am currently on trail Azure…
Azure App Service Unable to Connect to Azure Cosmos DB (MongoDB API)
Hello! I'm experiencing an issue where my Flask application hosted on Azure App Service cannot connect to my Azure Cosmos DB (MongoDB API). The connection works fine on my local machine, but fails when deployed to Azure. Environment: Azure App…
I can't find the URL for my Azure Cosmos DB for MongoDB (vCore)
Hi, I want to create a simple HTTP Endpoint API but, I can't find the URL for my Azure Cosmos DB for MongoDB (vCore) are there any simple way like the Mongodb HTTPS endpoint API I have use Mongodb Atlas before and it's really easy and simple…
Assign Entra ID user to CosmosDB PostgreSQL role using CLI/BICEP/Powershell
Hi there, We are using CosmosDB PostgreSQL Cluster and wish to use Entra ID authentication for all users. We build our environment completely via IaC using Bicep and CLI, but can't find how to create the roles for the Entra…
CosmosDB API | How to get the logical data size for a given partition
Hi, I need to get the logical size of a given partition using the CosmosDB API, but I did not find anything in the SDK or with a web search. As there is a 20Gb limit on that logical size, it makes sense to have a way to get that size, so I probably…
How to read data users.csv.gz?
Hi, I am referring link https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/quickstart-distribute-tables And getting this error: citus=> SELECT * FROM create_extension('azure_storage'); create_extension (1 row) citus=> COPY…
Migration of data between cross Tenants cosmos DB accounts
Hi Team, We want to migrate data between two cosmos DB NOSQL accounts which are located in two different tenants. One cosmos DB is in "CORP Tenant"(microsoft.com) and another cosmos DB is in PME tenant. Please provide me some guidance on how to…
Permission on subscription when creating Azure Synapse workspace
I want to create a workspace subscript on Cosmos-bingads-bi, the website prompts me that I do not have the permission. Where should I apply for the permission?
How to get Employees Hierarchy
Hi, My requirement is as follows: I would like to obtain Employee Wise Hierarchy (Bottom Employees to Top Employees) using SP. Note (Role): NH is Level-1(Top Level) VH is Level-2 AVP is Level-3 RM is Level-4 DRM is Level-5 BM is Level-6 TH is Level-7…
Cosmos DB - Failed to change the ID after it has exceeded 300 characters.
On 2023-03-23, we create a new CosmosDB Account. And then we found something wrong. Failed to change the ID after it has exceeded 300 characters. we change the ID of the data to one over 300 characters. it succeeded After that, failed to change the…