Find answers from the community

Updated 3 weeks ago

Building a Versatile Bot: General Queries and Platform-Specific Retrieval

@Logan M

i am building a bot which could cater to general queries and also does retrieval whenever required from the vector store for platform related queries

  1. If the query is general,,it should be answered without retrieval
  2. If the query is related to the use of the platform,, it should be answered using the vector
  3. Streaming Chat
  4. Use Chat Engine instead of query engine
  5. And retrieval should use HyDe and hybrid RAG
i used this reference but does not seem to work https://docs.llamaindex.ai/en/stable/examples/query_engine/RetrieverRouterQueryEngine/
L
p
3 comments
Sounds like you should be using an agent with some tools? Not sure why you followed that notebook, it only covers retrieval/querying, not the rest or your items
I was just trying is routing can do this directly
Can you share any references
Add a reply
Sign up and join the conversation on Discord