netease-youdao / BCEmbedding

Netease Youdao's open-source embedding and reranker models for RAG products.
Apache License 2.0
1.3k stars 85 forks source link

测试“Embedding和Reranker集成常用RAG框架”中的样例代码1 #47

Closed zdm0301 closed 3 months ago

zdm0301 commented 3 months ago

ImportError: cannot import name 'BaseDocumentCompressor' from 'langchain_core.documents' (/usr/local/anaconda3/envs/llm-llama/lib/python3.9/site-packages/langchain_core/documents/init.py)

shenlei1020 commented 3 months ago

make sure you have installed langchain in the suggested version.

zdm0301 commented 3 months ago

thank you