Open sarathsurpur opened 5 months ago
I have the same problem while following this LLamaIndex Example using ChromaDB
any updates or workarounds on this yet?
Please provide us with the following information:
This issue is for a: (mark with an
x
)- [ ] bug report -> please search issues before submitting - metadata function is not available in azureopen ai - [ ] feature request - [ ] documentation issue or request - [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
pip install openai1.14.1, call metadata method in azureopen ai object
Any log messages given by the failure
AttributeError: type object 'AzureOpenAI' has no attribute 'metadata'
Expected/desired behavior
couldnt load metadata method in azure openai
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Versions
Mention any other details that might be useful
Thanks! We'll be in touch soon.
I assume you used
from openai import AzureOpenAI
try using from llama_index.llms.azure_openai import AzureOpenAI
I am also facing the same issue. Any updates??
I am also facing the same issue. Any updates??
You downvoted my snippet. Did you actually run it?
I am also facing the same issue. Any updates??
You downvoted my snippet. Did you actually run it?
Yes I have checked and tried the same. It is not working.
I am also facing the same issue. Any updates??
You downvoted my snippet. Did you actually run it?
Yes I have checked and tried the same. It is not working.
Show a code snippet and the libraries you are using.
I am also facing the same issue. Any updates??
You downvoted my snippet. Did you actually run it?
Yes I have checked and tried the same. It is not working.
I am also facing the same issue. Any updates??
You downvoted my snippet. Did you actually run it?
Yes I have checked and tried the same. It is not working.
you also have to uninstall the incomensurate library you're trying to use to solve your error.
I am also facing the same issue. Any updates??
You downvoted my snippet. Did you actually run it?
Yes I have checked and tried the same. It is not working.
Self instance I have not used. Everything else is same.
Thank you, I will check.
I am also facing the same issue. Any updates??
You downvoted my snippet. Did you actually run it?
Yes I have checked and tried the same. It is not working.
you also have to uninstall the incomensurate library you're trying to use to solve your error.
Which libraries to uninstall?
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
AttributeError: type object 'AzureOpenAI' has no attribute 'metadata'
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful