unstructured/requirements/ingest/embed-openai.in
Christine Straub 798dcc096c
fix: update OpenAIEmbeddingEncoder to use langchain-openai instead of langchain-community (#3433)
Closes https://github.com/Unstructured-IO/unstructured/issues/3378.

### Summary
This PR aims to update `OpenAIEmbeddingEncoder` to use
`OpenAIEmbeddings` from `langchain-openai` package instead of the
deprecated version from `langchain-community`. This resolves the
deprecation warning and ensures compatibility with future versions of
langchain.
2024-07-24 16:52:34 +00:00

5 lines
60 B
Plaintext

-c ../deps/constraints.txt
-c ../base.txt
langchain-openai