Closed junhonglau closed 9 months ago
same issue here
Hi @junhonglau and @dchan14, I see that your endpoint in the .env is incorrect. It should be
https://<my-azureopenai-azureresourcesname>.openai.azure.com
Our AI library logic will add to this endpoint for specific API calls (e.g., Completions)
Closing as question answered :)
In addition to chaging the gpt deployment name in config.json
and index.ts
, you still need to change the embedding
deployment name in VectraDataSource.ts
:
The default value is embedding
but you should change it to your actual deployment name.
In addition to chaging the gpt deployment name in
config.json
andindex.ts
, you still need to change theembedding
deployment name inVectraDataSource.ts
:The default value is
embedding
but you should change it to your actual deployment name.
I think we should change this value to be loaded from .env
file instead of hardcoding here.
hi @lilyydu @corinagum, if needed, I could submit a PR to fix this issue. Thanks
hi @lilyydu @corinagum, if needed, I could submit a PR to fix this issue. Thanks
Perhaps you could file a new issue as a suggested work item, and from there the team can discuss whether we want to proceed with the change?
Language
Javascript/Typescript
Version
latest
Description
Experimenting Teams AI Chef with Azure Open AI but keep facing error below:
Source Code Snipped .env - Changed Azure OpenAi Key and OpenAi End Point. Its following the Playground (Show Code) It's surely correct.
index.ts - Changed the azureApiVersion
Reproduction Steps