hillaryke/rag-optimization-cnn-dailymail

4. Setup RAG retrieval mechanism

Closed this issue · 0 comments

  • Implement a function to load relevant documents from the vector database based on a query.
  • Set up a RetrievalQA chain using llm (OpenAI) and the retriever.
  • Test the basic RAG system by asking questions and getting answers.