Skip to content

Credential parameter not being accepted #4

@shrazvi

Description

@shrazvi

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_URL>/openai/deployments/embeddings/embeddings?api-version=2023-03-15-preview',
@method = 'POST',
@credential = [https://<OPENAI_URL>.openai.azure.com],
@payload = @payload,
@response = @response output;
end try

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions