id stringlengths 14 15 | text stringlengths 35 2.07k | embedding list | source stringlengths 61 154 |
|---|---|---|---|
20e9b0d32d50-0 | API Reference¶
langchain.agents: Agents¶
Interface for agents.
Classes¶
agents.agent.Agent
Class responsible for calling the language model and deciding the action.
agents.agent.AgentExecutor
Consists of an agent using tools.
agents.agent.AgentOutputParser
Create a new model by parsing and validating input data from ke... | [
7227,
17650,
55609,
198,
5317,
8995,
29192,
812,
25,
51354,
55609,
198,
5160,
369,
13307,
627,
20678,
55609,
198,
55975,
45249,
89969,
198,
1999,
8647,
369,
8260,
279,
4221,
1646,
323,
30230,
279,
1957,
627,
55975,
45249,
89969,
26321,
19... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-1 | agents.agent_toolkits.openapi.planner.RequestsPatchToolWithParsing
Create a new model by parsing and validating input data from keyword arguments.
agents.agent_toolkits.openapi.planner.RequestsPostToolWithParsing
Create a new model by parsing and validating input data from keyword arguments.
agents.agent_toolkits.opena... | [
55975,
45249,
23627,
90517,
59920,
8022,
4992,
9856,
82,
44722,
7896,
2409,
69939,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
55975,
45249,
23627,
90517,
59920,
8022,
4992,
9856,
82,
4226,
7896,
2... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-2 | agents.conversational_chat.base.ConversationalChatAgent
An agent designed to hold a conversation in addition to using tools.
agents.conversational_chat.output_parser.ConvoOutputParser
Create a new model by parsing and validating input data from keyword arguments.
agents.mrkl.base.ChainConfig(action_name, ...)
Configura... | [
55975,
2932,
3078,
1697,
36153,
9105,
4906,
3078,
1697,
16047,
17230,
198,
2127,
8479,
6319,
311,
3412,
264,
10652,
304,
5369,
311,
1701,
7526,
627,
55975,
2932,
3078,
1697,
36153,
13718,
19024,
4906,
3415,
5207,
6707,
198,
4110,
264,
502... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-3 | Create a new model by parsing and validating input data from keyword arguments.
agents.structured_chat.output_parser.StructuredChatOutputParser
Create a new model by parsing and validating input data from keyword arguments.
agents.structured_chat.output_parser.StructuredChatOutputParserWithRetries
Create a new model by... | [
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
55975,
13,
52243,
36153,
13718,
19024,
52545,
3149,
16047,
5207,
6707,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-4 | Construct a sql agent from an LLM and tools.
agents.agent_toolkits.sql.base.create_sql_agent(...)
Construct a sql agent from an LLM and tools.
agents.agent_toolkits.vectorstore.base.create_vectorstore_agent(...)
Construct a vectorstore agent from an LLM and tools.
agents.agent_toolkits.vectorstore.base.create_vectorsto... | [
29568,
264,
5822,
8479,
505,
459,
445,
11237,
323,
7526,
627,
55975,
45249,
23627,
90517,
10251,
9105,
2581,
18554,
26814,
73893,
29568,
264,
5822,
8479,
505,
459,
445,
11237,
323,
7526,
627,
55975,
45249,
23627,
90517,
48203,
4412,
9105,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-5 | cache.RedisCache(redis_)
Cache that uses Redis as a backend.
cache.RedisSemanticCache(redis_url, embedding)
Cache that uses Redis as a vector-store backend.
cache.SQLAlchemyCache(engine, cache_schema)
Cache that uses SQAlchemy as a backend.
cache.SQLiteCache([database_path])
Cache that uses SQLite as a backend.
langcha... | [
9544,
83498,
8397,
98776,
24262,
8397,
430,
5829,
35258,
439,
264,
19713,
627,
9544,
83498,
99031,
8397,
98776,
2975,
11,
4194,
95711,
340,
8397,
430,
5829,
35258,
439,
264,
4724,
34352,
19713,
627,
9544,
26151,
68614,
8397,
50074,
11,
41... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-6 | Callback Handler that logs to Infino.
callbacks.manager.AsyncCallbackManager(handlers)
Async callback manager that can be used to handle callbacks from LangChain.
callbacks.manager.AsyncCallbackManagerForChainRun(*, ...)
Async callback manager for chain run.
callbacks.manager.AsyncCallbackManagerForLLMRun(*, ...)
Async... | [
7646,
20549,
430,
18929,
311,
15268,
3394,
627,
69411,
33915,
45219,
7646,
2087,
64311,
9438,
340,
6662,
4927,
6783,
430,
649,
387,
1511,
311,
3790,
27777,
505,
23272,
19368,
627,
69411,
33915,
45219,
7646,
2087,
2520,
19368,
6869,
4163,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-7 | callbacks.streaming_aiter.AsyncIteratorCallbackHandler()
Callback handler that returns an async iterator.
callbacks.streaming_aiter_final_only.AsyncFinalIteratorCallbackHandler(*)
Callback handler that returns an async iterator.
callbacks.streaming_stdout.StreamingStdOutCallbackHandler()
Callback handler for streaming.... | [
69411,
85058,
62,
1339,
261,
45219,
12217,
7646,
3126,
746,
7646,
7158,
430,
4780,
459,
3393,
15441,
627,
69411,
85058,
62,
1339,
261,
21333,
18917,
45219,
19918,
12217,
7646,
3126,
4163,
340,
7646,
7158,
430,
4780,
459,
3393,
15441,
627,... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-8 | callbacks.tracers.schemas.ToolRun
Class for ToolRun.
callbacks.tracers.schemas.TracerSession
TracerSessionV1 schema for the V2 API.
callbacks.tracers.schemas.TracerSessionBase
A creation class for TracerSession.
callbacks.tracers.schemas.TracerSessionV1
TracerSessionV1 schema.
callbacks.tracers.schemas.TracerSessionV1B... | [
69411,
5543,
73797,
516,
32226,
25443,
6869,
198,
1999,
369,
13782,
6869,
627,
69411,
5543,
73797,
516,
32226,
8404,
9779,
5396,
198,
1305,
9779,
5396,
53,
16,
11036,
369,
279,
650,
17,
5446,
627,
69411,
5543,
73797,
516,
32226,
8404,
9... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-9 | Get a callback manager for a chain group in a context manager.
callbacks.manager.tracing_enabled([session_name])
Get the Deprecated LangChainTracer in a context manager.
callbacks.manager.tracing_v2_enabled([...])
Instruct LangChain to log all runs in context to LangSmith.
callbacks.manager.wandb_tracing_enabled([...])... | [
1991,
264,
4927,
6783,
369,
264,
8957,
1912,
304,
264,
2317,
6783,
627,
69411,
33915,
5543,
4628,
18721,
2625,
6045,
1292,
2608,
1991,
279,
85016,
23272,
19368,
1305,
9779,
304,
264,
2317,
6783,
627,
69411,
33915,
5543,
4628,
2325,
17,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-10 | Hash a string using sha1.
callbacks.utils.import_pandas()
Import the pandas python package and raise an error if it is not installed.
callbacks.utils.import_spacy()
Import the spacy python package and raise an error if it is not installed.
callbacks.utils.import_textstat()
Import the textstat python package and raise a... | [
6504,
264,
925,
1701,
16249,
16,
627,
69411,
8576,
35997,
623,
56533,
746,
11772,
279,
19130,
10344,
6462,
323,
4933,
459,
1493,
422,
433,
374,
539,
10487,
627,
69411,
8576,
35997,
10331,
2826,
746,
11772,
279,
993,
2826,
10344,
6462,
3... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-11 | chains.combine_documents.base.BaseCombineDocumentsChain
Base interface for chains combining documents.
chains.combine_documents.map_reduce.CombineDocsProtocol(...)
Interface for the combine_docs method.
chains.combine_documents.map_reduce.MapReduceDocumentsChain
Combining documents by mapping a chain over them, then co... | [
59458,
90390,
77027,
9105,
13316,
82214,
28242,
19368,
198,
4066,
3834,
369,
27271,
35271,
9477,
627,
59458,
90390,
77027,
4875,
65696,
32224,
64207,
21346,
73893,
5160,
369,
279,
16343,
50792,
1749,
627,
59458,
90390,
77027,
4875,
65696,
103... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-12 | chains.graph_qa.kuzu.KuzuQAChain
Chain for question-answering against a graph by generating Cypher statements for Kùzu.
chains.graph_qa.nebulagraph.NebulaGraphQAChain
Chain for question-answering against a graph by generating nGQL statements.
chains.hyde.base.HypotheticalDocumentEmbedder
Generate hypothetical document ... | [
59458,
10996,
9153,
64,
5314,
87425,
11606,
87425,
48622,
19368,
198,
19368,
369,
3488,
12,
598,
86,
4776,
2403,
264,
4876,
555,
24038,
18221,
29182,
12518,
369,
735,
15273,
26738,
627,
59458,
10996,
9153,
64,
23456,
16501,
9398,
2112,
31... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-13 | Create a new model by parsing and validating input data from keyword arguments.
chains.openai_functions.qa_with_structure.AnswerWithSources
An answer to the question being asked, with sources.
chains.pal.base.PALChain
Implements Program-Aided Language Models.
chains.prompt_selector.BasePromptSelector
Create a new model... | [
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
59458,
5949,
2192,
32808,
11608,
64,
6753,
39383,
8794,
3643,
2409,
33300,
198,
2127,
4320,
311,
279,
3488,
1694,
4691,
11,
449,
8336,
627,
59458,
558,
278,... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-14 | Defines interface for IR translation using visitor pattern.
chains.query_constructor.parser.QueryTransformer
chains.query_constructor.schema.AttributeInfo
Information about a data source attribute.
chains.question_answering.__init__.LoadingCallable(...)
Interface for loading the combine documents chain.
chains.retrieva... | [
74916,
3834,
369,
16646,
14807,
1701,
20792,
5497,
627,
59458,
4891,
67310,
26699,
16060,
47458,
198,
59458,
4891,
67310,
31992,
34875,
1767,
198,
15218,
922,
264,
828,
2592,
7180,
627,
59458,
32846,
61901,
86,
4776,
4952,
2381,
19247,
8746... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-15 | Chain for querying SQL database that is a sequential chain.
chains.summarize.__init__.LoadingCallable(...)
Interface for loading the combine documents chain.
chains.transform.TransformChain
Chain transform chain output.
Functions¶
chains.combine_documents.base.format_document(...)
Format a document into a string based ... | [
19368,
369,
82198,
8029,
4729,
430,
374,
264,
52100,
8957,
627,
59458,
13485,
5730,
553,
4952,
2381,
19247,
8746,
41510,
73893,
5160,
369,
8441,
279,
16343,
9477,
8957,
627,
59458,
8297,
46265,
19368,
198,
19368,
5276,
8957,
2612,
627,
26... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-16 | Returns the kwargs for the LLMChain constructor.
chains.prompt_selector.is_chat_model(llm)
Check if the language model is a chat model.
chains.prompt_selector.is_llm(llm)
Check if the language model is a LLM.
chains.qa_with_sources.loading.load_qa_with_sources_chain(llm)
Load question answering with sources chain.
chai... | [
16851,
279,
16901,
369,
279,
445,
11237,
19368,
4797,
627,
59458,
66499,
29990,
2124,
36153,
5156,
36621,
76,
340,
4061,
422,
279,
4221,
1646,
374,
264,
6369,
1646,
627,
59458,
66499,
29990,
2124,
44095,
76,
36621,
76,
340,
4061,
422,
2... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-17 | chat_models.google_palm.ChatGooglePalm
Wrapper around Google's PaLM Chat API.
chat_models.google_palm.ChatGooglePalmError
Error raised when there is an issue with the Google PaLM API.
chat_models.openai.ChatOpenAI
Wrapper around OpenAI Chat large language models.
chat_models.promptlayer_openai.PromptLayerChatOpenAI
Wra... | [
9884,
31892,
5831,
623,
7828,
59944,
14783,
47,
7828,
198,
11803,
2212,
5195,
596,
16056,
11237,
13149,
5446,
627,
9884,
31892,
5831,
623,
7828,
59944,
14783,
47,
7828,
1480,
198,
1480,
9408,
994,
1070,
374,
459,
4360,
449,
279,
5195,
1... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-18 | docstore.wikipedia.Wikipedia()
Wrapper around wikipedia API.
langchain.document_loaders: Document Loaders¶
All different types of document loaders.
Classes¶
document_loaders.acreom.AcreomLoader(path[, ...])
Initialize with path.
document_loaders.airbyte_json.AirbyteJSONLoader(...)
Loader that loads local airbyte json f... | [
5349,
4412,
34466,
1196,
15288,
746,
11803,
2212,
59318,
5446,
627,
5317,
8995,
17926,
12693,
388,
25,
12051,
9069,
388,
55609,
198,
2460,
2204,
4595,
315,
2246,
69674,
627,
20678,
55609,
198,
6190,
12693,
388,
15761,
265,
316,
885,
846,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-19 | A blob is used to represent raw data by either reference or value.
document_loaders.blob_loaders.schema.BlobLoader()
Abstract interface for blob loaders implementation.
document_loaders.blob_loaders.youtube_audio.YoutubeAudioLoader(...)
Load YouTube urls as audio file(s).
document_loaders.blockchain.BlockchainDocumentL... | [
32,
24295,
374,
1511,
311,
4097,
7257,
828,
555,
3060,
5905,
477,
907,
627,
6190,
12693,
388,
97381,
12693,
388,
31992,
1823,
1718,
9360,
746,
16328,
3834,
369,
24295,
69674,
8292,
627,
6190,
12693,
388,
97381,
12693,
388,
20751,
30788,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-20 | Loader that loads Outlook Message files using extract_msg.
document_loaders.email.UnstructuredEmailLoader(...)
Loader that uses unstructured to load email files.
document_loaders.embaas.BaseEmbaasLoader
Create a new model by parsing and validating input data from keyword arguments.
document_loaders.embaas.EmbaasBlobLoa... | [
9360,
430,
21577,
42158,
4961,
3626,
1701,
8819,
6619,
627,
6190,
12693,
388,
10048,
10840,
52243,
4886,
9360,
73893,
9360,
430,
5829,
653,
52243,
311,
2865,
2613,
3626,
627,
6190,
12693,
388,
9485,
4749,
300,
13316,
2321,
4749,
300,
9360... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-21 | Load GitBook data.
document_loaders.github.BaseGitHubLoader
Load issues of a GitHub repository.
document_loaders.github.GitHubIssuesLoader
Create a new model by parsing and validating input data from keyword arguments.
document_loaders.googledrive.GoogleDriveLoader
Loader that loads Google Docs from Google Drive.
docum... | [
6003,
21804,
7280,
828,
627,
6190,
12693,
388,
11267,
13316,
76715,
9360,
198,
6003,
4819,
315,
264,
33195,
12827,
627,
6190,
12693,
388,
11267,
1246,
275,
19876,
86928,
9360,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-22 | Loads a JSON file and references a jq schema provided to load the text into documents.
document_loaders.larksuite.LarkSuiteDocLoader(...)
Loader that loads LarkSuite (FeiShu) document.
document_loaders.markdown.UnstructuredMarkdownLoader(...)
Loader that uses unstructured to load markdown files.
document_loaders.mastod... | [
79617,
264,
4823,
1052,
323,
15407,
264,
45748,
11036,
3984,
311,
2865,
279,
1495,
1139,
9477,
627,
6190,
12693,
388,
929,
7341,
9486,
1236,
847,
29100,
9743,
9360,
73893,
9360,
430,
21577,
445,
847,
29100,
320,
6251,
72,
2059,
84,
8,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-23 | Loader that loads Open city data.
document_loaders.org_mode.UnstructuredOrgModeLoader(...)
Loader that uses unstructured to load Org-Mode files.
document_loaders.parsers.audio.OpenAIWhisperParser()
Transcribe and parse audio files.
document_loaders.parsers.generic.MimeTypeBasedParser(...)
A parser that uses mime-types ... | [
9360,
430,
21577,
5377,
3363,
828,
627,
6190,
12693,
388,
2726,
7450,
10840,
52243,
43537,
3720,
9360,
73893,
9360,
430,
5829,
653,
52243,
311,
2865,
34806,
12,
3720,
3626,
627,
6190,
12693,
388,
76592,
37847,
13250,
15836,
1671,
28470,
6... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-24 | document_loaders.pdf.OnlinePDFLoader(file_path)
Loader that loads online PDFs.
document_loaders.pdf.PDFMinerLoader(file_path)
Loader that uses PDFMiner to load PDF files.
document_loaders.pdf.PDFMinerPDFasHTMLLoader(...)
Loader that uses PDFMiner to load PDF files as HTML content.
document_loaders.pdf.PDFPlumberLoader(... | [
6190,
12693,
388,
16378,
8231,
1074,
24317,
9360,
4971,
2703,
340,
9360,
430,
21577,
2930,
11612,
82,
627,
6190,
12693,
388,
16378,
1087,
5375,
6349,
261,
9360,
4971,
2703,
340,
9360,
430,
5829,
11612,
6349,
261,
311,
2865,
11612,
3626,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-25 | Reddit posts loader.
document_loaders.roam.RoamLoader(path)
Loader that loads Roam files from disk.
document_loaders.rst.UnstructuredRSTLoader(...)
Loader that uses unstructured to load RST files.
document_loaders.rtf.UnstructuredRTFLoader(...)
Loader that uses unstructured to load rtf files.
document_loaders.s3_direct... | [
61574,
8158,
16432,
627,
6190,
12693,
388,
31942,
309,
2056,
78,
309,
9360,
5698,
340,
9360,
430,
21577,
12093,
309,
3626,
505,
13668,
627,
6190,
12693,
388,
1783,
267,
10840,
52243,
49,
790,
9360,
73893,
9360,
430,
5829,
653,
52243,
31... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-26 | Loader that loads HTML to markdown using 2markdown.
document_loaders.toml.TomlLoader(source)
A TOML document loader that inherits from the BaseLoader class.
document_loaders.trello.TrelloLoader(client, ...)
Trello loader.
document_loaders.twitter.TwitterTweetLoader(...)
Twitter tweets loader.
document_loaders.unstructu... | [
9360,
430,
21577,
9492,
311,
51594,
1701,
220,
17,
61173,
627,
6190,
12693,
388,
74594,
75,
844,
316,
75,
9360,
12719,
340,
32,
83565,
43,
2246,
16432,
430,
76582,
505,
279,
5464,
9360,
538,
627,
6190,
12693,
388,
739,
75233,
844,
752... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-27 | Loads a DOCX with docx2txt and chunks at character level.
document_loaders.word_document.UnstructuredWordDocumentLoader(...)
Loader that uses unstructured to load word documents.
document_loaders.xml.UnstructuredXMLLoader(...)
Loader that uses unstructured to load XML files.
document_loaders.youtube.GoogleApiYoutubeLoa... | [
79617,
264,
61455,
55,
449,
4733,
87,
17,
8754,
323,
27855,
520,
3752,
2237,
627,
6190,
12693,
388,
23397,
27326,
10840,
52243,
11116,
7676,
9360,
73893,
9360,
430,
5829,
653,
52243,
311,
2865,
3492,
9477,
627,
6190,
12693,
388,
9205,
1... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-28 | langchain.document_transformers: Document Transformers¶
Transform documents
Classes¶
document_transformers.EmbeddingsRedundantFilter
Filter that drops redundant documents by comparing their embeddings.
Functions¶
document_transformers.get_stateful_documents(...)
Convert a list of documents to a list of documents with s... | [
5317,
8995,
17926,
18956,
388,
25,
12051,
81632,
55609,
198,
9140,
9477,
198,
20678,
55609,
198,
6190,
18956,
388,
58955,
25624,
6161,
1263,
519,
5750,
198,
5750,
430,
21701,
48832,
9477,
555,
27393,
872,
71647,
627,
26272,
55609,
198,
61... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-29 | Wrapper around sentence_transformers embedding models.
embeddings.huggingface_hub.HuggingFaceHubEmbeddings
Wrapper around HuggingFaceHub embedding models.
embeddings.jina.JinaEmbeddings
Create a new model by parsing and validating input data from keyword arguments.
embeddings.llamacpp.LlamaCppEmbeddings
Wrapper around ... | [
11803,
2212,
11914,
18956,
388,
40188,
4211,
627,
12529,
25624,
870,
36368,
1594,
95096,
3924,
36368,
16680,
19876,
26566,
25624,
198,
11803,
2212,
473,
36368,
16680,
19876,
40188,
4211,
627,
12529,
25624,
1190,
2259,
3587,
2259,
26566,
25624... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-30 | Use tenacity to retry the embedding call.
embeddings.google_palm.embed_with_retry(...)
Use tenacity to retry the completion call.
embeddings.minimax.embed_with_retry(...)
Use tenacity to retry the completion call.
embeddings.openai.embed_with_retry(...)
Use tenacity to retry the embedding call.
embeddings.self_hosted_h... | [
10464,
5899,
4107,
311,
23515,
279,
40188,
1650,
627,
12529,
25624,
5831,
623,
7828,
41541,
6753,
63845,
73893,
10464,
5899,
4107,
311,
23515,
279,
9954,
1650,
627,
12529,
25624,
4456,
76209,
41541,
6753,
63845,
73893,
10464,
5899,
4107,
31... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-31 | evaluation.comparison.eval_chain.PairwiseStringResultOutputParser
A parser for the output of the PairwiseStringEvalChain.
evaluation.criteria.eval_chain.CriteriaEvalChain
LLM Chain for evaluating runs against criteria.
evaluation.criteria.eval_chain.CriteriaResultOutputParser
A parser for the output of the CriteriaEval... | [
75114,
916,
36642,
32810,
31683,
1087,
1334,
4583,
707,
2122,
5207,
6707,
198,
32,
6871,
369,
279,
2612,
315,
279,
27086,
4583,
707,
55569,
19368,
627,
75114,
90307,
32810,
31683,
93689,
55569,
19368,
198,
4178,
44,
29625,
369,
38663,
864... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-32 | Get an eval chain for grading a model's response against a map of criteria.
evaluation.run_evaluators.implementations.get_qa_evaluator(llm, *)
Get an eval chain that compares response against ground truth.
evaluation.run_evaluators.implementations.get_trajectory_evaluator(...)
Get an eval chain for grading a model's re... | [
1991,
459,
5720,
8957,
369,
66288,
264,
1646,
596,
2077,
2403,
264,
2472,
315,
13186,
627,
75114,
7789,
22001,
84,
3046,
12322,
2833,
811,
673,
9153,
64,
22001,
46262,
36621,
76,
11,
4194,
39060,
1991,
459,
5720,
8957,
430,
43565,
2077,... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-33 | A character with memory and innate characteristics.
experimental.generative_agents.memory.GenerativeAgentMemory
Create a new model by parsing and validating input data from keyword arguments.
experimental.llms.jsonformer_decoder.JsonFormer
Create a new model by parsing and validating input data from keyword arguments.
... | [
32,
3752,
449,
5044,
323,
65070,
17910,
627,
87803,
1326,
75989,
77447,
37711,
1246,
75989,
17230,
10869,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
87803,
60098,
1026,
4421,
35627,
50943,
13874,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-34 | Create a new model by parsing and validating input data from keyword arguments.
Functions¶
experimental.autonomous_agents.autogpt.output_parser.preprocess_json_input(...)
Preprocesses a string to be parsed as json.
experimental.autonomous_agents.autogpt.prompt_generator.get_prompt(tools)
This function generates a promp... | [
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
26272,
55609,
198,
87803,
32155,
30946,
77447,
32155,
540,
418,
13718,
19024,
6357,
4734,
9643,
6022,
73893,
4808,
4734,
288,
264,
925,
311,
387,
16051,
439,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-35 | Get colored text.
input.print_text(text[, color, end, file])
Print text with highlighting and no end characters.
langchain.llms: LLMs¶
Wrappers on top of large language models APIs.
Classes¶
llms.ai21.AI21
Wrapper around AI21 large language models.
llms.ai21.AI21PenaltyData
Parameters for AI21 penalty data.
llms.aleph_... | [
1991,
28296,
1495,
627,
1379,
2263,
4424,
7383,
38372,
4194,
3506,
11,
4194,
408,
11,
4194,
1213,
2608,
9171,
1495,
449,
39686,
323,
912,
842,
5885,
627,
5317,
8995,
60098,
1026,
25,
445,
11237,
82,
55609,
198,
36314,
28921,
389,
1948,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-36 | llms.beam.Beam
Wrapper around Beam API for gpt2 large language model.
llms.bedrock.Bedrock
LLM provider to invoke Bedrock models.
llms.cerebriumai.CerebriumAI
Wrapper around CerebriumAI large language models.
llms.clarifai.Clarifai
Wrapper around Clarifai's large language models.
llms.cohere.Cohere
Wrapper around Coher... | [
657,
1026,
8809,
309,
1823,
14922,
198,
11803,
2212,
51230,
5446,
369,
342,
418,
17,
3544,
4221,
1646,
627,
657,
1026,
91446,
21161,
1823,
291,
21161,
198,
4178,
44,
9287,
311,
20466,
13394,
21161,
4211,
627,
657,
1026,
522,
486,
65,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-37 | llms.llamacpp.LlamaCpp
Wrapper around the llama.cpp model.
llms.manifest.ManifestWrapper
Wrapper around HazyResearch's Manifest library.
llms.modal.Modal
Wrapper around Modal large language models.
llms.mosaicml.MosaicML
Wrapper around MosaicML's LLM inference service.
llms.nlpcloud.NLPCloud
Wrapper around NLPCloud lar... | [
657,
1026,
60098,
33707,
604,
1236,
81101,
10091,
198,
11803,
2212,
279,
94776,
7356,
1646,
627,
657,
1026,
21697,
7107,
73372,
11803,
198,
11803,
2212,
473,
13933,
28528,
596,
40461,
6875,
627,
657,
1026,
29605,
24002,
278,
198,
11803,
2... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-38 | Wrapper around RWKV language models.
llms.sagemaker_endpoint.ContentHandlerBase()
A handler class to transform input from LLM to a format that SageMaker endpoint expects.
llms.sagemaker_endpoint.LLMContentHandler()
Content handler for LLM class.
llms.sagemaker_endpoint.SagemakerEndpoint
Wrapper around custom Sagemaker ... | [
11803,
2212,
47306,
83807,
4221,
4211,
627,
657,
1026,
516,
15003,
4506,
37799,
12900,
3126,
4066,
746,
32,
7158,
538,
311,
5276,
1988,
505,
445,
11237,
311,
264,
3645,
430,
54384,
34359,
15233,
25283,
627,
657,
1026,
516,
15003,
4506,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-39 | llms.google_palm.generate_with_retry(llm, ...)
Use tenacity to retry the completion call.
llms.loading.load_llm(file)
Load LLM from file.
llms.loading.load_llm_from_config(config)
Load LLM from Config Dict.
llms.openai.completion_with_retry(llm, **kwargs)
Use tenacity to retry the completion call.
llms.openai.update_to... | [
657,
1026,
5831,
623,
7828,
22793,
6753,
63845,
36621,
76,
11,
4194,
32318,
10464,
5899,
4107,
311,
23515,
279,
9954,
1650,
627,
657,
1026,
25908,
5214,
44095,
76,
4971,
340,
6003,
445,
11237,
505,
1052,
627,
657,
1026,
25908,
5214,
440... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-40 | Classes¶
memory.buffer.ConversationBufferMemory
Buffer for storing conversation memory.
memory.buffer.ConversationStringBufferMemory
Buffer for storing conversation memory.
memory.buffer_window.ConversationBufferWindowMemory
Buffer for storing conversation memory.
memory.chat_memory.BaseChatMemory
Create a new model by... | [
20678,
55609,
198,
17717,
25472,
4906,
23124,
4187,
10869,
198,
4187,
369,
28672,
10652,
5044,
627,
17717,
25472,
4906,
23124,
707,
4187,
10869,
198,
4187,
369,
28672,
10652,
5044,
627,
17717,
25472,
12856,
4906,
23124,
4187,
4362,
10869,
1... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-41 | Class for combining multiple memories' data together.
memory.entity.BaseEntityStore
Create a new model by parsing and validating input data from keyword arguments.
memory.entity.ConversationEntityMemory
Entity extractor & summarizer memory.
memory.entity.InMemoryEntityStore
Basic in-memory entity store.
memory.entity.R... | [
1999,
369,
35271,
5361,
19459,
6,
828,
3871,
627,
17717,
9926,
13316,
3106,
6221,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
17717,
9926,
4906,
23124,
3106,
10869,
198,
3106,
68572,
612,
29385,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-42 | output_parsers.enum.EnumOutputParser
Create a new model by parsing and validating input data from keyword arguments.
output_parsers.fix.OutputFixingParser
Wraps a parser and tries to fix parsing errors.
output_parsers.list.CommaSeparatedListOutputParser
Parse out comma separated lists.
output_parsers.list.ListOutputPar... | [
3081,
623,
41588,
71283,
44325,
5207,
6707,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
3081,
623,
41588,
68885,
35346,
27048,
287,
6707,
198,
36314,
2690,
264,
6871,
323,
16696,
311,
5155,
23115,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-43 | output_parsers.structured.StructuredOutputParser
Create a new model by parsing and validating input data from keyword arguments.
Functions¶
output_parsers.json.parse_and_check_json_markdown(...)
Parse a JSON string from a Markdown string and check that it contains the expected keys.
output_parsers.json.parse_json_markd... | [
3081,
623,
41588,
13,
52243,
52545,
3149,
5207,
6707,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
26272,
55609,
198,
3081,
623,
41588,
4421,
4736,
8543,
7348,
9643,
19460,
2996,
73893,
14802,
264,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-44 | Create a new model by parsing and validating input data from keyword arguments.
prompts.example_selector.base.BaseExampleSelector()
Interface for selecting examples to include in prompts.
prompts.example_selector.length_based.LengthBasedExampleSelector
Select examples based on length.
prompts.example_selector.ngram_ove... | [
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
25475,
13044,
7880,
29990,
9105,
13316,
13617,
6001,
746,
5160,
369,
27397,
10507,
311,
2997,
304,
52032,
627,
25475,
13044,
7880,
29990,
1996,
67779,
6976,
2... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-45 | Lightweight wrapper around requests library, with async support.
Classes¶
requests.Requests
Wrapper around requests to handle auth and async.
requests.TextRequestsWrapper
Lightweight wrapper around requests library.
langchain.retrievers: Retrievers¶
Classes¶
retrievers.arxiv.ArxivRetriever
It is effectively a wrapper f... | [
14235,
4870,
13564,
2212,
7540,
6875,
11,
449,
3393,
1862,
627,
20678,
55609,
198,
37342,
9856,
82,
198,
11803,
2212,
7540,
311,
3790,
4259,
323,
3393,
627,
37342,
2021,
36395,
11803,
198,
14235,
4870,
13564,
2212,
7540,
6875,
627,
5317,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-46 | Create a new model by parsing and validating input data from keyword arguments.
retrievers.document_compressors.embeddings_filter.EmbeddingsFilter
Create a new model by parsing and validating input data from keyword arguments.
retrievers.elastic_search_bm25.ElasticSearchBM25Retriever(...)
Wrapper around Elasticsearch u... | [
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
265,
9104,
3078,
17926,
88945,
1105,
41541,
25624,
8901,
58955,
25624,
5750,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-47 | Question-answering with sources over an LlamaIndex graph data structure.
retrievers.llama_index.LlamaIndexRetriever
Question-answering with sources over an LlamaIndex data structure.
retrievers.merger_retriever.MergerRetriever(...)
This class merges the results of multiple retrievers.
retrievers.metal.MetalRetriever(cl... | [
14924,
12,
598,
86,
4776,
449,
8336,
927,
459,
445,
81101,
1581,
4876,
828,
6070,
627,
265,
9104,
3078,
60098,
3105,
3644,
1236,
81101,
1581,
12289,
462,
2099,
198,
14924,
12,
598,
86,
4776,
449,
8336,
927,
459,
445,
81101,
1581,
828,... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-48 | retrievers.self_query.pinecone.PineconeTranslator()
Logic for converting internal query language elements to valid filters.
retrievers.self_query.qdrant.QdrantTranslator(...)
Logic for converting internal query language elements to valid filters.
retrievers.self_query.weaviate.WeaviateTranslator()
Logic for converting ... | [
265,
9104,
3078,
28248,
5857,
558,
483,
59182,
1087,
483,
59182,
52753,
746,
27849,
369,
34537,
5419,
3319,
4221,
5540,
311,
2764,
13711,
627,
265,
9104,
3078,
28248,
5857,
11608,
3696,
519,
10208,
3696,
519,
52753,
73893,
27849,
369,
345... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-49 | retrievers.milvus.MilvusRetreiver(*args, ...)
Deprecated MilvusRetreiver.
retrievers.pinecone_hybrid_search.create_index(...)
Create a Pinecone index from a list of contexts.
retrievers.pinecone_hybrid_search.hash_text(text)
Hash a text using SHA256.
retrievers.self_query.myscale.DEFAULT_COMPOSER(op_name)
Default compo... | [
265,
9104,
3078,
749,
321,
85,
355,
1345,
321,
85,
355,
12289,
265,
1553,
4163,
2164,
11,
4194,
32318,
52444,
10357,
85,
355,
12289,
265,
1553,
627,
265,
9104,
3078,
558,
483,
59182,
1552,
94490,
10947,
2581,
3644,
73893,
4110,
264,
4... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-50 | schema.FunctionMessage
Create a new model by parsing and validating input data from keyword arguments.
schema.Generation
Output of a single generation.
schema.HumanMessage
Type of message that is spoken by the human.
schema.LLMResult
Class that contains all relevant information for an LLM Result.
schema.NoOpOutputParse... | [
17801,
31647,
2097,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
17801,
67616,
198,
5207,
315,
264,
3254,
9659,
627,
17801,
3924,
7282,
2097,
198,
941,
315,
1984,
430,
374,
22066,
555,
279,
3823,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-51 | text_splitter.LineType
Line type as typed dict.
text_splitter.MarkdownTextSplitter(**kwargs)
Attempts to split the text along Markdown-formatted headings.
text_splitter.NLTKTextSplitter([separator])
Implementation of splitting text that looks at sentences using NLTK.
text_splitter.PythonCodeTextSplitter(**kwargs)
Attem... | [
1342,
17489,
466,
16825,
941,
198,
2519,
955,
439,
33069,
6587,
627,
1342,
17489,
466,
76988,
2996,
1199,
20805,
466,
22551,
9872,
340,
82617,
311,
6859,
279,
1495,
3235,
74292,
8627,
12400,
70552,
627,
1342,
17489,
466,
2112,
43,
16155,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-52 | tools.base.BaseTool
Interface LangChain tools must implement.
tools.base.SchemaAnnotationError
Raised when 'args_schema' is missing or has an incorrect type annotation.
tools.base.StructuredTool
Tool that can operate on any number of inputs.
tools.base.Tool
Tool that takes in function or coroutine directly.
tools.base.... | [
16297,
9105,
13316,
7896,
198,
5160,
23272,
19368,
7526,
2011,
4305,
627,
16297,
9105,
21786,
20290,
1480,
198,
96014,
994,
364,
2164,
26443,
6,
374,
7554,
477,
706,
459,
15465,
955,
21917,
627,
16297,
9105,
52545,
3149,
7896,
198,
7896,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-53 | tools.file_management.list_dir.DirectoryListingInput
Input for ListDirectoryTool.
tools.file_management.list_dir.ListDirectoryTool
Create a new model by parsing and validating input data from keyword arguments.
tools.file_management.move.FileMoveInput
Input for MoveFileTool.
tools.file_management.move.MoveFileTool
Crea... | [
16297,
9914,
46463,
6556,
4432,
55207,
53664,
2566,
198,
2566,
369,
1796,
9494,
7896,
627,
16297,
9914,
46463,
6556,
4432,
5937,
9494,
7896,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
16297,
9914,... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-54 | Enumerator of Resources to search.
tools.gmail.search.SearchArgsSchema
Create a new model by parsing and validating input data from keyword arguments.
tools.gmail.send_message.GmailSendMessage
Create a new model by parsing and validating input data from keyword arguments.
tools.gmail.send_message.SendMessageSchema
Crea... | [
10679,
315,
16607,
311,
2778,
627,
16297,
73054,
9472,
33003,
4209,
8802,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
16297,
73054,
5331,
6598,
1246,
3796,
81963,
198,
4110,
264,
502,
1646,
555,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-55 | Create a new model by parsing and validating input data from keyword arguments.
tools.office365.create_draft_message.CreateDraftMessageSchema
Create a new model by parsing and validating input data from keyword arguments.
tools.office365.create_draft_message.O365CreateDraftMessage
Create a new model by parsing and vali... | [
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
16297,
100193,
12676,
2581,
92439,
6598,
7399,
51186,
2097,
8802,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
16297,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-56 | Base class for browser tools.
tools.playwright.click.ClickTool
Create a new model by parsing and validating input data from keyword arguments.
tools.playwright.click.ClickToolInput
Input for ClickTool.
tools.playwright.current_page.CurrentWebPageTool
Create a new model by parsing and validating input data from keyword ... | [
4066,
538,
369,
7074,
7526,
627,
16297,
13269,
53852,
14798,
11566,
7896,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69772,
1988,
828,
505,
16570,
6105,
627,
16297,
13269,
53852,
14798,
11566,
7896,
2566,
198,
2566,
369,
9369,
7896,
627,... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-57 | A tool for running python code in a REPL.
tools.python.tool.PythonREPLTool
A tool for running python code in a REPL.
tools.requests.tool.BaseRequestsTool
Base class for requests tools.
tools.requests.tool.RequestsDeleteTool
Tool for making a DELETE request to an API endpoint.
tools.requests.tool.RequestsGetTool
Tool fo... | [
32,
5507,
369,
4401,
10344,
2082,
304,
264,
93680,
627,
16297,
44293,
21966,
1087,
27993,
793,
2989,
7896,
198,
32,
5507,
369,
4401,
10344,
2082,
304,
264,
93680,
627,
16297,
68771,
21966,
13316,
36395,
7896,
198,
4066,
538,
369,
7540,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-58 | Tool for querying a Spark SQL.
tools.sql_database.tool.BaseSQLDatabaseTool
Base tool for interacting with a SQL database.
tools.sql_database.tool.InfoSQLDatabaseTool
Tool for getting metadata about a SQL database.
tools.sql_database.tool.ListSQLDatabaseTool
Tool for getting tables names.
tools.sql_database.tool.QuerySQ... | [
7896,
369,
82198,
264,
27565,
8029,
627,
16297,
10251,
28441,
21966,
13316,
6827,
6116,
7896,
198,
4066,
5507,
369,
45830,
449,
264,
8029,
4729,
627,
16297,
10251,
28441,
21966,
20736,
6827,
6116,
7896,
198,
7896,
369,
3794,
11408,
922,
2... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-59 | Download audio from url to local.
tools.base.create_schema_from_function(...)
Create a pydantic schema from a function's signature.
tools.base.tool(*args[, return_direct, ...])
Make tools out of functions, can be used with or without arguments.
tools.convert_to_openai.format_tool_to_openai_function(tool)
Format tool in... | [
11631,
7855,
505,
2576,
311,
2254,
627,
16297,
9105,
2581,
26443,
5791,
9353,
73893,
4110,
264,
4611,
67,
8322,
11036,
505,
264,
734,
596,
12223,
627,
16297,
9105,
21966,
4163,
2164,
38372,
4194,
693,
33971,
11,
4194,
1131,
2608,
8238,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-60 | tools.plugin.marshal_spec(txt)
Convert the yaml or json serialized spec to a dict.
tools.python.tool.sanitize_input(query)
Sanitize input to the python REPL.
tools.steamship_image_generation.utils.make_image_public(...)
Upload a block to a signed URL and return the public URL.
langchain.utilities: Utilities¶
General ut... | [
16297,
28067,
749,
29523,
13908,
27174,
340,
12281,
279,
33346,
477,
3024,
34016,
1424,
311,
264,
6587,
627,
16297,
44293,
21966,
516,
59752,
6022,
10974,
340,
24661,
27406,
1988,
311,
279,
10344,
93680,
627,
16297,
1258,
14922,
5383,
5060,... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-61 | utilities.pupmed.PubMedAPIWrapper
Wrapper around PubMed API.
utilities.python.PythonREPL
Simulates a standalone Python REPL.
utilities.scenexplain.SceneXplainAPIWrapper
Wrapper for SceneXplain API.
utilities.searx_search.SearxResults(data)
Dict like wrapper around search api results.
utilities.searx_search.SearxSearchW... | [
62234,
558,
455,
2106,
1087,
392,
13613,
7227,
11803,
198,
11803,
2212,
53768,
5446,
627,
62234,
44293,
1087,
27993,
793,
2989,
198,
14354,
24031,
264,
44488,
13325,
93680,
627,
62234,
7840,
268,
95444,
37127,
55,
21435,
7227,
11803,
198,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-62 | utils.mock_now(dt_value)
Context manager for mocking out datetime.now() in unit tests. Example: with mock_now(datetime.datetime(2011, 2, 3, 10, 11)): assert datetime.datetime.now() == datetime.datetime(2011, 2, 3, 10, 11).
utils.raise_for_status_with_text(response)
Raise an error with the response text.
utils.strin... | [
6159,
15418,
21480,
25726,
3220,
340,
2014,
6783,
369,
67583,
704,
9050,
10930,
368,
304,
5089,
7177,
13,
13688,
25,
449,
8018,
21480,
46344,
20296,
7,
679,
16,
11,
220,
17,
11,
220,
18,
11,
220,
605,
11,
220,
806,
37815,
257,
2105,... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-63 | vectorstores.chroma.Chroma([...])
Wrapper around ChromaDB embeddings platform.
vectorstores.clarifai.Clarifai([user_id, ...])
Wrapper around Clarifai AI platform's vector store.
vectorstores.clickhouse.Clickhouse(embedding)
Wrapper around ClickHouse vector database
vectorstores.clickhouse.ClickhouseSettings
ClickHouse ... | [
3295,
44569,
5442,
58084,
6487,
58084,
83566,
2608,
11803,
2212,
35318,
64,
3590,
71647,
5452,
627,
3295,
44569,
6894,
277,
333,
2192,
732,
14115,
333,
2192,
2625,
882,
851,
11,
4194,
1131,
2608,
11803,
2212,
31181,
333,
2192,
15592,
5452... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-64 | Wrapper around MyScale vector database
vectorstores.myscale.MyScaleSettings
MyScale Client Configuration
vectorstores.opensearch_vector_search.OpenSearchVectorSearch(...)
Wrapper around OpenSearch as a vector database.
vectorstores.pinecone.Pinecone(index, ...[, ...])
Wrapper around Pinecone vector database.
vectorstor... | [
11803,
2212,
3092,
7092,
4724,
4729,
198,
3295,
44569,
749,
84009,
28152,
7092,
6214,
198,
5159,
7092,
8589,
12499,
198,
3295,
44569,
12298,
1137,
1132,
12526,
10947,
13250,
6014,
3866,
6014,
73893,
11803,
2212,
5377,
6014,
439,
264,
4724,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-65 | Wrapper around StarRocks vector database
vectorstores.starrocks.StarRocksSettings
StarRocks Client Configuration
vectorstores.supabase.SupabaseVectorStore(...)
VectorStore for a Supabase postgres database.
vectorstores.tair.Tair(embedding_function, ...)
Wrapper around Tair Vector store.
vectorstores.tigris.Tigris(clien... | [
11803,
2212,
7834,
49,
26246,
4724,
4729,
198,
3295,
44569,
53682,
299,
14895,
7914,
277,
49,
26246,
6214,
198,
12988,
49,
26246,
8589,
12499,
198,
3295,
44569,
39777,
370,
521,
39836,
370,
521,
3866,
6221,
73893,
3866,
6221,
369,
264,
... | https://langchain.readthedocs.io/en/latest/api_reference.html |
20e9b0d32d50-66 | Check if a string has multiple substrings.
vectorstores.utils.maximal_marginal_relevance(...)
Calculate maximal marginal relevance. | [
4061,
422,
264,
925,
706,
5361,
16146,
826,
627,
3295,
44569,
8576,
6817,
2931,
722,
867,
992,
1311,
33194,
73893,
48966,
54229,
32873,
41961,
13
] | https://langchain.readthedocs.io/en/latest/api_reference.html |
efe6d5187693-0 | langchain.experimental.plan_and_execute.agent_executor.PlanAndExecute¶
class langchain.experimental.plan_and_execute.agent_executor.PlanAndExecute(*, memory: Optional[BaseMemory] = None, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = ... | [
5317,
8995,
88547,
46942,
8543,
45429,
45249,
82307,
1087,
10946,
3112,
17617,
55609,
198,
1058,
8859,
8995,
88547,
46942,
8543,
45429,
45249,
82307,
1087,
10946,
3112,
17617,
4163,
11,
5044,
25,
12536,
58,
4066,
10869,
60,
284,
2290,
11,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.agent_executor.PlanAndExecute.html |
efe6d5187693-1 | for the full catalog.
param output_key: str = 'output'¶
param planner: langchain.experimental.plan_and_execute.planners.base.BasePlanner [Required]¶
param step_container: langchain.experimental.plan_and_execute.schema.BaseStepContainer [Optional]¶
param tags: Optional[List[str]] = None¶
Optional list of tags associated... | [
2000,
279,
2539,
16808,
627,
913,
2612,
3173,
25,
610,
284,
364,
3081,
6,
55609,
198,
913,
50811,
25,
8859,
8995,
88547,
46942,
8543,
45429,
8022,
24960,
9105,
13316,
2169,
4992,
510,
8327,
60,
55609,
198,
913,
3094,
16226,
25,
8859,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.agent_executor.PlanAndExecute.html |
efe6d5187693-2 | include_run_info – Whether to include run info in the response. Defaults
to False.
async acall(inputs: Union[Dict[str, Any], Any], return_only_outputs: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, *, tags: Optional[List[str]] = None, include_run_info: bool = False) → ... | [
1012,
14334,
3186,
1389,
13440,
311,
2997,
1629,
3630,
304,
279,
2077,
13,
37090,
198,
998,
3641,
627,
7847,
1645,
543,
35099,
25,
9323,
58,
13755,
17752,
11,
5884,
1145,
5884,
1145,
471,
18917,
36289,
25,
1845,
284,
3641,
11,
27777,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.agent_executor.PlanAndExecute.html |
efe6d5187693-3 | Validate and prep inputs.
prep_outputs(inputs: Dict[str, str], outputs: Dict[str, str], return_only_outputs: bool = False) → Dict[str, str]¶
Validate and prep outputs.
validator raise_deprecation » all fields¶
Raise deprecation warning if callback_manager is used.
run(*args: Any, callbacks: Optional[Union[List[BaseCa... | [
18409,
323,
22033,
11374,
627,
72874,
36289,
35099,
25,
30226,
17752,
11,
610,
1145,
16674,
25,
30226,
17752,
11,
610,
1145,
471,
18917,
36289,
25,
1845,
284,
3641,
8,
11651,
30226,
17752,
11,
610,
60,
55609,
198,
18409,
323,
22033,
166... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.agent_executor.PlanAndExecute.html |
efe6d5187693-4 | Return whether or not the class is serializable.
property output_keys: List[str]¶
Output keys this chain expects.
model Config¶
Bases: object
Configuration for this pydantic object.
arbitrary_types_allowed = True¶ | [
5715,
3508,
477,
539,
279,
538,
374,
6275,
8499,
627,
3784,
2612,
12919,
25,
1796,
17752,
60,
55609,
198,
5207,
7039,
420,
8957,
25283,
627,
2590,
5649,
55609,
198,
33,
2315,
25,
1665,
198,
7843,
369,
420,
4611,
67,
8322,
1665,
627,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.agent_executor.PlanAndExecute.html |
d5a20ae1d7c7-0 | langchain.experimental.autonomous_agents.baby_agi.baby_agi.BabyAGI¶
class langchain.experimental.autonomous_agents.baby_agi.baby_agi.BabyAGI(*, memory: Optional[BaseMemory] = None, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, ... | [
5317,
8995,
88547,
32155,
30946,
77447,
960,
6243,
21233,
72,
960,
6243,
21233,
72,
1823,
6243,
1929,
40,
55609,
198,
1058,
8859,
8995,
88547,
32155,
30946,
77447,
960,
6243,
21233,
72,
960,
6243,
21233,
72,
1823,
6243,
1929,
40,
4163,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.baby_agi.BabyAGI.html |
d5a20ae1d7c7-1 | them along in the chain. At the end, it saves any returned variables.
There are many different types of memory - please see memory docs
for the full catalog.
param tags: Optional[List[str]] = None¶
Optional list of tags associated with the chain. Defaults to None
These tags will be associated with each call to this cha... | [
49818,
3235,
304,
279,
8957,
13,
2468,
279,
842,
11,
433,
27024,
904,
6052,
7482,
627,
3947,
527,
1690,
2204,
4595,
315,
5044,
482,
4587,
1518,
5044,
27437,
198,
2000,
279,
2539,
16808,
627,
913,
9681,
25,
12536,
53094,
17752,
5163,
2... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.baby_agi.BabyAGI.html |
d5a20ae1d7c7-2 | use the callbacks provided to the chain.
include_run_info – Whether to include run info in the response. Defaults
to False.
async acall(inputs: Union[Dict[str, Any], Any], return_only_outputs: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, *, tags: Optional[List[str]] =... | [
817,
279,
27777,
3984,
311,
279,
8957,
627,
1012,
14334,
3186,
1389,
13440,
311,
2997,
1629,
3630,
304,
279,
2077,
13,
37090,
198,
998,
3641,
627,
7847,
1645,
543,
35099,
25,
9323,
58,
13755,
17752,
11,
5884,
1145,
5884,
1145,
471,
18... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.baby_agi.BabyAGI.html |
d5a20ae1d7c7-3 | Execute a task.
classmethod from_llm(llm: BaseLanguageModel, vectorstore: VectorStore, verbose: bool = False, task_execution_chain: Optional[Chain] = None, **kwargs: Dict[str, Any]) → BabyAGI[source]¶
Initialize the BabyAGI Controller.
get_next_task(result: str, task_description: str, objective: str) → List[Dict][sourc... | [
17617,
264,
3465,
627,
27853,
505,
44095,
76,
36621,
76,
25,
5464,
14126,
1747,
11,
4724,
4412,
25,
4290,
6221,
11,
14008,
25,
1845,
284,
3641,
11,
3465,
62048,
31683,
25,
12536,
58,
19368,
60,
284,
2290,
11,
3146,
9872,
25,
30226,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.baby_agi.BabyAGI.html |
d5a20ae1d7c7-4 | This allows users to pass in None as verbose to access the global setting.
to_json() → Union[SerializedConstructor, SerializedNotImplemented]¶
to_json_not_implemented() → SerializedNotImplemented¶
property input_keys: List[str]¶
Input keys this chain expects.
property lc_attributes: Dict¶
Return a list of attribute nam... | [
2028,
6276,
3932,
311,
1522,
304,
2290,
439,
14008,
311,
2680,
279,
3728,
6376,
627,
998,
9643,
368,
11651,
9323,
58,
78621,
13591,
11,
92572,
2688,
18804,
60,
55609,
198,
998,
9643,
8072,
18377,
14565,
368,
11651,
92572,
2688,
18804,
5... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.baby_agi.BabyAGI.html |
93b92e1120ef-0 | langchain.experimental.llms.jsonformer_decoder.import_jsonformer¶
langchain.experimental.llms.jsonformer_decoder.import_jsonformer() → jsonformer[source]¶
Lazily import jsonformer. | [
5317,
8995,
88547,
60098,
1026,
4421,
35627,
50943,
35997,
9643,
35627,
55609,
198,
5317,
8995,
88547,
60098,
1026,
4421,
35627,
50943,
35997,
9643,
35627,
368,
11651,
3024,
35627,
76747,
60,
55609,
198,
43,
1394,
1570,
1179,
3024,
35627,
1... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.llms.jsonformer_decoder.import_jsonformer.html |
fdfc46867253-0 | langchain.experimental.plan_and_execute.schema.StepResponse¶
class langchain.experimental.plan_and_execute.schema.StepResponse(*, response: str)[source]¶
Bases: BaseModel
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a v... | [
5317,
8995,
88547,
46942,
8543,
45429,
31992,
69502,
2647,
55609,
198,
1058,
8859,
8995,
88547,
46942,
8543,
45429,
31992,
69502,
2647,
4163,
11,
2077,
25,
610,
6758,
2484,
60,
55609,
198,
33,
2315,
25,
65705,
198,
4110,
264,
502,
1646,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.schema.StepResponse.html |
0d27f21fa852-0 | langchain.experimental.generative_agents.memory.GenerativeAgentMemory¶
class langchain.experimental.generative_agents.memory.GenerativeAgentMemory(*, llm: BaseLanguageModel, memory_retriever: TimeWeightedVectorStoreRetriever, verbose: bool = False, reflection_threshold: Optional[float] = None, current_plan: List[str] =... | [
5317,
8995,
88547,
1326,
75989,
77447,
37711,
1246,
75989,
17230,
10869,
55609,
198,
1058,
8859,
8995,
88547,
1326,
75989,
77447,
37711,
1246,
75989,
17230,
10869,
4163,
11,
9507,
76,
25,
5464,
14126,
1747,
11,
5044,
1311,
9104,
424,
25,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.generative_agents.memory.GenerativeAgentMemory.html |
0d27f21fa852-1 | The retriever to fetch related memories.
param most_recent_memories_key: str = 'most_recent_memories'¶
param most_recent_memories_token_key: str = 'recent_memories_token'¶
param now_key: str = 'now'¶
param queries_key: str = 'queries'¶
param reflecting: bool = False¶
param reflection_threshold: Optional[float] = None¶
... | [
791,
10992,
424,
311,
7963,
5552,
19459,
627,
913,
1455,
63461,
13273,
2490,
3173,
25,
610,
284,
364,
3646,
63461,
13273,
2490,
6,
55609,
198,
913,
1455,
63461,
13273,
2490,
6594,
3173,
25,
610,
284,
364,
47743,
13273,
2490,
6594,
6,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.generative_agents.memory.GenerativeAgentMemory.html |
0d27f21fa852-2 | Save the context of this model run to memory.
to_json() → Union[SerializedConstructor, SerializedNotImplemented]¶
to_json_not_implemented() → SerializedNotImplemented¶
property lc_attributes: Dict¶
Return a list of attribute names that should be included in the
serialized kwargs. These attributes must be accepted by th... | [
8960,
279,
2317,
315,
420,
1646,
1629,
311,
5044,
627,
998,
9643,
368,
11651,
9323,
58,
78621,
13591,
11,
92572,
2688,
18804,
60,
55609,
198,
998,
9643,
8072,
18377,
14565,
368,
11651,
92572,
2688,
18804,
55609,
198,
3784,
37313,
18741,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.generative_agents.memory.GenerativeAgentMemory.html |
09fe64b1c7e5-0 | langchain.experimental.autonomous_agents.baby_agi.task_execution.TaskExecutionChain¶
class langchain.experimental.autonomous_agents.baby_agi.task_execution.TaskExecutionChain(*, memory: Optional[BaseMemory] = None, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Opti... | [
5317,
8995,
88547,
32155,
30946,
77447,
960,
6243,
21233,
72,
15384,
62048,
29358,
20912,
19368,
55609,
198,
1058,
8859,
8995,
88547,
32155,
30946,
77447,
960,
6243,
21233,
72,
15384,
62048,
29358,
20912,
19368,
4163,
11,
5044,
25,
12536,
5... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.task_execution.TaskExecutionChain.html |
09fe64b1c7e5-1 | There are many different types of memory - please see memory docs
for the full catalog.
param output_key: str = 'text'¶
param output_parser: BaseLLMOutputParser [Optional]¶
Output parser to use.
Defaults to one that takes the most likely string but does not change it
otherwise.
param prompt: BasePromptTemplate [Require... | [
3947,
527,
1690,
2204,
4595,
315,
5044,
482,
4587,
1518,
5044,
27437,
198,
2000,
279,
2539,
16808,
627,
913,
2612,
3173,
25,
610,
284,
364,
1342,
6,
55609,
198,
913,
2612,
19024,
25,
5464,
4178,
44,
5207,
6707,
510,
15669,
60,
55609,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.task_execution.TaskExecutionChain.html |
09fe64b1c7e5-2 | chain will be returned. Defaults to False.
callbacks – Callbacks to use for this chain run. If not provided, will
use the callbacks provided to the chain.
include_run_info – Whether to include run info in the response. Defaults
to False.
async aapply(input_list: List[Dict[str, Any]], callbacks: Optional[Union[List[Base... | [
8995,
690,
387,
6052,
13,
37090,
311,
3641,
627,
69411,
1389,
23499,
82,
311,
1005,
369,
420,
8957,
1629,
13,
1442,
539,
3984,
11,
690,
198,
817,
279,
27777,
3984,
311,
279,
8957,
627,
1012,
14334,
3186,
1389,
13440,
311,
2997,
1629,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.task_execution.TaskExecutionChain.html |
09fe64b1c7e5-3 | Generate LLM result from inputs.
apply(input_list: List[Dict[str, Any]], callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → List[Dict[str, str]]¶
Utilize the LLM generate method for speed gains.
apply_and_parse(input_list: List[Dict[str, Any]], callbacks: Optional[Union[List[BaseCallba... | [
32215,
445,
11237,
1121,
505,
11374,
627,
10492,
5498,
2062,
25,
1796,
58,
13755,
17752,
11,
5884,
21128,
27777,
25,
12536,
58,
33758,
53094,
58,
4066,
7646,
3126,
1145,
5464,
7646,
2087,
5163,
284,
2290,
8,
11651,
1796,
58,
13755,
1775... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.task_execution.TaskExecutionChain.html |
09fe64b1c7e5-4 | Create outputs from response.
dict(**kwargs: Any) → Dict¶
Return dictionary representation of chain.
classmethod from_llm(llm: BaseLanguageModel, verbose: bool = True) → LLMChain[source]¶
Get the response parser.
classmethod from_string(llm: BaseLanguageModel, template: str) → LLMChain¶
Create LLMChain from LLM and tem... | [
4110,
16674,
505,
2077,
627,
8644,
22551,
9872,
25,
5884,
8,
11651,
30226,
55609,
198,
5715,
11240,
13340,
315,
8957,
627,
27853,
505,
44095,
76,
36621,
76,
25,
5464,
14126,
1747,
11,
14008,
25,
1845,
284,
3082,
8,
11651,
445,
11237,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.task_execution.TaskExecutionChain.html |
09fe64b1c7e5-5 | Raise deprecation warning if callback_manager is used.
run(*args: Any, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, tags: Optional[List[str]] = None, **kwargs: Any) → str¶
Run the chain as text in, text out or multiple variables, text out.
save(file_path: Union[Path, str]) → None¶
... | [
94201,
409,
70693,
10163,
422,
4927,
12418,
374,
1511,
627,
6236,
4163,
2164,
25,
5884,
11,
27777,
25,
12536,
58,
33758,
53094,
58,
4066,
7646,
3126,
1145,
5464,
7646,
2087,
5163,
284,
2290,
11,
9681,
25,
12536,
53094,
17752,
5163,
284,... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.task_execution.TaskExecutionChain.html |
40b32f8aa961-0 | langchain.experimental.plan_and_execute.schema.Step¶
class langchain.experimental.plan_and_execute.schema.Step(*, value: str)[source]¶
Bases: BaseModel
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
param v... | [
5317,
8995,
88547,
46942,
8543,
45429,
31992,
69502,
55609,
198,
1058,
8859,
8995,
88547,
46942,
8543,
45429,
31992,
69502,
4163,
11,
907,
25,
610,
6758,
2484,
60,
55609,
198,
33,
2315,
25,
65705,
198,
4110,
264,
502,
1646,
555,
23115,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.schema.Step.html |
cc52df5c7075-0 | langchain.experimental.plan_and_execute.schema.BaseStepContainer¶
class langchain.experimental.plan_and_execute.schema.BaseStepContainer[source]¶
Bases: BaseModel
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid mod... | [
5317,
8995,
88547,
46942,
8543,
45429,
31992,
13316,
8468,
4603,
55609,
198,
1058,
8859,
8995,
88547,
46942,
8543,
45429,
31992,
13316,
8468,
4603,
76747,
60,
55609,
198,
33,
2315,
25,
65705,
198,
4110,
264,
502,
1646,
555,
23115,
323,
69... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.schema.BaseStepContainer.html |
7787d30f75a1-0 | langchain.experimental.generative_agents.generative_agent.GenerativeAgent¶
class langchain.experimental.generative_agents.generative_agent.GenerativeAgent(*, name: str, age: Optional[int] = None, traits: str = 'N/A', status: str, memory: GenerativeAgentMemory, llm: BaseLanguageModel, verbose: bool = False, summary: str... | [
5317,
8995,
88547,
1326,
75989,
77447,
1326,
75989,
26814,
1246,
75989,
17230,
55609,
198,
1058,
8859,
8995,
88547,
1326,
75989,
77447,
1326,
75989,
26814,
1246,
75989,
17230,
4163,
11,
836,
25,
610,
11,
4325,
25,
12536,
19155,
60,
284,
2... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.generative_agents.generative_agent.GenerativeAgent.html |
7787d30f75a1-1 | Permanent traits to ascribe to the character.
param verbose: bool = False¶
chain(prompt: PromptTemplate) → LLMChain[source]¶
generate_dialogue_response(observation: str, now: Optional[datetime] = None) → Tuple[bool, str][source]¶
React to a given observation.
generate_reaction(observation: str, now: Optional[datetime] ... | [
79893,
25022,
311,
439,
3191,
311,
279,
3752,
627,
913,
14008,
25,
1845,
284,
3641,
55609,
198,
8995,
73353,
25,
60601,
7423,
8,
11651,
445,
11237,
19368,
76747,
60,
55609,
198,
19927,
25324,
361,
9852,
53814,
8943,
25,
610,
11,
1457,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.generative_agents.generative_agent.GenerativeAgent.html |
b321caf6e58c-0 | langchain.experimental.plan_and_execute.executors.base.ChainExecutor¶
class langchain.experimental.plan_and_execute.executors.base.ChainExecutor(*, chain: Chain)[source]¶
Bases: BaseExecutor
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot b... | [
5317,
8995,
88547,
46942,
8543,
45429,
16153,
9663,
9105,
99369,
26321,
55609,
198,
1058,
8859,
8995,
88547,
46942,
8543,
45429,
16153,
9663,
9105,
99369,
26321,
4163,
11,
8957,
25,
29625,
6758,
2484,
60,
55609,
198,
33,
2315,
25,
5464,
2... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.executors.base.ChainExecutor.html |
b36820d301d4-0 | langchain.experimental.plan_and_execute.schema.Plan¶
class langchain.experimental.plan_and_execute.schema.Plan(*, steps: List[Step])[source]¶
Bases: BaseModel
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
... | [
5317,
8995,
88547,
46942,
8543,
45429,
31992,
1087,
10946,
55609,
198,
1058,
8859,
8995,
88547,
46942,
8543,
45429,
31992,
1087,
10946,
4163,
11,
7504,
25,
1796,
58,
8468,
41105,
2484,
60,
55609,
198,
33,
2315,
25,
65705,
198,
4110,
264,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.schema.Plan.html |
a876fa76f275-0 | langchain.experimental.plan_and_execute.planners.base.LLMPlanner¶
class langchain.experimental.plan_and_execute.planners.base.LLMPlanner(*, llm_chain: LLMChain, output_parser: PlanOutputParser, stop: Optional[List] = None)[source]¶
Bases: BasePlanner
Create a new model by parsing and validating input data from keyword ... | [
5317,
8995,
88547,
46942,
8543,
45429,
8022,
24960,
9105,
1236,
11237,
2169,
4992,
55609,
198,
1058,
8859,
8995,
88547,
46942,
8543,
45429,
8022,
24960,
9105,
1236,
11237,
2169,
4992,
4163,
11,
9507,
76,
31683,
25,
445,
11237,
19368,
11,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.planners.base.LLMPlanner.html |
ca64f3922be2-0 | langchain.experimental.plan_and_execute.planners.base.BasePlanner¶
class langchain.experimental.plan_and_execute.planners.base.BasePlanner[source]¶
Bases: BaseModel
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid m... | [
5317,
8995,
88547,
46942,
8543,
45429,
8022,
24960,
9105,
13316,
2169,
4992,
55609,
198,
1058,
8859,
8995,
88547,
46942,
8543,
45429,
8022,
24960,
9105,
13316,
2169,
4992,
76747,
60,
55609,
198,
33,
2315,
25,
65705,
198,
4110,
264,
502,
1... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.planners.base.BasePlanner.html |
dfae51c5061c-0 | langchain.experimental.plan_and_execute.executors.base.BaseExecutor¶
class langchain.experimental.plan_and_execute.executors.base.BaseExecutor[source]¶
Bases: BaseModel
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a val... | [
5317,
8995,
88547,
46942,
8543,
45429,
16153,
9663,
9105,
13316,
26321,
55609,
198,
1058,
8859,
8995,
88547,
46942,
8543,
45429,
16153,
9663,
9105,
13316,
26321,
76747,
60,
55609,
198,
33,
2315,
25,
65705,
198,
4110,
264,
502,
1646,
555,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.plan_and_execute.executors.base.BaseExecutor.html |
b23a23bb2588-0 | langchain.experimental.llms.rellm_decoder.import_rellm¶
langchain.experimental.llms.rellm_decoder.import_rellm() → rellm[source]¶
Lazily import rellm. | [
5317,
8995,
88547,
60098,
1026,
1351,
657,
76,
50943,
35997,
1311,
657,
76,
55609,
198,
5317,
8995,
88547,
60098,
1026,
1351,
657,
76,
50943,
35997,
1311,
657,
76,
368,
11651,
312,
657,
76,
76747,
60,
55609,
198,
43,
1394,
1570,
1179,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.llms.rellm_decoder.import_rellm.html |
00a34504a304-0 | langchain.experimental.autonomous_agents.baby_agi.task_creation.TaskCreationChain¶
class langchain.experimental.autonomous_agents.baby_agi.task_creation.TaskCreationChain(*, memory: Optional[BaseMemory] = None, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional... | [
5317,
8995,
88547,
32155,
30946,
77447,
960,
6243,
21233,
72,
15384,
47263,
29358,
33801,
19368,
55609,
198,
1058,
8859,
8995,
88547,
32155,
30946,
77447,
960,
6243,
21233,
72,
15384,
47263,
29358,
33801,
19368,
4163,
11,
5044,
25,
12536,
5... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.task_creation.TaskCreationChain.html |
00a34504a304-1 | There are many different types of memory - please see memory docs
for the full catalog.
param output_key: str = 'text'¶
param output_parser: BaseLLMOutputParser [Optional]¶
Output parser to use.
Defaults to one that takes the most likely string but does not change it
otherwise.
param prompt: BasePromptTemplate [Require... | [
3947,
527,
1690,
2204,
4595,
315,
5044,
482,
4587,
1518,
5044,
27437,
198,
2000,
279,
2539,
16808,
627,
913,
2612,
3173,
25,
610,
284,
364,
1342,
6,
55609,
198,
913,
2612,
19024,
25,
5464,
4178,
44,
5207,
6707,
510,
15669,
60,
55609,
... | https://langchain.readthedocs.io/en/latest/experimental/langchain.experimental.autonomous_agents.baby_agi.task_creation.TaskCreationChain.html |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.