expose docs chains (#6453)

This commit is contained in:
Harrison Chase 2023-06-19 17:18:54 -07:00 committed by GitHub
parent 286452c7f0
commit 1300a4bc8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,10 @@
from langchain.chains.api.base import APIChain from langchain.chains.api.base import APIChain
from langchain.chains.api.openapi.chain import OpenAPIEndpointChain from langchain.chains.api.openapi.chain import OpenAPIEndpointChain
from langchain.chains.combine_documents.base import AnalyzeDocumentChain from langchain.chains.combine_documents.base import AnalyzeDocumentChain
from langchain.chains.combine_documents.map_reduce import MapReduceDocumentsChain
from langchain.chains.combine_documents.map_rerank import MapRerankDocumentsChain
from langchain.chains.combine_documents.refine import RefineDocumentsChain
from langchain.chains.combine_documents.stuff import StuffDocumentsChain
from langchain.chains.constitutional_ai.base import ConstitutionalChain from langchain.chains.constitutional_ai.base import ConstitutionalChain
from langchain.chains.conversation.base import ConversationChain from langchain.chains.conversation.base import ConversationChain
from langchain.chains.conversational_retrieval.base import ( from langchain.chains.conversational_retrieval.base import (
@ -95,4 +99,8 @@ __all__ = [
"create_tagging_chain_pydantic", "create_tagging_chain_pydantic",
"load_chain", "load_chain",
"create_citation_fuzzy_match_chain", "create_citation_fuzzy_match_chain",
"StuffDocumentsChain",
"MapRerankDocumentsChain",
"MapReduceDocumentsChain",
"RefineDocumentsChain",
] ]