Jump to content

Spotfire Copilot Orchestrator error (unknown request URL)


Gerard Conway 2

Recommended Posts

Hi

I'm trying to setup Copilot, using Melvus as my vector db and OpenAI as my LLM provider.

I have successfully used the data loader container to load and index the Spotfire docs.  I can search the docs using the Data Loader APIs.
However, when I start the Orchestrator container I'm unable to call the '/orchestartor/' end point using the simple prompt 'How to create a bar chart?'. (screenshot attached)

I get the follow error message, full log attached.
error_message='Unknown request URL: POST /v1/openai/deployments/gpt-35-turbo/chat/completions?api-version=2023-03-15-preview.

It's strange because I have not set the OPENAI_API_KEY environment variable nor have I used that parameter in the yaml compose file. .env and .yml files attached.
It seems like the Orchestartor is adding the api-version parameter by default.
Does the OpenAI API even take an api-version parameter.  It seems to be more associated with Azure OpenAI.

Any guidance appreciated.

Thanks,

Gerard

API Call.png

.env docker-compose-orchestrator.yml Orchestrator Container Error.txt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...