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

[Feature] support canopy chat --no-rag flag with Azure OpenAI #276

Open
2 tasks done
orcaman opened this issue Feb 5, 2024 · 1 comment
Open
2 tasks done

[Feature] support canopy chat --no-rag flag with Azure OpenAI #276

orcaman opened this issue Feb 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@orcaman
Copy link

orcaman commented Feb 5, 2024

Is this a new bug?

  • I believe this is a new bug
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

All of my Azure OpenAI env vars are set, and I was able to both canopy upsert and canopy start using the Azure OpenAI setup.

When running canopy chat, everything works as expected.

However when running canopy chat --no-rag, after submitting the first prompt, an error is returned: "Error: No OpenAI API key provided. When using the --no-rag flag You will need to have a valid OpenAI API key. Please set the OPENAI_API_KEY environment variable."

Expected Behavior

The expected behavior is that the --no-rag flag would work for the Azure OpenAI setup.

Steps To Reproduce

  1. Setup Azure OpenAI env vars
  2. Run server (canopy start)
  3. Execute canopy chat --no-rag
@orcaman orcaman added the bug Something isn't working label Feb 5, 2024
@igiloh-pinecone igiloh-pinecone added enhancement New feature or request and removed bug Something isn't working labels Feb 7, 2024
@igiloh-pinecone igiloh-pinecone changed the title [Bug] canopy chat with --no-rag flag not working with Azure OpenAI [Feature] support canopy chat --no-rag flag with Azure OpenAI Feb 7, 2024
@igiloh-pinecone
Copy link
Collaborator

@orcaman this is currently not supported, canopy chat --no-rag is currently working with OpenAI only.

I changed this issue to a feature request.

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

No branches or pull requests

2 participants