-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
OpenAIEmbeddings bug #14377
Comments
🤖 Hello @youfak, I'm Dosu, a bot that helps manage this repository. I can assist you with resolving bugs, answering questions, and even guide you on how to contribute to the project. While we wait for a human maintainer to join us, I'll do my best to assist you. Let's get started! Based on the error message you provided, it seems like the issue is related to the Looking at the similar issues in the LangChain repository, it appears that this problem has been encountered before. The suggested solution in these issues is to downgrade the OpenAI package to version 0.28.1 and LangChain to version 0.0.330. This can be done by running the following commands in the terminal: pip install openai==0.28.1
pip install langchain==0.0.330 This solution has received positive reactions and has been confirmed to work by multiple users. You can find more details in the following issues: However, please note that this is a temporary fix. The LangChain team is likely working on a more permanent solution that will be compatible with the latest OpenAI version. You might want to keep an eye on the repository for updates. As for the I hope this helps! If you have any other questions or need further clarification, feel free to ask. Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
This is not a bug. The parameter is called |
|
System Info
langchain==0.0.344
langchain-experimental>=0.0.42
python==3.10.12
error
Who can help?
@hwchase17
Information
Related Components
Reproduction
Expected behavior
Normal loading
The text was updated successfully, but these errors were encountered: