Unable to set OpenAI thru .env #7360
Replies: 4 comments 2 replies
-
Hi @krishnan2704, are you encountering this issue while trying to run the getting_started notebooks in Python? or while trying to run concept samples? |
Beta Was this translation helpful? Give feedback.
-
Hi @krishnan2704, thanks for the details. I found a bug in the service settings config. It should be Here is a link to the PR with the fix. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much it works!! |
Beta Was this translation helpful? Give feedback.
-
Fixed as of #7366 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Using the step as below :
Configuring the Kernel
Let's get started with the necessary configuration to run Semantic Kernel. For Notebooks, we require a
.env
file with the proper settings for the model you use. Create a new file named.env
and place it in this directory. Copy the contents of the.env.example
file from this directory and paste it into the.env
file that you just created.NOTE: Please make sure to include
GLOBAL_LLM_SERVICE
set to either OpenAI, AzureOpenAI, or HuggingFace in your .env file. If this setting is not included, the Service will default to AzureOpenAI.I am trying to set up OpenAI, however the flow is defaulting to AzureOpenAI. I am using Visual Studio. Anyone help me to resolve?
Beta Was this translation helpful? Give feedback.
All reactions