Popular
📄️ API chains
APIChain enables using LLMs to interact with APIs to retrieve relevant information. Construct the chain by providing a question relevant to the provided API documentation.
📄️ Retrieval QA
This example showcases question answering over an index.
📄️ Conversational Retrieval QA
Looking for the older, non-LCEL version? Click here.
📄️ Conversational Retrieval QA
Looking for the LCEL version? Click here.
📄️ SQL
This example demonstrates the use of Runnables with questions and more on a SQL database.
📄️ SQL
This example demonstrates the use of the SQLDatabaseChain for answering questions over a SQL database.
📄️ Structured Output with OpenAI functions
Must be used with an OpenAI functions model.
📄️ Summarization
A summarization chain can be used to summarize multiple documents. One way is to input multiple smaller documents, after they have been divided into chunks, and operate over them with a MapReduceDocumentsChain. You can also choose instead for the chain that does summarization to be a StuffDocumentsChain, or a RefineDocumentsChain.
📄️ Retrieval QA
This example showcases question answering over an index.