We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Running the AzureOpenAI/ChromaDB example notebook produces an exception when instantiating the AzureOpenAI client.
To Reproduce Steps to reproduce the behavior:
class MyVanna(ChromaDB_VectorStore, OpenAI_Chat): def __init__(self, config=None): ChromaDB_VectorStore.__init__(self, config=config) client = AzureOpenAI( azure_endpoint="https://<your-azure-endpoint>", api_key="<your-api-key>", api_version="2024-10-21" ) OpenAI_Chat.__init__(self, client=client, config=config) vn = MyVanna(config={'model': 'gpt-4o'})
Expected behavior The client is instantiated successfully and the notebook runs.
Error logs/Screenshots
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) [<ipython-input-12-40a40921fe2f>](https://localhost:8080/#) in <cell line: 11>() 9 OpenAI_Chat.__init__(self, client=client, config=config) # Make sure to put your AzureOpenAI client here 10 ---> 11 vn = MyVanna(config={'model': 'gpt-4o'}) 4 frames [/usr/local/lib/python3.10/dist-packages/openai/_base_client.py](https://localhost:8080/#) in __init__(self, **kwargs) 753 kwargs.setdefault("limits", DEFAULT_CONNECTION_LIMITS) 754 kwargs.setdefault("follow_redirects", True) --> 755 super().__init__(**kwargs) 756 757 TypeError: Client.__init__() got an unexpected keyword argument 'proxies'
Desktop (please complete the following information where):
Additional context Possibly related:
The text was updated successfully, but these errors were encountered:
Fix, from https://community.openai.com/t/error-with-openai-1-56-0-client-init-got-an-unexpected-keyword-argument-proxies/1040332/10:
!pip install openai==1.55.3 httpx==0.27.2 --force-reinstall
Place this after the first cell and restart the runtime.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Running the AzureOpenAI/ChromaDB example notebook produces an exception when instantiating the AzureOpenAI client.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The client is instantiated successfully and the notebook runs.
Error logs/Screenshots
Desktop (please complete the following information where):
Additional context
Possibly related:
The text was updated successfully, but these errors were encountered: