QnA Maker Bot with CosmosDB for storage
devX
1
Reputation point
Within the Microsoft Learn, it states I should not create a CosmosDB container, however the next section requires that I populate a container-id.
"CosmosDbEndpoint": "<your-cosmosdb-uri>",
"CosmosDbAuthKey": "<your-authorization-key>",
"CosmosDbDatabaseId": "<your-database-id>",
"CosmosDbContainerId": "<**your-container-id**>"
CosmosDbEndpoint = Configuration.GetValue<string>("CosmosDbEndpoint"),
AuthKey = Configuration.GetValue<string>("CosmosDbAuthKey"),
DatabaseId = Configuration.GetValue<string>("CosmosDbDatabaseId"),
ContainerId = Configuration.GetValue<string>("**CosmosDbContainerId**"),
When i don't create a container, nothing happens on the CosmosDB.
Now If i create a container within CosmosDB, I can add the name, however then the question then is what should the partition key be/what options are there?
Sign in to answer