OpenAIEmbeddings - embed_documents - chunk size bug #29759
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
investigate
Flagged for investigation.
Checked other resources
Example Code
No example code needed. The bug is in the current version of the repo.
Error Message and Stack Trace (if applicable)
No response
Description
In the following code:
langchain/libs/partners/openai/langchain_openai/embeddings/base.py
Lines 573 to 582 in f4e3e86
at line 576 you should use
chunk_size_
rather thanself.chunk_size
.System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: