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

Inconsistent Environment Variables #1488

Closed
riedgar-ms opened this issue Jun 14, 2023 · 1 comment
Closed

Inconsistent Environment Variables #1488

riedgar-ms opened this issue Jun 14, 2023 · 1 comment

Comments

@riedgar-ms
Copy link
Contributor

Describe the bug

It appears that the .NET and Python sides check for slightly different environment variables?

Specifically, the .env.example file for Python has AZURE_OPENAI_API_KEY but the .NET example program seems to want AZURE_OPENAI_KEY

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Equivalence between .NET and Python

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Win11
  • IDE: PowerShell/VSCode/Python 3.11
  • NuGet Package Version [e.g. 0.1.0]

Additional context
Add any other context about the problem here.

@riedgar-ms
Copy link
Contributor Author

Sorry, didn't spot what was loading the environment

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

No branches or pull requests

1 participant