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
The ConversationalRetrievalQA chain builds on RetrievalQAChain to provide a chat history component.
📄️ Using OpenAI functions
This walkthrough demonstrates how to incorporate OpenAI function-calling API's in a chain. We'll go over:
📄️ SQL
This example demonstrates the use of the SQLDatabaseChain for answering questions over a SQL database.
📄️ 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.