code
The invoke_chain function in a RAG architecture executes a processing chain that gathers context from the hybrid_retriever, applies a prompt template, sends the data to a language model, and returns the model's response along with the source data used from both retrievers.

Authors

Sources

Referenced by nodes (1)