A LangChain-style RAG chain has a retriever, prompt template, and model. What should be passed into the prompt template before generation?

Published
  1. Only the name of the vector index.
  2. The user question and appropriately selected retrieved context.
  3. The model's API credential in place of the user question.
  4. Only the application's historical average latency.

Comments — 0