Skip to content
Discussion options

You must be logged in to vote

Hi @kenmbelenzi! I'm Dosu and I’m helping the ragflow team.

Yes, you can use RAGFlow with LangChain by integrating RAGFlow as an external retriever/context provider. The recommended approach is to use RAGFlow’s REST API or Python SDK to fetch relevant context chunks from your knowledge base, then pass those results into LangChain for orchestration and LLM calls. There’s no dedicated LangChain integration, but the API/SDK pattern is straightforward: call RAGFlow’s /retrieval endpoint (or use the retrieve method in the Python SDK) with your query, API token, and knowledge base ID, and use the returned chunks as context in your LangChain pipeline. This pattern aligns with how LangChain expe…

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
12 replies
@dosubot
Comment options

@kenmbelenzi
Comment options

@dosubot
Comment options

@kenmbelenzi
Comment options

@dosubot
Comment options

Answer selected by kenmbelenzi
Comment options

You must be logged in to vote
4 replies
@dosubot
Comment options

@kenmbelenzi
Comment options

@dosubot
Comment options

@kenmbelenzi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant