Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 2 months ago
0
Follow
Is there something i can so that
Is there something i can so that
Inactive
0
Follow
A
Abhiram_AI_Guy
6 months ago
ยท
Is there something i can so that llamindex ignores environment keys?
W
A
6 comments
Share
Open in Discord
W
WhiteFang_Jr
6 months ago
Can you elaborate more on this
A
Abhiram_AI_Guy
6 months ago
AzureOpenAIEmbedding fails to work when used b y the query engine when working with environment variables but works fine with Keys if passed to the classes normally, but not the case if i also work with Azure clients directly
W
WhiteFang_Jr
6 months ago
It could be OpenAI issue, They sometime pork their client
W
WhiteFang_Jr
6 months ago
Pass the key after fetching it from env to the class directly
A
Abhiram_AI_Guy
6 months ago
I'm pretty sure it reads from the environment first by default
W
WhiteFang_Jr
6 months ago
Yep but OpenAI py library sometimes with some updates fails to read the env variables
Add a reply
Sign up and join the conversation on Discord
Join on Discord