Find answers from the community

Updated 2 months ago

I am planning to do the following. I

I am planning to do the following. I have looked at the documentation of LlamaIndex and completed part of it, but the remaining part confuses me. Can provide some guidance?

  1. I have some web pages and documents that I need to load into Qdrant. (completed)
  2. I need to find relevant contexts from Qdrant based on certain topics and then turn these contexts into final results based on prompt. (I found using the Query method doesn't work for prompt, while using the Retriever method allows me to get relevant Nodes. From there, I can work on the rest using OpenAI. However, I am wondering if LlamaIndex can directly help with this. I couldn't find it in the documentation. How should I proceed or which part of the documentation should I refer to?)
n
d
4 comments
usually you will want to use the query method it will basically combine a retrieval (getting context) and response synthesize (getting answer from LLM with the context added to the prompt) step.
turn your index into a query engine and use the query method
Thanks, I'll give it a try today.
Add a reply
Sign up and join the conversation on Discord