Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the documented appsettings.Development.json on the readme.md does not match what is expected with the second Cosmos DB account. #56

Closed
emmanueldeletang opened this issue Jun 3, 2024 · 1 comment
Assignees

Comments

@emmanueldeletang
Copy link

emmanueldeletang commented Jun 3, 2024

@markjbrown @joelhulen @ciprianjichici

In the ChatAPI project, create an appsettings.Development.json file with the following content (replace all <...> placeholders with the values from your deployment):

{
"MSCosmosDBOpenAI": {
"OpenAI": {
"Endpoint": "[https://%3c...%3e.openai.azure.com/]https://<...>.openai.azure.com/",
"Key": "<...>"
},
"CosmosDB": {
"Endpoint": "[https://%3c...%3e.documents.azure.com:443/]https://<...>.documents.azure.com:443/",
"Key": "<...>"
},
"DurableSystemPrompt": {
"BlobStorageConnection": "<...>"
},
"BlobStorageMemorySource": {
"ConfigBlobStorageConnection": "<...>"
}
}
}
With this is not work because you have to add for cosmosdbVectorstore too , so it will should be 😂

{
"MSCosmosDBOpenAI": {
"OpenAI": {
"Endpoint": "[https://%3c...%3e.openai.azure.com/]https://<...>.openai.azure.com/",
"Key": "<...>"
},
"CosmosDB": {
"Endpoint": "[https://%3c...%3e.documents.azure.com:443/]https://<...>.documents.azure.com:443/",
"Key": "<...>"
},
"CosmosDBVectorStore": {
"Endpoint": "[https://%3c...%3e.documents.azure.com:443/]https://<...>.documents.azure.com:443/",
"Key": "<...>"
},
"DurableSystemPrompt": { "BlobStorageConnection": "<...>" },
"BlobStorageMemorySource": { "ConfigBlobStorageConnection": "<...>" } } }

@alekseys alekseys self-assigned this Jun 17, 2024
alekseys added a commit that referenced this issue Jun 17, 2024
@alekseys
Copy link
Contributor

fixed by adding the CosmosDBVectorStore to appsettings.Development.json instructions. Tested locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants