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

Langchain-Chatchat向量检索方式 #4021

Open
zixiaotan21 opened this issue May 15, 2024 · 3 comments
Open

Langchain-Chatchat向量检索方式 #4021

zixiaotan21 opened this issue May 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zixiaotan21
Copy link

有点好奇Langchain-chatchat 的向量检索方式。
方法上,在程序中是采用倒排召回还是向量召回?
过程中,使用的是单路召回还是多路召回?

@zixiaotan21 zixiaotan21 added the bug Something isn't working label May 15, 2024
Copy link

dosubot bot commented May 15, 2024

Langchain-Chatchat utilizes vector retrieval for indexing local knowledge and converting questions into vectors, aiming to meet semantic search requirements. It doesn't explicitly mention the use of inverted indexing or vector recall methods in the documentation. However, the configuration VECTOR_SEARCH_TOP_K = 3 suggests a multi-path recall approach during vector retrieval, indicating that the system considers multiple potential matches by retrieving the top 3 vectors closest to the query vector. This setup implies a focus on enhancing the relevance and accuracy of the search results by evaluating several possible answers.

Details

Sources


About Dosu
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.

To continue the conversation, mention @dosu.

@zixiaotan21
Copy link
Author

@dosu, 根据问题#3563的回答,现在是不支持多路检索/多路召回吗?
@zRzRzRzRzRzRzR 维护者你好,现在的版本是仍然不支持吗,之后的0.3版本考虑更新吗?

Copy link

dosubot bot commented May 15, 2024

Langchain-Chatchat currently supports multi-path retrieval/recall as indicated by its configuration to retrieve the top 3 most similar vectors for a given query. This setup allows the system to consider multiple potential matches, enhancing the relevance and accuracy of search results. The knowledge_base_chat function further processes these retrieved documents, potentially using a re-ranker to refine the selection based on relevance.

As for the upcoming 0.3 version and specific plans regarding the implementation or improvement of multi-path retrieval/recall, there's no publicly documented information available in the repository. For more detailed insights or future plans about multi-path retrieval/recall in Langchain-Chatchat, it might be beneficial to directly reach out to the maintainers.

@zrzrzrzrzrzrzrzr, could you provide more details on whether multi-path retrieval/recall will be supported or enhanced in the upcoming 0.3 version?

Details

Sources


About Dosu
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.

To continue the conversation, mention @dosu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant