Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

[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
Contributor

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

I changed this issue to a feature request.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants