Replies: 1 comment 2 replies
-
Hi @frankShih you can have a look at Hayhooks if you want to serve pipelines through a web app. Here is the docs page: https://docs.haystack.deepset.ai/docs/hayhooks and the repository: https://github.com/deepset-ai/hayhooks |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a chatbot web app (frontend + backend + DB).
Frontend server gets user query prompt and sends it to backend server API.
In backend server (using flask), I implement RAG-like workflow. Pre-process user prompt, get documents from DB and perform embedding search ... etc. In the end, return a generator function to meets streaming API response format.
Now, I try to use haystack to re-construct my RAG-like workflow, which is a bit messy (I want to make the code clean & reusable). However, I notice that haystack (or even langchain) module is more like a pipeline(workflow) design tool. I can barely find the resources about how to turn these pipeline into an API service for frontend server.
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions