1. 학습
  2. /
  3. 강의
  4. /
  5. Retrieval Augmented Generation (RAG) with LangChain

Connected

연습 문제

Chaining, Graph RAG style!

Now to bring everything together to create a Graph RAG QA chain! You've been provided with the same graph you've worked with throughout this chapter (with some potential variation in the specific nodes and relationships), and you'll connect this with another LLM to generate the Cypher query and return the natural language response.

지침

100 XP
  • Create a Graph Cypher QA chain using an OpenAI chat model and the graph you've created previously.
  • Invoke the chain with the input provided.
  • Extract and print the result text from the result.