Skip to content
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

请教一下,怎么更好使用Compression方法? #280

Open
Modas-Li opened this issue May 23, 2024 · 3 comments
Open

请教一下,怎么更好使用Compression方法? #280

Modas-Li opened this issue May 23, 2024 · 3 comments

Comments

@Modas-Li
Copy link
Contributor

No description provided.

@tpoisonooo
Copy link
Collaborator

没太懂你的问题,

from langchain.retrievers import ContextualCompressionRetriever 就是查 API 手册啊...
要不就调参数。

@Modas-Li
Copy link
Contributor Author

没太懂你的问题,

from langchain.retrievers import ContextualCompressionRetriever 就是查 API 手册啊... 要不就调参数。

Extractor、Filter、EmbeddingsFilter、DocumentCompressorPipeline这四类,智能检索场景应该选哪个呢

@tpoisonooo
Copy link
Collaborator

没太懂你的问题,
from langchain.retrievers import ContextualCompressionRetriever 就是查 API 手册啊... 要不就调参数。

Extractor、Filter、EmbeddingsFilter、DocumentCompressorPipeline这四类,智能检索场景应该选哪个呢

没实用过。 感觉就是一堆 API 封装,并不能真的解决什么问题,我只想删掉它们直接跑模型。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants