Azure-Samples / Azure-Samples/azure-sql-db-chatbot

Credential parameter not being accepted

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TSQL
Stars
67
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I am testing the RAG (TSQL) sample provided here - https://github.com/Azure-Samples/azure-sql-db-chatbot

On step 5 (05-get-search-vector.sql), the script provided is not working. What value should I put in the "Credential" parameter?

begin try
exec @retval = sp_invoke_external_rest_endpoint
@url = '/openai/deployments/embeddings/embeddings?api-version=2023-03-15-preview',
@method = 'POST',
**@credential = [https://.openai.azure.com],**
@payload = @payload,
@response = @response output;
end try

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.