Dataset Viewer
Auto-converted to Parquet
id
stringlengths
14
15
text
stringlengths
35
2.07k
embedding
sequence
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 keyword arguments. agents.agent.BaseMultiActionAgent Base Agent class. agents.agent.BaseSingleActionAgent Base Agent class. agents.agent.ExceptionTool Create a new model by parsing and validating input data from keyword arguments. agents.agent.LLMSingleActionAgent Create a new model by parsing and validating input data from keyword arguments. agents.agent_toolkits.azure_cognitive_services.toolkit.AzureCognitiveServicesToolkit Toolkit for Azure Cognitive Services. agents.agent_toolkits.base.BaseToolkit Class responsible for defining a collection of related tools. agents.agent_toolkits.file_management.toolkit.FileManagementToolkit Toolkit for interacting with a Local Files. agents.agent_toolkits.gmail.toolkit.GmailToolkit Toolkit for interacting with Gmail. agents.agent_toolkits.jira.toolkit.JiraToolkit Jira Toolkit. agents.agent_toolkits.json.toolkit.JsonToolkit Toolkit for interacting with a JSON spec. agents.agent_toolkits.nla.tool.NLATool Natural Language API Tool. agents.agent_toolkits.nla.toolkit.NLAToolkit Natural Language API Toolkit Definition. agents.agent_toolkits.office365.toolkit.O365Toolkit Toolkit for interacting with Office365. agents.agent_toolkits.openapi.planner.RequestsDeleteToolWithParsing Create a new model by parsing and validating input data from keyword arguments. agents.agent_toolkits.openapi.planner.RequestsGetToolWithParsing Create a new model by parsing and validating input data from keyword arguments. agents.agent_toolkits.openapi.planner.RequestsPatchToolWithParsing
[ 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, 198, 15577, 1705, 315, 459, 8479, 1701, 7526, 627, 55975, 45249, 89969, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 45249, 13316, 20981, 2573, 17230, 198, 4066, 21372, 538, 627, 55975, 45249, 13316, 11126, 2573, 17230, 198, 4066, 21372, 538, 627, 55975, 45249, 26940, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 45249, 1236, 43, 4931, 2222, 2573, 17230, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 45249, 23627, 90517, 71340, 669, 51549, 40946, 21966, 8390, 58927, 34, 51549, 11271, 63044, 198, 63044, 369, 35219, 73235, 8471, 627, 55975, 45249, 23627, 90517, 9105, 13316, 63044, 198, 1999, 8647, 369, 27409, 264, 4526, 315, 5552, 7526, 627, 55975, 45249, 23627, 90517, 9914, 46463, 21966, 8390, 8744, 23030, 63044, 198, 63044, 369, 45830, 449, 264, 8949, 17833, 627, 55975, 45249, 23627, 90517, 73054, 21966, 8390, 1246, 3796, 63044, 198, 63044, 369, 45830, 449, 62046, 627, 55975, 45249, 23627, 90517, 1190, 9008, 21966, 8390, 3587, 9008, 63044, 198, 41, 9008, 55876, 627, 55975, 45249, 23627, 90517, 4421, 21966, 8390, 13874, 63044, 198, 63044, 369, 45830, 449, 264, 4823, 1424, 627, 55975, 45249, 23627, 90517, 1276, 4355, 21966, 2112, 79998, 1786, 198, 55381, 11688, 5446, 13782, 627, 55975, 45249, 23627, 90517, 1276, 4355, 21966, 8390, 2112, 79998, 1786, 8390, 198, 55381, 11688, 5446, 55876, 20288, 627, 55975, 45249, 23627, 90517, 100193, 12676, 21966, 8390, 8548, 12676, 63044, 198, 63044, 369, 45830, 449, 8410, 12676, 627, 55975, 45249, 23627, 90517, 59920, 8022, 4992, 9856, 82, 6571, 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, 1991, 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, 44722, 7896, 2409, 69939 ]
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.openapi.toolkit.OpenAPIToolkit Toolkit for interacting with a OpenAPI api. agents.agent_toolkits.openapi.toolkit.RequestsToolkit Toolkit for making requests. agents.agent_toolkits.playwright.toolkit.PlayWrightBrowserToolkit Toolkit for web browser tools. agents.agent_toolkits.powerbi.toolkit.PowerBIToolkit Toolkit for interacting with PowerBI dataset. agents.agent_toolkits.spark_sql.toolkit.SparkSQLToolkit Toolkit for interacting with Spark SQL. agents.agent_toolkits.sql.toolkit.SQLDatabaseToolkit Toolkit for interacting with SQL databases. agents.agent_toolkits.vectorstore.toolkit.VectorStoreInfo Information about a vectorstore. agents.agent_toolkits.vectorstore.toolkit.VectorStoreRouterToolkit Toolkit for routing between vector stores. agents.agent_toolkits.vectorstore.toolkit.VectorStoreToolkit Toolkit for interacting with a vector store. agents.agent_toolkits.zapier.toolkit.ZapierToolkit Zapier Toolkit. agents.agent_types.AgentType(value[, names, ...]) Enumerator with the Agent types. agents.chat.base.ChatAgent Create a new model by parsing and validating input data from keyword arguments. agents.chat.output_parser.ChatOutputParser Create a new model by parsing and validating input data from keyword arguments. agents.conversational.base.ConversationalAgent An agent designed to hold a conversation in addition to using tools. agents.conversational.output_parser.ConvoOutputParser Create a new model by parsing and validating input data from keyword arguments. agents.conversational_chat.base.ConversationalChatAgent
[ 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, 2409, 69939, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 45249, 23627, 90517, 59920, 21966, 8390, 13250, 2599, 964, 1786, 8390, 198, 63044, 369, 45830, 449, 264, 5377, 7227, 6464, 627, 55975, 45249, 23627, 90517, 59920, 21966, 8390, 9856, 82, 63044, 198, 63044, 369, 3339, 7540, 627, 55975, 45249, 23627, 90517, 13269, 53852, 21966, 8390, 25469, 54, 1315, 18360, 63044, 198, 63044, 369, 3566, 7074, 7526, 627, 55975, 45249, 23627, 90517, 40645, 8385, 21966, 8390, 55186, 21587, 1786, 8390, 198, 63044, 369, 45830, 449, 7572, 8768, 10550, 627, 55975, 45249, 23627, 90517, 33646, 18554, 21966, 8390, 815, 29836, 6827, 63044, 198, 63044, 369, 45830, 449, 27565, 8029, 627, 55975, 45249, 23627, 90517, 10251, 21966, 8390, 26151, 6116, 63044, 198, 63044, 369, 45830, 449, 8029, 32906, 627, 55975, 45249, 23627, 90517, 48203, 4412, 21966, 8390, 14621, 6221, 1767, 198, 15218, 922, 264, 4724, 4412, 627, 55975, 45249, 23627, 90517, 48203, 4412, 21966, 8390, 14621, 6221, 9713, 63044, 198, 63044, 369, 30158, 1990, 4724, 10756, 627, 55975, 45249, 23627, 90517, 48203, 4412, 21966, 8390, 14621, 6221, 63044, 198, 63044, 369, 45830, 449, 264, 4724, 3637, 627, 55975, 45249, 23627, 90517, 4025, 391, 1291, 21966, 8390, 13784, 391, 1291, 63044, 198, 57, 391, 1291, 55876, 627, 55975, 45249, 9962, 89969, 941, 3764, 38372, 4194, 11654, 11, 4194, 1131, 2608, 10679, 449, 279, 21372, 4595, 627, 55975, 27215, 9105, 59944, 17230, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 27215, 13718, 19024, 59944, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 2932, 3078, 1697, 9105, 4906, 3078, 1697, 17230, 198, 2127, 8479, 6319, 311, 3412, 264, 10652, 304, 5369, 311, 1701, 7526, 627, 55975, 2932, 3078, 1697, 13718, 19024, 4906, 3415, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 2932, 3078, 1697, 36153, 9105, 4906, 3078, 1697, 16047, 17230 ]
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, ...) Configuration for chain to use in MRKL system. agents.mrkl.base.MRKLChain Chain that implements the MRKL system. agents.mrkl.base.ZeroShotAgent Agent for the MRKL chain. agents.mrkl.output_parser.MRKLOutputParser Create a new model by parsing and validating input data from keyword arguments. agents.openai_functions_agent.base.OpenAIFunctionsAgent An Agent driven by OpenAIs function powered API. agents.openai_functions_multi_agent.base.OpenAIMultiFunctionsAgent An Agent driven by OpenAIs function powered API. agents.react.base.ReActChain Chain that implements the ReAct paper. agents.react.base.ReActDocstoreAgent Agent for the ReAct chain. agents.react.base.ReActTextWorldAgent Agent for the ReAct TextWorld chain. agents.react.output_parser.ReActOutputParser Create a new model by parsing and validating input data from keyword arguments. agents.schema.AgentScratchPadChatPromptTemplate Create a new model by parsing and validating input data from keyword arguments. agents.self_ask_with_search.base.SelfAskWithSearchAgent Agent for the self-ask-with-search paper. agents.self_ask_with_search.base.SelfAskWithSearchChain Chain that does self ask with search. agents.self_ask_with_search.output_parser.SelfAskOutputParser Create a new model by parsing and validating input data from keyword arguments. agents.structured_chat.base.StructuredChatAgent Create a new model by parsing and validating input data from keyword arguments.
[ 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, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 749, 81, 10784, 9105, 99369, 2714, 15665, 1292, 11, 4194, 32318, 7843, 369, 8957, 311, 1005, 304, 29433, 54083, 1887, 627, 55975, 749, 81, 10784, 9105, 1345, 49, 54083, 19368, 198, 19368, 430, 5280, 279, 29433, 54083, 1887, 627, 55975, 749, 81, 10784, 9105, 36589, 37502, 17230, 198, 17230, 369, 279, 29433, 54083, 8957, 627, 55975, 749, 81, 10784, 13718, 19024, 1345, 78120, 1623, 332, 631, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 5949, 2192, 32808, 26814, 9105, 13250, 32, 2843, 600, 82, 17230, 198, 2127, 21372, 16625, 555, 5377, 32, 3957, 734, 23134, 5446, 627, 55975, 5949, 2192, 32808, 26190, 26814, 9105, 13250, 14660, 7213, 26272, 17230, 198, 2127, 21372, 16625, 555, 5377, 32, 3957, 734, 23134, 5446, 627, 55975, 55782, 9105, 2887, 2471, 19368, 198, 19368, 430, 5280, 279, 1050, 2471, 5684, 627, 55975, 55782, 9105, 2887, 2471, 9743, 4412, 17230, 198, 17230, 369, 279, 1050, 2471, 8957, 627, 55975, 55782, 9105, 2887, 2471, 1199, 10343, 17230, 198, 17230, 369, 279, 1050, 2471, 2991, 10343, 8957, 627, 55975, 55782, 13718, 19024, 2887, 2471, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 31992, 89969, 66608, 759, 14047, 16047, 55715, 7423, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 28248, 93369, 6753, 10947, 9105, 815, 491, 27264, 2409, 6014, 17230, 198, 17230, 369, 279, 659, 12, 1091, 27281, 19993, 5684, 627, 55975, 28248, 93369, 6753, 10947, 9105, 815, 491, 27264, 2409, 6014, 19368, 198, 19368, 430, 1587, 659, 2610, 449, 2778, 627, 55975, 28248, 93369, 6753, 10947, 13718, 19024, 815, 491, 27264, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 13, 52243, 36153, 9105, 52545, 3149, 16047, 17230, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 13 ]
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 parsing and validating input data from keyword arguments. agents.tools.InvalidTool Tool that is run when invalid tool name is encountered by agent. Functions¶ agents.agent_toolkits.csv.base.create_csv_agent(...) Create csv agent by loading to a dataframe and using pandas agent. agents.agent_toolkits.json.base.create_json_agent(...) Construct a json agent from an LLM and tools. agents.agent_toolkits.openapi.base.create_openapi_agent(...) Construct a json agent from an LLM and tools. agents.agent_toolkits.openapi.planner.create_openapi_agent(...) Instantiate API planner and controller for a given spec. agents.agent_toolkits.openapi.spec.dereference_refs(...) Try to substitute $refs. agents.agent_toolkits.openapi.spec.reduce_openapi_spec(spec) Simplify/distill/minify a spec somehow. agents.agent_toolkits.pandas.base.create_pandas_dataframe_agent(llm, df) Construct a pandas agent from an LLM and dataframe. agents.agent_toolkits.powerbi.base.create_pbi_agent(...) Construct a pbi agent from an LLM and tools. agents.agent_toolkits.powerbi.chat_base.create_pbi_chat_agent(...) Construct a pbi agent from an Chat LLM and tools. agents.agent_toolkits.python.base.create_python_agent(...) Construct a python agent from an LLM and tool. agents.agent_toolkits.spark.base.create_spark_dataframe_agent(llm, df) Construct a spark agent from an LLM and dataframe. agents.agent_toolkits.spark_sql.base.create_spark_sql_agent(...) Construct a sql agent from an LLM and tools.
[ 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, 55975, 13, 52243, 36153, 13718, 19024, 52545, 3149, 16047, 5207, 6707, 2409, 12289, 4108, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 55975, 24029, 49244, 7896, 198, 7896, 430, 374, 1629, 994, 8482, 5507, 836, 374, 23926, 555, 8479, 627, 26272, 55609, 198, 55975, 45249, 23627, 90517, 11468, 9105, 2581, 14347, 26814, 73893, 4110, 13448, 8479, 555, 8441, 311, 264, 39328, 323, 1701, 19130, 8479, 627, 55975, 45249, 23627, 90517, 4421, 9105, 2581, 9643, 26814, 73893, 29568, 264, 3024, 8479, 505, 459, 445, 11237, 323, 7526, 627, 55975, 45249, 23627, 90517, 59920, 9105, 2581, 11563, 2113, 26814, 73893, 29568, 264, 3024, 8479, 505, 459, 445, 11237, 323, 7526, 627, 55975, 45249, 23627, 90517, 59920, 8022, 4992, 2581, 11563, 2113, 26814, 73893, 81651, 5446, 50811, 323, 6597, 369, 264, 2728, 1424, 627, 55975, 45249, 23627, 90517, 59920, 29426, 962, 486, 2251, 61738, 73893, 22170, 311, 28779, 400, 16541, 627, 55975, 45249, 23627, 90517, 59920, 29426, 24726, 11563, 2113, 13908, 39309, 340, 50, 71306, 20107, 484, 45273, 1463, 264, 1424, 17354, 627, 55975, 45249, 23627, 90517, 558, 56533, 9105, 2581, 623, 56533, 78670, 26814, 36621, 76, 11, 4194, 3013, 340, 29568, 264, 19130, 8479, 505, 459, 445, 11237, 323, 39328, 627, 55975, 45249, 23627, 90517, 40645, 8385, 9105, 2581, 623, 8385, 26814, 73893, 29568, 264, 281, 8385, 8479, 505, 459, 445, 11237, 323, 7526, 627, 55975, 45249, 23627, 90517, 40645, 8385, 27215, 7806, 2581, 623, 8385, 36153, 26814, 73893, 29568, 264, 281, 8385, 8479, 505, 459, 13149, 445, 11237, 323, 7526, 627, 55975, 45249, 23627, 90517, 44293, 9105, 2581, 56969, 26814, 73893, 29568, 264, 10344, 8479, 505, 459, 445, 11237, 323, 5507, 627, 55975, 45249, 23627, 90517, 33646, 9105, 2581, 10331, 847, 78670, 26814, 36621, 76, 11, 4194, 3013, 340, 29568, 264, 15541, 8479, 505, 459, 445, 11237, 323, 39328, 627, 55975, 45249, 23627, 90517, 33646, 18554, 9105, 2581, 10331, 847, 18554, 26814, 73893, 29568, 264, 5822, 8479, 505, 459, 445, 11237, 323, 7526, 13 ]
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_vectorstore_router_agent(...) Construct a vectorstore router agent from an LLM and tools. agents.initialize.initialize_agent(tools, llm) Load an agent executor given tools and LLM. agents.load_tools.get_all_tool_names() Get a list of all possible tool names. agents.load_tools.load_huggingface_tool(...) Loads a tool from the HuggingFace Hub. agents.load_tools.load_tools(tool_names[, ...]) Load tools based on their name. agents.loading.load_agent(path, **kwargs) Unified method for loading a agent from LangChainHub or local fs. agents.loading.load_agent_from_config(config) Load agent from Config Dict. agents.utils.validate_tools_single_input(...) Validate tools for single input. langchain.base_language: Base Language¶ Base class for all language models. Classes¶ base_language.BaseLanguageModel Create a new model by parsing and validating input data from keyword arguments. langchain.cache: Cache¶ Beta Feature: base interface for cache. Classes¶ cache.BaseCache() Base interface for cache. cache.FullLLMCache(**kwargs) SQLite table for full LLM Cache (all generations). cache.GPTCache([init_func]) Cache that uses GPTCache as a backend. cache.InMemoryCache() Cache that stores things in memory. cache.MomentoCache(cache_client, cache_name, *) Cache that uses Momento as a backend. cache.RedisCache(redis_) Cache that uses Redis as a backend.
[ 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, 2581, 12526, 4412, 26814, 73893, 29568, 264, 4724, 4412, 8479, 505, 459, 445, 11237, 323, 7526, 627, 55975, 45249, 23627, 90517, 48203, 4412, 9105, 2581, 12526, 4412, 56687, 26814, 73893, 29568, 264, 4724, 4412, 9457, 8479, 505, 459, 445, 11237, 323, 7526, 627, 55975, 27060, 27060, 26814, 12464, 3145, 11, 4194, 657, 76, 340, 6003, 459, 8479, 32658, 2728, 7526, 323, 445, 11237, 627, 55975, 5214, 40823, 673, 5823, 23627, 9366, 746, 1991, 264, 1160, 315, 682, 3284, 5507, 5144, 627, 55975, 5214, 40823, 5214, 1552, 36368, 1594, 23627, 73893, 79617, 264, 5507, 505, 279, 473, 36368, 16680, 27636, 627, 55975, 5214, 40823, 5214, 40823, 50050, 9366, 38372, 4194, 1131, 2608, 6003, 7526, 3196, 389, 872, 836, 627, 55975, 25908, 5214, 26814, 5698, 11, 4194, 334, 9872, 340, 86479, 1749, 369, 8441, 264, 8479, 505, 23272, 19368, 19876, 477, 2254, 8789, 627, 55975, 25908, 5214, 26814, 5791, 5445, 8928, 340, 6003, 8479, 505, 5649, 30226, 627, 55975, 8576, 20090, 40823, 20052, 6022, 73893, 18409, 7526, 369, 3254, 1988, 627, 5317, 8995, 9105, 30121, 25, 5464, 11688, 55609, 198, 4066, 538, 369, 682, 4221, 4211, 627, 20678, 55609, 198, 3231, 30121, 13316, 14126, 1747, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 5317, 8995, 20688, 25, 20044, 55609, 198, 65911, 20595, 25, 2385, 3834, 369, 6636, 627, 20678, 55609, 198, 9544, 13316, 8397, 746, 4066, 3834, 369, 6636, 627, 9544, 33138, 4178, 44, 8397, 22551, 9872, 340, 82872, 2007, 369, 2539, 445, 11237, 20044, 320, 543, 22540, 4390, 9544, 1246, 2898, 8397, 2625, 2381, 9791, 2608, 8397, 430, 5829, 480, 2898, 8397, 439, 264, 19713, 627, 9544, 5450, 10869, 8397, 746, 8397, 430, 10756, 2574, 304, 5044, 627, 9544, 1345, 13209, 78, 8397, 33033, 8342, 11, 4194, 9544, 1292, 11, 4194, 39060, 8397, 430, 5829, 40096, 78, 439, 264, 19713, 627, 9544, 83498, 8397, 98776, 24262, 8397, 430, 5829, 35258, 439, 264, 19713, 13 ]
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. langchain.callbacks: Callbacks¶ Callback handlers that allow listening to events in LangChain. Classes¶ callbacks.aim_callback.AimCallbackHandler([...]) Callback Handler that logs to Aim. callbacks.argilla_callback.ArgillaCallbackHandler(...) Callback Handler that logs into Argilla. callbacks.arize_callback.ArizeCallbackHandler([...]) Callback Handler that logs to Arize. callbacks.arthur_callback.ArthurCallbackHandler(...) Callback Handler that logs to Arthur platform. callbacks.base.AsyncCallbackHandler() Async callback handler that can be used to handle callbacks from langchain. callbacks.base.BaseCallbackHandler() Base callback handler that can be used to handle callbacks from langchain. callbacks.base.BaseCallbackManager(handlers) Base callback manager that can be used to handle callbacks from LangChain. callbacks.clearml_callback.ClearMLCallbackHandler([...]) Callback Handler that logs to ClearML. callbacks.comet_ml_callback.CometCallbackHandler([...]) Callback Handler that logs to Comet. callbacks.file.FileCallbackHandler(filename) Callback Handler that writes to a file. callbacks.flyte_callback.FlyteCallbackHandler() This callback handler is designed specifically for usage within a Flyte task. callbacks.human.HumanApprovalCallbackHandler(...) Callback for manually validating values. callbacks.human.HumanRejectedException Exception to raise when a person manually review and rejects a value. callbacks.infino_callback.InfinoCallbackHandler([...]) Callback Handler that logs to Infino. callbacks.manager.AsyncCallbackManager(handlers)
[ 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, 4194, 9544, 26443, 340, 8397, 430, 5829, 52718, 68614, 439, 264, 19713, 627, 9544, 98701, 8397, 2625, 12494, 2703, 2608, 8397, 430, 5829, 29434, 439, 264, 19713, 627, 5317, 8995, 72134, 25, 23499, 82, 55609, 198, 7646, 25050, 430, 2187, 14624, 311, 4455, 304, 23272, 19368, 627, 20678, 55609, 198, 69411, 13, 2706, 12802, 885, 318, 7646, 3126, 83566, 2608, 7646, 20549, 430, 18929, 311, 71715, 627, 69411, 21875, 6374, 12802, 19516, 6374, 7646, 3126, 73893, 7646, 20549, 430, 18929, 1139, 7793, 6374, 627, 69411, 17126, 553, 12802, 72987, 553, 7646, 3126, 83566, 2608, 7646, 20549, 430, 18929, 311, 1676, 553, 627, 69411, 17126, 22173, 12802, 72987, 22173, 7646, 3126, 73893, 7646, 20549, 430, 18929, 311, 28686, 5452, 627, 69411, 9105, 45219, 7646, 3126, 746, 6662, 4927, 7158, 430, 649, 387, 1511, 311, 3790, 27777, 505, 8859, 8995, 627, 69411, 9105, 13316, 7646, 3126, 746, 4066, 4927, 7158, 430, 649, 387, 1511, 311, 3790, 27777, 505, 8859, 8995, 627, 69411, 9105, 13316, 7646, 2087, 64311, 9438, 340, 4066, 4927, 6783, 430, 649, 387, 1511, 311, 3790, 27777, 505, 23272, 19368, 627, 69411, 7578, 1029, 12802, 13833, 2735, 7646, 3126, 83566, 2608, 7646, 20549, 430, 18929, 311, 12292, 2735, 627, 69411, 916, 295, 77667, 12802, 3034, 295, 7646, 3126, 83566, 2608, 7646, 20549, 430, 18929, 311, 99198, 627, 69411, 9914, 8744, 7646, 3126, 11202, 340, 7646, 20549, 430, 14238, 311, 264, 1052, 627, 69411, 840, 398, 668, 12802, 1006, 398, 668, 7646, 3126, 746, 2028, 4927, 7158, 374, 6319, 11951, 369, 10648, 2949, 264, 20793, 668, 3465, 627, 69411, 870, 7282, 3924, 7282, 91207, 7646, 3126, 73893, 7646, 369, 20684, 69772, 2819, 627, 69411, 870, 7282, 3924, 7282, 79513, 19357, 198, 1378, 311, 4933, 994, 264, 1732, 20684, 3477, 323, 60515, 264, 907, 627, 69411, 32057, 3394, 12802, 34621, 3394, 7646, 3126, 83566, 2608, 7646, 20549, 430, 18929, 311, 15268, 3394, 627, 69411, 33915, 45219, 7646, 2087, 64311, 9438, 8 ]
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 callback manager for LLM run. callbacks.manager.AsyncCallbackManagerForRetrieverRun(*, ...) Async callback manager for retriever run. callbacks.manager.AsyncCallbackManagerForToolRun(*, ...) Async callback manager for tool run. callbacks.manager.AsyncRunManager(*, run_id, ...) Async Run Manager. callbacks.manager.BaseRunManager(*, run_id, ...) Base class for run manager (a bound callback manager). callbacks.manager.CallbackManager(handlers) Callback manager that can be used to handle callbacks from langchain. callbacks.manager.CallbackManagerForChainRun(*, ...) Callback manager for chain run. callbacks.manager.CallbackManagerForLLMRun(*, ...) Callback manager for LLM run. callbacks.manager.CallbackManagerForRetrieverRun(*, ...) Callback manager for retriever run. callbacks.manager.CallbackManagerForToolRun(*, ...) Callback manager for tool run. callbacks.manager.RunManager(*, run_id, ...) Sync Run Manager. callbacks.mlflow_callback.MlflowCallbackHandler([...]) Callback Handler that logs metrics and artifacts to mlflow server. callbacks.openai_info.OpenAICallbackHandler() Callback Handler that tracks OpenAI info. callbacks.promptlayer_callback.PromptLayerCallbackHandler([...]) Callback handler for promptlayer. callbacks.stdout.StdOutCallbackHandler([color]) Callback Handler that prints to std out. callbacks.streaming_aiter.AsyncIteratorCallbackHandler() Callback handler that returns an async iterator.
[ 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, 11, 4194, 32318, 6662, 4927, 6783, 369, 8957, 1629, 627, 69411, 33915, 45219, 7646, 2087, 2520, 4178, 44, 6869, 4163, 11, 4194, 32318, 6662, 4927, 6783, 369, 445, 11237, 1629, 627, 69411, 33915, 45219, 7646, 2087, 2520, 12289, 462, 2099, 6869, 4163, 11, 4194, 32318, 6662, 4927, 6783, 369, 10992, 424, 1629, 627, 69411, 33915, 45219, 7646, 2087, 2520, 7896, 6869, 4163, 11, 4194, 32318, 6662, 4927, 6783, 369, 5507, 1629, 627, 69411, 33915, 45219, 6869, 2087, 4163, 11, 4194, 6236, 851, 11, 4194, 32318, 6662, 6588, 10790, 627, 69411, 33915, 13316, 6869, 2087, 4163, 11, 4194, 6236, 851, 11, 4194, 32318, 4066, 538, 369, 1629, 6783, 320, 64, 6965, 4927, 6783, 4390, 69411, 33915, 49887, 2087, 64311, 9438, 340, 7646, 6783, 430, 649, 387, 1511, 311, 3790, 27777, 505, 8859, 8995, 627, 69411, 33915, 49887, 2087, 2520, 19368, 6869, 4163, 11, 4194, 32318, 7646, 6783, 369, 8957, 1629, 627, 69411, 33915, 49887, 2087, 2520, 4178, 44, 6869, 4163, 11, 4194, 32318, 7646, 6783, 369, 445, 11237, 1629, 627, 69411, 33915, 49887, 2087, 2520, 12289, 462, 2099, 6869, 4163, 11, 4194, 32318, 7646, 6783, 369, 10992, 424, 1629, 627, 69411, 33915, 49887, 2087, 2520, 7896, 6869, 4163, 11, 4194, 32318, 7646, 6783, 369, 5507, 1629, 627, 69411, 33915, 17123, 2087, 4163, 11, 4194, 6236, 851, 11, 4194, 32318, 12430, 6588, 10790, 627, 69411, 58509, 5072, 12802, 1345, 75, 5072, 7646, 3126, 83566, 2608, 7646, 20549, 430, 18929, 17150, 323, 36136, 311, 16116, 5072, 3622, 627, 69411, 5949, 2192, 3186, 13250, 32, 1341, 3503, 3126, 746, 7646, 20549, 430, 14242, 5377, 15836, 3630, 627, 69411, 66499, 10546, 12802, 1087, 15091, 9368, 7646, 3126, 83566, 2608, 7646, 7158, 369, 10137, 10546, 627, 69411, 25880, 37186, 2729, 7646, 3126, 2625, 3506, 2608, 7646, 20549, 430, 24370, 311, 1487, 704, 627, 69411, 85058, 62, 1339, 261, 45219, 12217, 7646, 3126, 746, 7646, 7158, 430, 4780, 459, 3393, 15441, 13 ]
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. callbacks.streaming_stdout_final_only.FinalStreamingStdOutCallbackHandler(*) Callback handler for streaming in agents. callbacks.streamlit.mutable_expander.ChildRecord(...) Create new instance of ChildRecord(type, kwargs, dg) callbacks.streamlit.mutable_expander.ChildType(value) callbacks.streamlit.streamlit_callback_handler.LLMThoughtState(value) callbacks.streamlit.streamlit_callback_handler.StreamlitCallbackHandler(...) Create a StreamlitCallbackHandler instance. callbacks.streamlit.streamlit_callback_handler.ToolRecord(...) Create new instance of ToolRecord(name, input_str) callbacks.tracers.base.BaseTracer(**kwargs) Base interface for tracers. callbacks.tracers.base.TracerException Base class for exceptions in tracers module. callbacks.tracers.evaluation.EvaluatorCallbackHandler(...) A tracer that runs a run evaluator whenever a run is persisted. callbacks.tracers.langchain.LangChainTracer([...]) An implementation of the SharedTracer that POSTS to the langchain endpoint. callbacks.tracers.langchain_v1.LangChainTracerV1(...) An implementation of the SharedTracer that POSTS to the langchain endpoint. callbacks.tracers.run_collector.RunCollectorCallbackHandler([...]) A tracer that collects all nested runs in a list. callbacks.tracers.schemas.BaseRun Base class for Run. callbacks.tracers.schemas.ChainRun Class for ChainRun. callbacks.tracers.schemas.LLMRun Class for LLMRun. callbacks.tracers.schemas.Run Run schema for the V2 API in the Tracer. callbacks.tracers.schemas.ToolRun Class for ToolRun.
[ 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, 69411, 85058, 68516, 34408, 287, 23586, 2729, 7646, 3126, 746, 7646, 7158, 369, 17265, 627, 69411, 85058, 68516, 21333, 18917, 1006, 992, 77609, 23586, 2729, 7646, 3126, 4163, 340, 7646, 7158, 369, 17265, 304, 13307, 627, 69411, 15307, 32735, 61359, 14548, 8363, 29606, 6607, 73893, 4110, 502, 2937, 315, 9576, 6607, 5930, 11, 16901, 11, 41386, 340, 69411, 15307, 32735, 61359, 14548, 8363, 29606, 941, 3764, 340, 69411, 15307, 32735, 15307, 32735, 12802, 10393, 1236, 11237, 85269, 1423, 3764, 340, 69411, 15307, 32735, 15307, 32735, 12802, 10393, 34408, 32735, 7646, 3126, 73893, 4110, 264, 9384, 32735, 7646, 3126, 2937, 627, 69411, 15307, 32735, 15307, 32735, 12802, 10393, 25443, 6607, 73893, 4110, 502, 2937, 315, 13782, 6607, 3232, 11, 1988, 2966, 340, 69411, 5543, 73797, 9105, 13316, 1305, 9779, 22551, 9872, 340, 4066, 3834, 369, 490, 73797, 627, 69411, 5543, 73797, 9105, 8404, 9779, 1378, 198, 4066, 538, 369, 20157, 304, 490, 73797, 4793, 627, 69411, 5543, 73797, 1770, 24756, 5253, 53489, 7646, 3126, 73893, 32, 65406, 430, 8640, 264, 1629, 70910, 15716, 264, 1629, 374, 54095, 627, 69411, 5543, 73797, 8178, 8995, 79016, 19368, 1305, 9779, 83566, 2608, 2127, 8292, 315, 279, 17423, 1305, 9779, 430, 13165, 50, 311, 279, 8859, 8995, 15233, 627, 69411, 5543, 73797, 8178, 8995, 2325, 16, 79016, 19368, 1305, 9779, 53, 16, 73893, 2127, 8292, 315, 279, 17423, 1305, 9779, 430, 13165, 50, 311, 279, 8859, 8995, 15233, 627, 69411, 5543, 73797, 7789, 10422, 28769, 17123, 54794, 7646, 3126, 83566, 2608, 32, 65406, 430, 52307, 682, 24997, 8640, 304, 264, 1160, 627, 69411, 5543, 73797, 516, 32226, 13316, 6869, 198, 4066, 538, 369, 6588, 627, 69411, 5543, 73797, 516, 32226, 99369, 6869, 198, 1999, 369, 29625, 6869, 627, 69411, 5543, 73797, 516, 32226, 1236, 11237, 6869, 198, 1999, 369, 445, 11237, 6869, 627, 69411, 5543, 73797, 516, 32226, 17123, 198, 6869, 11036, 369, 279, 650, 17, 5446, 304, 279, 1183, 9779, 627, 69411, 5543, 73797, 516, 32226, 25443, 6869, 198, 1999, 369, 13782, 6869, 13 ]
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.TracerSessionV1Base Base class for TracerSessionV1. callbacks.tracers.schemas.TracerSessionV1Create Create class for TracerSessionV1. callbacks.tracers.stdout.ConsoleCallbackHandler(...) Tracer that prints to the console. callbacks.tracers.wandb.WandbRunArgs Arguments for the WandbTracer. callbacks.tracers.wandb.WandbTracer([run_args]) Callback Handler that logs to Weights and Biases. callbacks.wandb_callback.WandbCallbackHandler([...]) Callback Handler that logs to Weights and Biases. callbacks.whylabs_callback.WhyLabsCallbackHandler(logger) WhyLabs CallbackHandler. Functions¶ callbacks.aim_callback.import_aim() Import the aim python package and raise an error if it is not installed. callbacks.clearml_callback.import_clearml() Import the clearml python package and raise an error if it is not installed. callbacks.comet_ml_callback.import_comet_ml() callbacks.flyte_callback.analyze_text(text) Analyze text using textstat and spacy. callbacks.flyte_callback.import_flytekit() callbacks.infino_callback.import_infino() callbacks.manager.env_var_is_set(env_var) Check if an environment variable is set. callbacks.manager.get_openai_callback() Get the OpenAI callback handler in a context manager. callbacks.manager.trace_as_chain_group(...) Get a callback manager for a chain group in a context manager.
[ 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, 9779, 5396, 4066, 198, 32, 9886, 538, 369, 1183, 9779, 5396, 627, 69411, 5543, 73797, 516, 32226, 8404, 9779, 5396, 53, 16, 198, 1305, 9779, 5396, 53, 16, 11036, 627, 69411, 5543, 73797, 516, 32226, 8404, 9779, 5396, 53, 16, 4066, 198, 4066, 538, 369, 1183, 9779, 5396, 53, 16, 627, 69411, 5543, 73797, 516, 32226, 8404, 9779, 5396, 53, 16, 4110, 198, 4110, 538, 369, 1183, 9779, 5396, 53, 16, 627, 69411, 5543, 73797, 25880, 47398, 7646, 3126, 73893, 1305, 9779, 430, 24370, 311, 279, 2393, 627, 69411, 5543, 73797, 1444, 438, 65, 1196, 438, 65, 6869, 4209, 198, 19686, 369, 279, 70029, 65, 1305, 9779, 627, 69411, 5543, 73797, 1444, 438, 65, 1196, 438, 65, 1305, 9779, 2625, 6236, 8550, 2608, 7646, 20549, 430, 18929, 311, 1226, 2866, 323, 12371, 2315, 627, 69411, 1444, 438, 65, 12802, 1196, 438, 65, 7646, 3126, 83566, 2608, 7646, 20549, 430, 18929, 311, 1226, 2866, 323, 12371, 2315, 627, 69411, 47836, 4010, 3518, 12802, 1196, 8671, 43, 3518, 7646, 3126, 38933, 340, 10445, 43, 3518, 23499, 3126, 627, 26272, 55609, 198, 69411, 13, 2706, 12802, 35997, 62, 2706, 746, 11772, 279, 9395, 10344, 6462, 323, 4933, 459, 1493, 422, 433, 374, 539, 10487, 627, 69411, 7578, 1029, 12802, 35997, 22564, 1029, 746, 11772, 279, 2867, 1029, 10344, 6462, 323, 4933, 459, 1493, 422, 433, 374, 539, 10487, 627, 69411, 916, 295, 77667, 12802, 35997, 3038, 295, 77667, 746, 69411, 840, 398, 668, 12802, 10985, 56956, 4424, 7383, 340, 2127, 56956, 1495, 1701, 1495, 10079, 323, 993, 2826, 627, 69411, 840, 398, 668, 12802, 35997, 766, 398, 668, 8390, 746, 69411, 32057, 3394, 12802, 35997, 27143, 3394, 746, 69411, 33915, 9449, 4715, 7037, 2667, 17409, 4715, 340, 4061, 422, 459, 4676, 3977, 374, 743, 627, 69411, 33915, 673, 11563, 2192, 12802, 746, 1991, 279, 5377, 15836, 4927, 7158, 304, 264, 2317, 6783, 627, 69411, 33915, 35512, 12162, 31683, 6422, 73893, 1991, 264, 4927, 6783, 369, 264, 8957, 1912, 304, 264, 2317, 6783, 13 ]
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([...]) Get the WandbTracer in a context manager. callbacks.mlflow_callback.analyze_text(text) Analyze text using textstat and spacy. callbacks.mlflow_callback.construct_html_from_prompt_and_generation(...) Construct an html element from a prompt and a generation. callbacks.mlflow_callback.import_mlflow() Import the mlflow python package and raise an error if it is not installed. callbacks.openai_info.get_openai_token_cost_for_model(...) Get the cost in USD for a given model and number of tokens. callbacks.openai_info.standardize_model_name(...) Standardize the model name to a format that can be used in the OpenAI API. :param model_name: Model name to standardize. :param is_completion: Whether the model is used for completion or not. Defaults to False. callbacks.streamlit.__init__.StreamlitCallbackHandler(...) Construct a new StreamlitCallbackHandler. callbacks.tracers.langchain.log_error_once(...) Log an error once. callbacks.tracers.langchain.wait_for_all_tracers() callbacks.tracers.langchain_v1.get_headers() Get the headers for the LangChain API. callbacks.tracers.stdout.elapsed(run) Get the elapsed time of a run. callbacks.tracers.stdout.try_json_stringify(...) Try to stringify an object to JSON. callbacks.utils.flatten_dict(nested_dict[, ...]) Flattens a nested dictionary into a flat dictionary. callbacks.utils.hash_string(s) Hash a string using sha1. callbacks.utils.import_pandas()
[ 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, 18721, 83566, 2608, 644, 1257, 23272, 19368, 311, 1515, 682, 8640, 304, 2317, 311, 23272, 42985, 627, 69411, 33915, 1444, 438, 65, 3631, 4628, 18721, 83566, 2608, 1991, 279, 70029, 65, 1305, 9779, 304, 264, 2317, 6783, 627, 69411, 58509, 5072, 12802, 10985, 56956, 4424, 7383, 340, 2127, 56956, 1495, 1701, 1495, 10079, 323, 993, 2826, 627, 69411, 58509, 5072, 12802, 85354, 9759, 5791, 62521, 8543, 65291, 73893, 29568, 459, 5385, 2449, 505, 264, 10137, 323, 264, 9659, 627, 69411, 58509, 5072, 12802, 35997, 77667, 5072, 746, 11772, 279, 16116, 5072, 10344, 6462, 323, 4933, 459, 1493, 422, 433, 374, 539, 10487, 627, 69411, 5949, 2192, 3186, 673, 11563, 2192, 6594, 16269, 5595, 5156, 73893, 1991, 279, 2853, 304, 20121, 369, 264, 2728, 1646, 323, 1396, 315, 11460, 627, 69411, 5949, 2192, 3186, 40383, 553, 5156, 1292, 73893, 20367, 553, 279, 1646, 836, 311, 264, 3645, 430, 649, 387, 1511, 304, 279, 5377, 15836, 5446, 13, 551, 913, 1646, 1292, 25, 5008, 836, 311, 5410, 553, 13, 551, 913, 374, 61264, 25, 13440, 279, 1646, 374, 1511, 369, 9954, 477, 539, 13, 37090, 311, 3641, 627, 69411, 15307, 32735, 4952, 2381, 19247, 3103, 32735, 7646, 3126, 73893, 29568, 264, 502, 9384, 32735, 7646, 3126, 627, 69411, 5543, 73797, 8178, 8995, 1699, 4188, 7785, 73893, 2250, 459, 1493, 3131, 627, 69411, 5543, 73797, 8178, 8995, 16693, 5595, 5823, 3631, 73797, 746, 69411, 5543, 73797, 8178, 8995, 2325, 16, 673, 27817, 746, 1991, 279, 7247, 369, 279, 23272, 19368, 5446, 627, 69411, 5543, 73797, 25880, 78582, 39872, 340, 1991, 279, 26401, 892, 315, 264, 1629, 627, 69411, 5543, 73797, 25880, 49879, 9643, 3991, 1463, 73893, 22170, 311, 84266, 459, 1665, 311, 4823, 627, 69411, 8576, 49298, 5356, 1471, 10185, 5356, 38372, 4194, 1131, 2608, 3968, 1617, 729, 264, 24997, 11240, 1139, 264, 10269, 11240, 627, 69411, 8576, 15452, 3991, 1161, 340, 6504, 264, 925, 1701, 16249, 16, 627, 69411, 8576, 35997, 623, 56533, 368 ]
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 an error if it is not installed. callbacks.utils.load_json(json_path) Load json file to a string. callbacks.wandb_callback.analyze_text(text) Analyze text using textstat and spacy. callbacks.wandb_callback.construct_html_from_prompt_and_generation(...) Construct an html element from a prompt and a generation. callbacks.wandb_callback.import_wandb() Import the wandb python package and raise an error if it is not installed. callbacks.wandb_callback.load_json_to_dict(...) Load json file to a dictionary. callbacks.whylabs_callback.import_langkit([...]) Import the langkit python package and raise an error if it is not installed. langchain.chains: Chains¶ Chains are easily reusable components which can be linked together. Classes¶ chains.api.base.APIChain Chain that makes API calls and summarizes the responses to answer a question. chains.api.openapi.chain.OpenAPIEndpointChain Chain interacts with an OpenAPI endpoint using natural language. chains.api.openapi.requests_chain.APIRequesterChain Get the request parser. chains.api.openapi.requests_chain.APIRequesterOutputParser Parse the request and error tags. chains.api.openapi.response_chain.APIResponderChain Get the response parser. chains.api.openapi.response_chain.APIResponderOutputParser Parse the response and error tags. chains.base.Chain Base interface that all chains should implement. chains.combine_documents.base.AnalyzeDocumentChain Chain that splits documents, then analyzes it in pieces. chains.combine_documents.base.BaseCombineDocumentsChain
[ 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, 323, 4933, 459, 1493, 422, 433, 374, 539, 10487, 627, 69411, 8576, 35997, 4424, 10079, 746, 11772, 279, 1495, 10079, 10344, 6462, 323, 4933, 459, 1493, 422, 433, 374, 539, 10487, 627, 69411, 8576, 5214, 9643, 9488, 2703, 340, 6003, 3024, 1052, 311, 264, 925, 627, 69411, 1444, 438, 65, 12802, 10985, 56956, 4424, 7383, 340, 2127, 56956, 1495, 1701, 1495, 10079, 323, 993, 2826, 627, 69411, 1444, 438, 65, 12802, 85354, 9759, 5791, 62521, 8543, 65291, 73893, 29568, 459, 5385, 2449, 505, 264, 10137, 323, 264, 9659, 627, 69411, 1444, 438, 65, 12802, 35997, 1704, 438, 65, 746, 11772, 279, 29810, 65, 10344, 6462, 323, 4933, 459, 1493, 422, 433, 374, 539, 10487, 627, 69411, 1444, 438, 65, 12802, 5214, 9643, 2401, 5356, 73893, 6003, 3024, 1052, 311, 264, 11240, 627, 69411, 47836, 4010, 3518, 12802, 35997, 18358, 8390, 83566, 2608, 11772, 279, 8859, 8390, 10344, 6462, 323, 4933, 459, 1493, 422, 433, 374, 539, 10487, 627, 5317, 8995, 5442, 1771, 25, 82869, 55609, 198, 1163, 1771, 527, 6847, 62671, 6956, 902, 649, 387, 10815, 3871, 627, 20678, 55609, 198, 59458, 6314, 9105, 25967, 19368, 198, 19368, 430, 3727, 5446, 6880, 323, 94594, 279, 14847, 311, 4320, 264, 3488, 627, 59458, 6314, 59920, 53141, 13250, 7227, 28480, 19368, 198, 19368, 84261, 449, 459, 5377, 7227, 15233, 1701, 5933, 4221, 627, 59458, 6314, 59920, 68771, 31683, 25967, 1939, 261, 19368, 198, 1991, 279, 1715, 6871, 627, 59458, 6314, 59920, 68771, 31683, 25967, 1939, 261, 5207, 6707, 198, 14802, 279, 1715, 323, 1493, 9681, 627, 59458, 6314, 59920, 11616, 31683, 25967, 31984, 19368, 198, 1991, 279, 2077, 6871, 627, 59458, 6314, 59920, 11616, 31683, 25967, 31984, 5207, 6707, 198, 14802, 279, 2077, 323, 1493, 9681, 627, 59458, 9105, 99369, 198, 4066, 3834, 430, 682, 27271, 1288, 4305, 627, 59458, 90390, 77027, 9105, 8794, 56956, 7676, 19368, 198, 19368, 430, 41567, 9477, 11, 1243, 86281, 433, 304, 9863, 627, 59458, 90390, 77027, 9105, 13316, 82214, 28242, 19368 ]
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 combining results. chains.combine_documents.map_rerank.MapRerankDocumentsChain Combining documents by mapping a chain over them, then reranking results. chains.combine_documents.refine.RefineDocumentsChain Combine documents by doing a first pass and then refining on more documents. chains.combine_documents.stuff.StuffDocumentsChain Chain that combines documents by stuffing into context. chains.constitutional_ai.base.ConstitutionalChain Chain for applying constitutional principles. chains.constitutional_ai.models.ConstitutionalPrinciple Class for a constitutional principle. chains.conversation.base.ConversationChain Chain to have a conversation and load context from memory. chains.conversational_retrieval.base.BaseConversationalRetrievalChain Chain for chatting with an index. chains.conversational_retrieval.base.ChatVectorDBChain Chain for chatting with a vector database. chains.conversational_retrieval.base.ConversationalRetrievalChain Chain for chatting with an index. chains.flare.base.FlareChain Create a new model by parsing and validating input data from keyword arguments. chains.flare.base.QuestionGeneratorChain Create a new model by parsing and validating input data from keyword arguments. chains.flare.prompts.FinishedOutputParser Create a new model by parsing and validating input data from keyword arguments. chains.graph_qa.base.GraphQAChain Chain for question-answering against a graph. chains.graph_qa.cypher.GraphCypherQAChain Chain for question-answering against a graph by generating Cypher statements. chains.graph_qa.kuzu.KuzuQAChain
[ 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, 10312, 51425, 28242, 19368, 198, 37292, 5859, 9477, 555, 13021, 264, 8957, 927, 1124, 11, 1243, 35271, 3135, 627, 59458, 90390, 77027, 4875, 1745, 261, 1201, 10312, 49, 261, 1201, 28242, 19368, 198, 37292, 5859, 9477, 555, 13021, 264, 8957, 927, 1124, 11, 1243, 49647, 33434, 3135, 627, 59458, 90390, 77027, 11300, 483, 18875, 483, 28242, 19368, 198, 82214, 9477, 555, 3815, 264, 1176, 1522, 323, 1243, 74285, 389, 810, 9477, 627, 59458, 90390, 77027, 1258, 1386, 7914, 1386, 28242, 19368, 198, 19368, 430, 33511, 9477, 555, 83616, 1139, 2317, 627, 59458, 37228, 34790, 278, 70515, 9105, 4906, 10663, 278, 19368, 198, 19368, 369, 19486, 25543, 16565, 627, 59458, 37228, 34790, 278, 70515, 8399, 4906, 10663, 278, 3617, 16379, 198, 1999, 369, 264, 25543, 17966, 627, 59458, 2932, 23124, 9105, 4906, 23124, 19368, 198, 19368, 311, 617, 264, 10652, 323, 2865, 2317, 505, 5044, 627, 59458, 2932, 3078, 1697, 1311, 9104, 838, 9105, 13316, 1128, 3078, 1697, 12289, 7379, 838, 19368, 198, 19368, 369, 52067, 449, 459, 1963, 627, 59458, 2932, 3078, 1697, 1311, 9104, 838, 9105, 59944, 3866, 3590, 19368, 198, 19368, 369, 52067, 449, 264, 4724, 4729, 627, 59458, 2932, 3078, 1697, 1311, 9104, 838, 9105, 4906, 3078, 1697, 12289, 7379, 838, 19368, 198, 19368, 369, 52067, 449, 459, 1963, 627, 59458, 8265, 548, 9105, 74559, 548, 19368, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 59458, 8265, 548, 9105, 59621, 12846, 19368, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 59458, 8265, 548, 61848, 13044, 1006, 25682, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 59458, 10996, 9153, 64, 9105, 41337, 48622, 19368, 198, 19368, 369, 3488, 12, 598, 86, 4776, 2403, 264, 4876, 627, 59458, 10996, 9153, 64, 57786, 29182, 41337, 57815, 29182, 48622, 19368, 198, 19368, 369, 3488, 12, 598, 86, 4776, 2403, 264, 4876, 555, 24038, 18221, 29182, 12518, 627, 59458, 10996, 9153, 64, 5314, 87425, 11606, 87425, 48622, 19368 ]
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 for query, and then embed that. chains.llm.LLMChain Chain to run queries against LLMs. chains.llm_bash.base.LLMBashChain Chain that interprets a prompt and executes bash code to perform bash operations. chains.llm_bash.prompt.BashOutputParser Parser for bash output. chains.llm_checker.base.LLMCheckerChain Chain for question-answering with self-verification. chains.llm_math.base.LLMMathChain Chain that interprets a prompt and executes python code to do math. chains.llm_requests.LLMRequestsChain Chain that hits a URL and then uses an LLM to parse results. chains.llm_summarization_checker.base.LLMSummarizationCheckerChain Chain for question-answering with self-verification. chains.mapreduce.MapReduceChain Map-reduce chain. chains.moderation.OpenAIModerationChain Pass input through a moderation endpoint. chains.natbot.base.NatBotChain Implement an LLM driven browser. chains.natbot.crawler.ElementInViewPort A typed dictionary containing information about elements in the viewport. chains.openai_functions.citation_fuzzy_match.FactWithEvidence Class representing single statement. chains.openai_functions.citation_fuzzy_match.QuestionAnswer A question and its answer as a list of facts each one should have a source. chains.openai_functions.openapi.SimpleRequestChain Create a new model by parsing and validating input data from keyword arguments.
[ 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, 3141, 5724, 11461, 48622, 19368, 198, 19368, 369, 3488, 12, 598, 86, 4776, 2403, 264, 4876, 555, 24038, 308, 38, 3672, 12518, 627, 59458, 75321, 451, 9105, 3924, 1100, 8942, 45608, 7676, 26566, 1126, 198, 32215, 59159, 2246, 369, 3319, 11, 323, 1243, 11840, 430, 627, 59458, 60098, 76, 1236, 11237, 19368, 198, 19368, 311, 1629, 20126, 2403, 445, 11237, 82, 627, 59458, 60098, 76, 890, 1003, 9105, 1236, 43, 8578, 1003, 19368, 198, 19368, 430, 18412, 2641, 264, 10137, 323, 52535, 28121, 2082, 311, 2804, 28121, 7677, 627, 59458, 60098, 76, 890, 1003, 66499, 1823, 1003, 5207, 6707, 198, 6707, 369, 28121, 2612, 627, 59458, 60098, 76, 63815, 9105, 1236, 11237, 36288, 19368, 198, 19368, 369, 3488, 12, 598, 86, 4776, 449, 659, 12, 51732, 627, 59458, 60098, 76, 66661, 9105, 1236, 43, 8195, 589, 19368, 198, 19368, 430, 18412, 2641, 264, 10137, 323, 52535, 10344, 2082, 311, 656, 7033, 627, 59458, 60098, 76, 38316, 1236, 11237, 36395, 19368, 198, 19368, 430, 13280, 264, 5665, 323, 1243, 5829, 459, 445, 11237, 311, 4820, 3135, 627, 59458, 60098, 76, 10370, 5730, 2065, 63815, 9105, 1236, 43, 4931, 372, 5730, 2065, 36288, 19368, 198, 19368, 369, 3488, 12, 598, 86, 4776, 449, 659, 12, 51732, 627, 59458, 4875, 27369, 10312, 51425, 19368, 198, 2276, 5621, 13677, 8957, 627, 59458, 749, 4414, 367, 13250, 14660, 4414, 367, 19368, 198, 12465, 1988, 1555, 264, 64382, 15233, 627, 59458, 1276, 266, 6465, 9105, 2112, 266, 24406, 19368, 198, 64080, 459, 445, 11237, 16625, 7074, 627, 59458, 1276, 266, 6465, 522, 34469, 20743, 93030, 7229, 198, 32, 33069, 11240, 8649, 2038, 922, 5540, 304, 279, 33353, 627, 59458, 5949, 2192, 32808, 522, 7709, 766, 35858, 10938, 1006, 533, 2409, 93702, 198, 1999, 14393, 3254, 5224, 627, 59458, 5949, 2192, 32808, 522, 7709, 766, 35858, 10938, 59621, 16533, 198, 32, 3488, 323, 1202, 4320, 439, 264, 1160, 315, 13363, 1855, 832, 1288, 617, 264, 2592, 627, 59458, 5949, 2192, 32808, 59920, 25236, 1939, 19368, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 13 ]
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 by parsing and validating input data from keyword arguments. chains.prompt_selector.ConditionalPromptSelector Prompt collection that goes through conditionals. chains.qa_generation.base.QAGenerationChain Create a new model by parsing and validating input data from keyword arguments. chains.qa_with_sources.base.BaseQAWithSourcesChain Question answering with sources over documents. chains.qa_with_sources.base.QAWithSourcesChain Question answering with sources over documents. chains.qa_with_sources.loading.LoadingCallable(...) Interface for loading the combine documents chain. chains.qa_with_sources.retrieval.RetrievalQAWithSourcesChain Question-answering with sources over an index. chains.qa_with_sources.vector_db.VectorDBQAWithSourcesChain Question-answering with sources over a vector database. chains.query_constructor.base.StructuredQueryOutputParser Create a new model by parsing and validating input data from keyword arguments. chains.query_constructor.ir.Comparator(value) Enumerator of the comparison operators. chains.query_constructor.ir.Comparison A comparison to a value. chains.query_constructor.ir.Expr Create a new model by parsing and validating input data from keyword arguments. chains.query_constructor.ir.FilterDirective A filtering expression. chains.query_constructor.ir.Operation A logical operation over other directives. chains.query_constructor.ir.Operator(value) Enumerator of the operations. chains.query_constructor.ir.StructuredQuery Create a new model by parsing and validating input data from keyword arguments. chains.query_constructor.ir.Visitor() Defines interface for IR translation using visitor pattern. chains.query_constructor.parser.QueryTransformer
[ 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, 9105, 1087, 984, 19368, 198, 1453, 4779, 6826, 6830, 4591, 11688, 27972, 627, 59458, 66499, 29990, 13316, 55715, 6001, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 59458, 66499, 29990, 54520, 3079, 55715, 6001, 198, 55715, 4526, 430, 5900, 1555, 3044, 1147, 627, 59458, 11608, 64, 65291, 9105, 10208, 1929, 17699, 19368, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 59458, 11608, 64, 6753, 53996, 9105, 13316, 48622, 2409, 33300, 19368, 198, 14924, 36864, 449, 8336, 927, 9477, 627, 59458, 11608, 64, 6753, 53996, 9105, 10208, 32, 2409, 33300, 19368, 198, 14924, 36864, 449, 8336, 927, 9477, 627, 59458, 11608, 64, 6753, 53996, 25908, 66830, 2277, 41510, 73893, 5160, 369, 8441, 279, 16343, 9477, 8957, 627, 59458, 11608, 64, 6753, 53996, 1351, 9104, 838, 53946, 7379, 838, 48622, 2409, 33300, 19368, 198, 14924, 12, 598, 86, 4776, 449, 8336, 927, 459, 1963, 627, 59458, 11608, 64, 6753, 53996, 48203, 8856, 14621, 3590, 48622, 2409, 33300, 19368, 198, 14924, 12, 598, 86, 4776, 449, 8336, 927, 264, 4724, 4729, 627, 59458, 4891, 67310, 9105, 52545, 3149, 2929, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 59458, 4891, 67310, 64450, 80357, 3764, 340, 10679, 315, 279, 12593, 20197, 627, 59458, 4891, 67310, 64450, 3034, 36642, 198, 32, 12593, 311, 264, 907, 627, 59458, 4891, 67310, 64450, 94367, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 59458, 4891, 67310, 64450, 32796, 63176, 198, 32, 30770, 7645, 627, 59458, 4891, 67310, 64450, 57397, 198, 32, 20406, 5784, 927, 1023, 50353, 627, 59458, 4891, 67310, 64450, 86646, 3764, 340, 10679, 315, 279, 7677, 627, 59458, 4891, 67310, 64450, 52545, 3149, 2929, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 59458, 4891, 67310, 64450, 13, 17215, 746, 74916, 3834, 369, 16646, 14807, 1701, 20792, 5497, 627, 59458, 4891, 67310, 26699, 16060, 47458 ]
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.retrieval_qa.base.BaseRetrievalQA Create a new model by parsing and validating input data from keyword arguments. chains.retrieval_qa.base.RetrievalQA Chain for question-answering against an index. chains.retrieval_qa.base.VectorDBQA Chain for question-answering against a vector database. chains.router.base.MultiRouteChain Use a single chain to route an input to one of multiple candidate chains. chains.router.base.Route(destination, ...) Create new instance of Route(destination, next_inputs) chains.router.base.RouterChain Chain that outputs the name of a destination chain and the inputs to it. chains.router.embedding_router.EmbeddingRouterChain Class that uses embeddings to route between options. chains.router.llm_router.LLMRouterChain A router chain that uses an LLM chain to perform routing. chains.router.llm_router.RouterOutputParser Parser for output of router chain int he multi-prompt chain. chains.router.multi_prompt.MultiPromptChain A multi-route chain that uses an LLM router chain to choose amongst prompts. chains.router.multi_retrieval_qa.MultiRetrievalQAChain A multi-route chain that uses an LLM router chain to choose amongst retrieval qa chains. chains.sequential.SequentialChain Chain where the outputs of one chain feed directly into next. chains.sequential.SimpleSequentialChain Simple chain where the outputs of one step feed directly into next. chains.sql_database.base.SQLDatabaseChain Chain for interacting with SQL Database. chains.sql_database.base.SQLDatabaseSequentialChain Chain for querying SQL database that is a sequential chain.
[ 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, 41510, 73893, 5160, 369, 8441, 279, 16343, 9477, 8957, 627, 59458, 1351, 9104, 838, 9153, 64, 9105, 13316, 12289, 7379, 838, 48622, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 59458, 1351, 9104, 838, 9153, 64, 9105, 53946, 7379, 838, 48622, 198, 19368, 369, 3488, 12, 598, 86, 4776, 2403, 459, 1963, 627, 59458, 1351, 9104, 838, 9153, 64, 9105, 14621, 3590, 48622, 198, 19368, 369, 3488, 12, 598, 86, 4776, 2403, 264, 4724, 4729, 627, 59458, 22909, 9105, 58806, 5004, 19368, 198, 10464, 264, 3254, 8957, 311, 6149, 459, 1988, 311, 832, 315, 5361, 9322, 27271, 627, 59458, 22909, 9105, 59104, 49176, 11, 4194, 32318, 4110, 502, 2937, 315, 9767, 49176, 11, 1828, 29657, 340, 59458, 22909, 9105, 32513, 19368, 198, 19368, 430, 16674, 279, 836, 315, 264, 9284, 8957, 323, 279, 11374, 311, 433, 627, 59458, 22909, 68714, 56687, 58955, 7113, 9713, 19368, 198, 1999, 430, 5829, 71647, 311, 6149, 1990, 2671, 627, 59458, 22909, 60098, 76, 56687, 1236, 11237, 9713, 19368, 198, 32, 9457, 8957, 430, 5829, 459, 445, 11237, 8957, 311, 2804, 30158, 627, 59458, 22909, 60098, 76, 56687, 32513, 5207, 6707, 198, 6707, 369, 2612, 315, 9457, 8957, 528, 568, 7447, 2320, 15091, 8957, 627, 59458, 22909, 52251, 62521, 58806, 55715, 19368, 198, 32, 7447, 82659, 8957, 430, 5829, 459, 445, 11237, 9457, 8957, 311, 5268, 24059, 52032, 627, 59458, 22909, 52251, 1311, 9104, 838, 9153, 64, 58806, 12289, 7379, 838, 48622, 19368, 198, 32, 7447, 82659, 8957, 430, 5829, 459, 445, 11237, 9457, 8957, 311, 5268, 24059, 57470, 89596, 27271, 627, 59458, 4624, 16216, 44923, 19368, 198, 19368, 1405, 279, 16674, 315, 832, 8957, 5510, 6089, 1139, 1828, 627, 59458, 4624, 16216, 25236, 22821, 19368, 198, 16778, 8957, 1405, 279, 16674, 315, 832, 3094, 5510, 6089, 1139, 1828, 627, 59458, 10251, 28441, 9105, 26151, 6116, 19368, 198, 19368, 369, 45830, 449, 8029, 10199, 627, 59458, 10251, 28441, 9105, 26151, 6116, 22821, 19368, 198, 19368, 369, 82198, 8029, 4729, 430, 374, 264, 52100, 8957, 13 ]
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 on a prompt template. chains.graph_qa.cypher.extract_cypher(text) Extract Cypher code from a text. chains.loading.load_chain(path, **kwargs) Unified method for loading a chain from LangChainHub or local fs. chains.loading.load_chain_from_config(...) Load chain from Config Dict. chains.openai_functions.citation_fuzzy_match.create_citation_fuzzy_match_chain(llm) Create a citation fuzzy match chain. chains.openai_functions.extraction.create_extraction_chain(...) Creates a chain that extracts information from a passage. chains.openai_functions.extraction.create_extraction_chain_pydantic(...) Creates a chain that extracts information from a passage using pydantic schema. chains.openai_functions.openapi.get_openapi_chain(spec) Create a chain for querying an API from a OpenAPI spec. chains.openai_functions.openapi.openapi_spec_to_openai_fn(spec) Convert a valid OpenAPI spec to the JSON Schema format expected for OpenAI chains.openai_functions.qa_with_structure.create_qa_with_sources_chain(...) Create a question answering chain that returns an answer with sources. chains.openai_functions.qa_with_structure.create_qa_with_structure_chain(...) Create a question answering chain that returns an answer with sources. chains.openai_functions.tagging.create_tagging_chain(...) Creates a chain that extracts information from a passage. chains.openai_functions.tagging.create_tagging_chain_pydantic(...) Creates a chain that extracts information from a passage. chains.openai_functions.utils.get_llm_kwargs(...) Returns the kwargs for the LLMChain constructor.
[ 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, 26272, 55609, 198, 59458, 90390, 77027, 9105, 8180, 27326, 73893, 4152, 264, 2246, 1139, 264, 925, 3196, 389, 264, 10137, 3896, 627, 59458, 10996, 9153, 64, 57786, 29182, 38458, 669, 88, 29182, 7383, 340, 30059, 18221, 29182, 2082, 505, 264, 1495, 627, 59458, 25908, 5214, 31683, 5698, 11, 4194, 334, 9872, 340, 86479, 1749, 369, 8441, 264, 8957, 505, 23272, 19368, 19876, 477, 2254, 8789, 627, 59458, 25908, 5214, 31683, 5791, 5445, 73893, 6003, 8957, 505, 5649, 30226, 627, 59458, 5949, 2192, 32808, 522, 7709, 766, 35858, 10938, 2581, 669, 7709, 766, 35858, 10938, 31683, 36621, 76, 340, 4110, 264, 45477, 53833, 2489, 8957, 627, 59458, 5949, 2192, 32808, 2272, 27523, 2581, 95942, 31683, 73893, 55968, 264, 8957, 430, 49062, 2038, 505, 264, 21765, 627, 59458, 5949, 2192, 32808, 2272, 27523, 2581, 95942, 31683, 623, 41221, 8322, 73893, 55968, 264, 8957, 430, 49062, 2038, 505, 264, 21765, 1701, 4611, 67, 8322, 11036, 627, 59458, 5949, 2192, 32808, 59920, 673, 11563, 2113, 31683, 39309, 340, 4110, 264, 8957, 369, 82198, 459, 5446, 505, 264, 5377, 7227, 1424, 627, 59458, 5949, 2192, 32808, 59920, 59920, 13908, 2401, 11563, 2192, 15604, 39309, 340, 12281, 264, 2764, 5377, 7227, 1424, 311, 279, 4823, 12824, 3645, 3685, 369, 5377, 15836, 198, 59458, 5949, 2192, 32808, 11608, 64, 6753, 39383, 2581, 9153, 64, 6753, 53996, 31683, 73893, 4110, 264, 3488, 36864, 8957, 430, 4780, 459, 4320, 449, 8336, 627, 59458, 5949, 2192, 32808, 11608, 64, 6753, 39383, 2581, 9153, 64, 6753, 39383, 31683, 73893, 4110, 264, 3488, 36864, 8957, 430, 4780, 459, 4320, 449, 8336, 627, 59458, 5949, 2192, 32808, 12681, 3252, 2581, 9556, 3252, 31683, 73893, 55968, 264, 8957, 430, 49062, 2038, 505, 264, 21765, 627, 59458, 5949, 2192, 32808, 12681, 3252, 2581, 9556, 3252, 31683, 623, 41221, 8322, 73893, 55968, 264, 8957, 430, 49062, 2038, 505, 264, 21765, 627, 59458, 5949, 2192, 32808, 8576, 673, 44095, 76, 37335, 73893, 16851, 279, 16901, 369, 279, 445, 11237, 19368, 4797, 13 ]
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. chains.query_constructor.base.load_query_constructor_chain(...) Load a query constructor chain. :param llm: BaseLanguageModel to use for the chain. :param document_contents: The contents of the document to be queried. :param attribute_info: A list of AttributeInfo objects describing the attributes of the document. :param examples: Optional list of examples to use for the chain. :param allowed_comparators: An optional list of allowed comparators. :param allowed_operators: An optional list of allowed operators. :param enable_limit: Whether to enable the limit operator. Defaults to False. :param **kwargs:. chains.query_constructor.parser.get_parser([...]) Returns a parser for the query language. chains.question_answering.__init__.load_qa_chain(llm) Load question answering chain. chains.summarize.__init__.load_summarize_chain(llm) Load summarizing chain. langchain.chat_models: Chat Models¶ Classes¶ chat_models.anthropic.ChatAnthropic Wrapper around Anthropic's large language model. chat_models.azure_openai.AzureChatOpenAI Wrapper around Azure OpenAI Chat Completion API. chat_models.base.BaseChatModel Create a new model by parsing and validating input data from keyword arguments. chat_models.base.SimpleChatModel Create a new model by parsing and validating input data from keyword arguments. chat_models.fake.FakeListChatModel Fake ChatModel for testing purposes. chat_models.google_palm.ChatGooglePalm Wrapper around Google's PaLM Chat API.
[ 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, 279, 4221, 1646, 374, 264, 445, 11237, 627, 59458, 11608, 64, 6753, 53996, 25908, 5214, 9153, 64, 6753, 53996, 31683, 36621, 76, 340, 6003, 3488, 36864, 449, 8336, 8957, 627, 59458, 4891, 67310, 9105, 5214, 5857, 67310, 31683, 73893, 6003, 264, 3319, 4797, 8957, 13, 551, 913, 9507, 76, 25, 5464, 14126, 1747, 311, 1005, 369, 279, 8957, 13, 551, 913, 2246, 17096, 25, 578, 8970, 315, 279, 2246, 311, 387, 79002, 13, 551, 913, 7180, 3186, 25, 362, 1160, 315, 17170, 1767, 6302, 23524, 667, 279, 8365, 315, 279, 2246, 13, 551, 913, 10507, 25, 12536, 1160, 315, 10507, 311, 1005, 369, 279, 8957, 13, 551, 913, 5535, 3038, 1768, 3046, 25, 1556, 10309, 1160, 315, 5535, 7809, 3046, 13, 551, 913, 5535, 26716, 3046, 25, 1556, 10309, 1160, 315, 5535, 20197, 13, 551, 913, 7431, 15106, 25, 13440, 311, 7431, 279, 4017, 5793, 13, 37090, 311, 3641, 13, 551, 913, 3146, 9872, 25, 627, 59458, 4891, 67310, 26699, 673, 19024, 83566, 2608, 16851, 264, 6871, 369, 279, 3319, 4221, 627, 59458, 32846, 61901, 86, 4776, 4952, 2381, 19247, 1096, 9153, 64, 31683, 36621, 76, 340, 6003, 3488, 36864, 8957, 627, 59458, 13485, 5730, 553, 4952, 2381, 19247, 1096, 10370, 5730, 553, 31683, 36621, 76, 340, 6003, 29385, 4954, 8957, 627, 5317, 8995, 27215, 31892, 25, 13149, 27972, 55609, 198, 20678, 55609, 198, 9884, 31892, 10985, 339, 45036, 59944, 62804, 45036, 198, 11803, 2212, 16989, 45036, 596, 3544, 4221, 1646, 627, 9884, 31892, 71340, 11563, 2192, 58927, 16047, 5109, 15836, 198, 11803, 2212, 35219, 5377, 15836, 13149, 57350, 5446, 627, 9884, 31892, 9105, 13316, 16047, 1747, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 9884, 31892, 9105, 25236, 16047, 1747, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 9884, 31892, 95724, 1006, 731, 861, 16047, 1747, 198, 53417, 13149, 1747, 369, 7649, 10096, 627, 9884, 31892, 5831, 623, 7828, 59944, 14783, 47, 7828, 198, 11803, 2212, 5195, 596, 16056, 11237, 13149, 5446, 13 ]
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 Wrapper around OpenAI Chat large language models and PromptLayer. chat_models.vertexai.ChatVertexAI Wrapper around Vertex AI large language models. Functions¶ chat_models.google_palm.chat_with_retry(llm, ...) Use tenacity to retry the completion call. langchain.client: Client¶ LangChain+ Client. Classes¶ client.runner_utils.InputFormatError Raised when the input format is invalid. Functions¶ client.runner_utils.run_llm(llm, inputs, ...) Run the language model on the example. client.runner_utils.run_llm_or_chain(...[, ...]) Run the Chain or language model synchronously. client.runner_utils.run_on_dataset(...[, ...]) Run the Chain or language model on a dataset and store traces to the specified project name. client.runner_utils.run_on_examples(...[, ...]) Run the Chain or language model on examples and store traces to the specified project name. langchain.docstore: Docstore¶ Wrappers on top of docstores. Classes¶ docstore.arbitrary_fn.DocstoreFn(lookup_fn) Langchain Docstore via arbitrary lookup function. docstore.base.AddableMixin() Mixin class that supports adding texts. docstore.base.Docstore() Interface to access to place that stores documents. docstore.in_memory.InMemoryDocstore(_dict) Simple in memory docstore in the form of a dict. docstore.wikipedia.Wikipedia() Wrapper around wikipedia API.
[ 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, 16056, 11237, 5446, 627, 9884, 31892, 5949, 2192, 59944, 5109, 15836, 198, 11803, 2212, 5377, 15836, 13149, 3544, 4221, 4211, 627, 9884, 31892, 66499, 10546, 11563, 2192, 1087, 15091, 9368, 16047, 5109, 15836, 198, 11803, 2212, 5377, 15836, 13149, 3544, 4221, 4211, 323, 60601, 9368, 627, 9884, 31892, 48375, 2192, 59944, 8484, 15836, 198, 11803, 2212, 24103, 15592, 3544, 4221, 4211, 627, 26272, 55609, 198, 9884, 31892, 5831, 623, 7828, 27215, 6753, 63845, 36621, 76, 11, 4194, 32318, 10464, 5899, 4107, 311, 23515, 279, 9954, 1650, 627, 5317, 8995, 6718, 25, 8589, 55609, 198, 27317, 19368, 10, 8589, 627, 20678, 55609, 198, 3045, 42328, 17758, 16521, 4152, 1480, 198, 96014, 994, 279, 1988, 3645, 374, 8482, 627, 26272, 55609, 198, 3045, 42328, 17758, 7789, 44095, 76, 36621, 76, 11, 4194, 25986, 11, 4194, 32318, 6869, 279, 4221, 1646, 389, 279, 3187, 627, 3045, 42328, 17758, 7789, 44095, 76, 8908, 31683, 19381, 38372, 4194, 1131, 2608, 6869, 279, 29625, 477, 4221, 1646, 14453, 7162, 627, 3045, 42328, 17758, 7789, 4570, 19536, 19381, 38372, 4194, 1131, 2608, 6869, 279, 29625, 477, 4221, 1646, 389, 264, 10550, 323, 3637, 35483, 311, 279, 5300, 2447, 836, 627, 3045, 42328, 17758, 7789, 4570, 46379, 19381, 38372, 4194, 1131, 2608, 6869, 279, 29625, 477, 4221, 1646, 389, 10507, 323, 3637, 35483, 311, 279, 5300, 2447, 836, 627, 5317, 8995, 24595, 4412, 25, 22452, 4412, 55609, 198, 36314, 28921, 389, 1948, 315, 4733, 44569, 627, 20678, 55609, 198, 5349, 4412, 17126, 88951, 15604, 43552, 4412, 25955, 7, 21696, 15604, 340, 27317, 8995, 22452, 4412, 4669, 25142, 19128, 734, 627, 5349, 4412, 9105, 1943, 481, 39556, 746, 39556, 538, 430, 11815, 7999, 22755, 627, 5349, 4412, 9105, 43552, 4412, 746, 5160, 311, 2680, 311, 2035, 430, 10756, 9477, 627, 5349, 4412, 1896, 19745, 5450, 10869, 9743, 4412, 2551, 8644, 340, 16778, 304, 5044, 4733, 4412, 304, 279, 1376, 315, 264, 6587, 627, 5349, 4412, 34466, 1196, 15288, 746, 11803, 2212, 59318, 5446, 13 ]
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 files. document_loaders.airtable.AirtableLoader(...) Loader for Airtable tables. document_loaders.apify_dataset.ApifyDatasetLoader Logic for loading documents from Apify datasets. document_loaders.arxiv.ArxivLoader(query[, ...]) Loads a query result from arxiv.org into a list of Documents. document_loaders.azlyrics.AZLyricsLoader(...) Loader that loads AZLyrics webpages. document_loaders.azure_blob_storage_container.AzureBlobStorageContainerLoader(...) Loading logic for loading documents from Azure Blob Storage. document_loaders.azure_blob_storage_file.AzureBlobStorageFileLoader(...) Loading logic for loading documents from Azure Blob Storage. document_loaders.base.BaseBlobParser() Abstract interface for blob parsers. document_loaders.base.BaseLoader() Interface for loading documents. document_loaders.bibtex.BibtexLoader(...[, ...]) Loads a bibtex file into a list of Documents. document_loaders.bigquery.BigQueryLoader(query) Loads a query result from BigQuery into a list of documents. document_loaders.bilibili.BiliBiliLoader(...) Loader that loads bilibili transcripts. document_loaders.blackboard.BlackboardLoader(...) Loader that loads all documents from a Blackboard course. document_loaders.blob_loaders.file_system.FileSystemBlobLoader(path, *) Blob loader for the local file system. document_loaders.blob_loaders.schema.Blob A blob is used to represent raw data by either reference or value.
[ 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, 316, 9360, 5698, 38372, 4194, 1131, 2608, 10130, 449, 1853, 627, 6190, 12693, 388, 61602, 3867, 9643, 885, 404, 3867, 5483, 9360, 73893, 9360, 430, 21577, 2254, 3805, 3867, 3024, 3626, 627, 6190, 12693, 388, 61602, 2048, 885, 404, 2048, 9360, 73893, 9360, 369, 6690, 2048, 12920, 627, 6190, 12693, 388, 4795, 1463, 19536, 23676, 1463, 34463, 9360, 198, 27849, 369, 8441, 9477, 505, 5345, 1463, 30525, 627, 6190, 12693, 388, 17126, 89833, 885, 12940, 344, 9360, 10974, 38372, 4194, 1131, 2608, 79617, 264, 3319, 1121, 505, 802, 89833, 2726, 1139, 264, 1160, 315, 45890, 627, 6190, 12693, 388, 13, 1394, 398, 6329, 885, 57, 48412, 6329, 9360, 73893, 9360, 430, 21577, 31976, 48412, 6329, 3566, 11014, 627, 6190, 12693, 388, 71340, 47008, 24192, 16226, 58927, 39085, 5913, 4603, 9360, 73893, 8746, 12496, 369, 8441, 9477, 505, 35219, 50539, 15035, 627, 6190, 12693, 388, 71340, 47008, 24192, 2517, 58927, 39085, 5913, 1738, 9360, 73893, 8746, 12496, 369, 8441, 9477, 505, 35219, 50539, 15035, 627, 6190, 12693, 388, 9105, 13316, 39085, 6707, 746, 16328, 3834, 369, 24295, 88173, 627, 6190, 12693, 388, 9105, 13316, 9360, 746, 5160, 369, 8441, 9477, 627, 6190, 12693, 388, 960, 20938, 327, 1823, 20938, 327, 9360, 19381, 38372, 4194, 1131, 2608, 79617, 264, 293, 20938, 327, 1052, 1139, 264, 1160, 315, 45890, 627, 6190, 12693, 388, 58778, 1663, 70323, 2929, 9360, 10974, 340, 79617, 264, 3319, 1121, 505, 6295, 2929, 1139, 264, 1160, 315, 9477, 627, 6190, 12693, 388, 960, 31059, 4008, 1823, 4008, 33, 4008, 9360, 73893, 9360, 430, 21577, 20934, 87048, 61412, 627, 6190, 12693, 388, 22220, 2541, 29929, 2541, 9360, 73893, 9360, 430, 21577, 682, 9477, 505, 264, 5348, 2541, 3388, 627, 6190, 12693, 388, 97381, 12693, 388, 9914, 18155, 87924, 39085, 9360, 5698, 11, 4194, 39060, 39085, 16432, 369, 279, 2254, 1052, 1887, 627, 6190, 12693, 388, 97381, 12693, 388, 31992, 1823, 1718, 198, 32, 24295, 374, 1511, 311, 4097, 7257, 828, 555, 3060, 5905, 477, 907, 13 ]
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.BlockchainDocumentLoader(...) Loads elements from a blockchain smart contract into Langchain documents. document_loaders.blockchain.BlockchainType(value) Enumerator of the supported blockchains. document_loaders.chatgpt.ChatGPTLoader(log_file) Loader that loads conversations from exported ChatGPT data. document_loaders.college_confidential.CollegeConfidentialLoader(...) Loader that loads College Confidential webpages. document_loaders.confluence.ConfluenceLoader(url) Load Confluence pages. document_loaders.confluence.ContentFormat(value) Enumerator of the content formats of Confluence page. document_loaders.conllu.CoNLLULoader(file_path) Load CoNLL-U files. document_loaders.csv_loader.CSVLoader(file_path) Loads a CSV file into a list of documents. document_loaders.csv_loader.UnstructuredCSVLoader(...) Loader that uses unstructured to load CSV files. document_loaders.dataframe.DataFrameLoader(...) Load Pandas DataFrames. document_loaders.diffbot.DiffbotLoader(...) Loader that loads Diffbot file json. document_loaders.directory.DirectoryLoader(...) Loading logic for loading documents from a directory. document_loaders.discord.DiscordChatLoader(...) Load Discord chat logs. document_loaders.docugami.DocugamiLoader Loader that loads processed docs from Docugami. document_loaders.duckdb_loader.DuckDBLoader(query) Loads a query result from DuckDB into a list of documents. document_loaders.email.OutlookMessageLoader(...) Loader that loads Outlook Message files using extract_msg.
[ 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, 7659, 10432, 15097, 9360, 73893, 6003, 13674, 31084, 439, 7855, 1052, 1161, 4390, 6190, 12693, 388, 16072, 8995, 29577, 8995, 7676, 9360, 73893, 79617, 5540, 505, 264, 18428, 7941, 5226, 1139, 23272, 8995, 9477, 627, 6190, 12693, 388, 16072, 8995, 29577, 8995, 941, 3764, 340, 10679, 315, 279, 7396, 2565, 59458, 627, 6190, 12693, 388, 27215, 70, 418, 59944, 38, 2898, 9360, 12814, 2517, 340, 9360, 430, 21577, 21633, 505, 35990, 13149, 38, 2898, 828, 627, 6190, 12693, 388, 13720, 4862, 16445, 11484, 55750, 4862, 15949, 11484, 9360, 73893, 9360, 430, 21577, 9304, 74465, 3566, 11014, 627, 6190, 12693, 388, 2932, 41116, 4906, 41116, 9360, 6659, 340, 6003, 1221, 41116, 6959, 627, 6190, 12693, 388, 2932, 41116, 12900, 4152, 3764, 340, 10679, 315, 279, 2262, 20447, 315, 1221, 41116, 2199, 627, 6190, 12693, 388, 2932, 61849, 53214, 45, 4178, 1112, 41066, 4971, 2703, 340, 6003, 3623, 45, 4178, 35681, 3626, 627, 6190, 12693, 388, 11468, 22927, 732, 18282, 9360, 4971, 2703, 340, 79617, 264, 28545, 1052, 1139, 264, 1160, 315, 9477, 627, 6190, 12693, 388, 11468, 22927, 10840, 52243, 45309, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 28545, 3626, 627, 6190, 12693, 388, 2245, 6906, 21756, 9360, 73893, 6003, 34606, 300, 2956, 35145, 627, 6190, 12693, 388, 41779, 6465, 99163, 6465, 9360, 73893, 9360, 430, 21577, 29469, 6465, 1052, 3024, 627, 6190, 12693, 388, 61037, 55207, 9360, 73893, 8746, 12496, 369, 8441, 9477, 505, 264, 6352, 627, 6190, 12693, 388, 62989, 541, 920, 3510, 541, 16047, 9360, 73893, 6003, 35164, 6369, 18929, 627, 6190, 12693, 388, 24595, 773, 10830, 43552, 773, 10830, 9360, 198, 9360, 430, 21577, 15590, 27437, 505, 22452, 773, 10830, 627, 6190, 12693, 388, 962, 1983, 2042, 22927, 920, 1983, 3590, 9360, 10974, 340, 79617, 264, 3319, 1121, 505, 46870, 3590, 1139, 264, 1160, 315, 9477, 627, 6190, 12693, 388, 10048, 48278, 7349, 2097, 9360, 73893, 9360, 430, 21577, 42158, 4961, 3626, 1701, 8819, 6619, 13 ]
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.EmbaasBlobLoader Wrapper around embaas's document byte loader service. document_loaders.embaas.EmbaasDocumentExtractionParameters Parameters for the embaas document extraction API. document_loaders.embaas.EmbaasDocumentExtractionPayload Payload for the Embaas document extraction API. document_loaders.embaas.EmbaasLoader Wrapper around embaas's document loader service. document_loaders.epub.UnstructuredEPubLoader(...) Loader that uses unstructured to load epub files. document_loaders.evernote.EverNoteLoader(...) EverNote Loader. document_loaders.excel.UnstructuredExcelLoader(...) Loader that uses unstructured to load Microsoft Excel files. document_loaders.facebook_chat.FacebookChatLoader(path) Loader that loads Facebook messages json directory dump. document_loaders.fauna.FaunaLoader(query, ...) FaunaDB Loader. document_loaders.figma.FigmaFileLoader(...) Loader that loads Figma file json. document_loaders.gcs_directory.GCSDirectoryLoader(...) Loading logic for loading documents from GCS. document_loaders.gcs_file.GCSFileLoader(...) Loading logic for loading documents from GCS. document_loaders.generic.GenericLoader(...) A generic document loader. document_loaders.git.GitLoader(repo_path[, ...]) Loads files from a Git repository into a list of documents. document_loaders.gitbook.GitbookLoader(web_page) Load GitBook data. document_loaders.github.BaseGitHubLoader
[ 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, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 6190, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 39085, 9360, 198, 11803, 2212, 991, 4749, 300, 596, 2246, 5027, 16432, 2532, 627, 6190, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 7676, 849, 27523, 9905, 198, 9905, 369, 279, 991, 4749, 300, 2246, 33289, 5446, 627, 6190, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 7676, 849, 27523, 30783, 198, 30783, 369, 279, 30227, 64, 300, 2246, 33289, 5446, 627, 6190, 12693, 388, 9485, 4749, 300, 13, 2321, 4749, 300, 9360, 198, 11803, 2212, 991, 4749, 300, 596, 2246, 16432, 2532, 627, 6190, 12693, 388, 34476, 392, 10840, 52243, 9377, 392, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 65049, 3626, 627, 6190, 12693, 388, 1770, 424, 10179, 5253, 424, 9290, 9360, 73893, 44587, 9290, 28911, 627, 6190, 12693, 388, 2272, 3757, 10840, 52243, 20656, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 5210, 21705, 3626, 627, 6190, 12693, 388, 20172, 36153, 1006, 4598, 16047, 9360, 5698, 340, 9360, 430, 21577, 5690, 6743, 3024, 6352, 10488, 627, 6190, 12693, 388, 64214, 8733, 1006, 64, 8733, 9360, 10974, 11, 4194, 32318, 48334, 8733, 3590, 28911, 627, 6190, 12693, 388, 840, 11750, 1006, 11750, 1738, 9360, 73893, 9360, 430, 21577, 435, 11750, 1052, 3024, 627, 6190, 12693, 388, 1326, 4942, 15191, 1246, 34, 5608, 4863, 9360, 73893, 8746, 12496, 369, 8441, 9477, 505, 480, 6546, 627, 6190, 12693, 388, 1326, 4942, 2517, 1246, 6546, 1738, 9360, 73893, 8746, 12496, 369, 8441, 9477, 505, 480, 6546, 627, 6190, 12693, 388, 43367, 4439, 9360, 73893, 32, 14281, 2246, 16432, 627, 6190, 12693, 388, 33899, 1246, 275, 9360, 51708, 2703, 38372, 4194, 1131, 2608, 79617, 3626, 505, 264, 21804, 12827, 1139, 264, 1160, 315, 9477, 627, 6190, 12693, 388, 33899, 2239, 1246, 275, 2239, 9360, 40869, 6257, 340, 6003, 21804, 7280, 828, 627, 6190, 12693, 388, 11267, 13316, 76715, 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. document_loaders.gutenberg.GutenbergLoader(...) Loader that uses urllib to load .txt web files. document_loaders.helpers.FileEncoding(...) Create new instance of FileEncoding(encoding, confidence, language) document_loaders.hn.HNLoader(web_path[, ...]) Load Hacker News data from either main page results or the comments page. document_loaders.html.UnstructuredHTMLLoader(...) Loader that uses unstructured to load HTML files. document_loaders.html_bs.BSHTMLLoader(file_path) Loader that uses beautiful soup to parse HTML files. document_loaders.hugging_face_dataset.HuggingFaceDatasetLoader(path) Loading logic for loading documents from the Hugging Face Hub. document_loaders.ifixit.IFixitLoader(web_path) Load iFixit repair guides, device wikis and answers. document_loaders.image.UnstructuredImageLoader(...) Loader that uses unstructured to load image files, such as PNGs and JPGs. document_loaders.image_captions.ImageCaptionLoader(...) Loader that loads the captions of an image document_loaders.imsdb.IMSDbLoader(web_path) Loader that loads IMSDb webpages. document_loaders.iugu.IuguLoader(resource[, ...]) Loader that fetches data from IUGU. document_loaders.joplin.JoplinLoader([...]) Loader that fetches notes from Joplin. document_loaders.json_loader.JSONLoader(...) Loads a JSON file and references a jq schema provided to load the text into documents.
[ 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, 505, 16570, 6105, 627, 6190, 12693, 388, 18487, 540, 839, 58035, 61493, 33557, 9360, 198, 9360, 430, 21577, 5195, 61791, 505, 5195, 16542, 627, 6190, 12693, 388, 1326, 45533, 1246, 45533, 9360, 73893, 9360, 430, 5829, 25057, 311, 2865, 662, 8754, 3566, 3626, 627, 6190, 12693, 388, 48914, 8744, 15032, 73893, 4110, 502, 2937, 315, 2958, 15032, 86963, 11, 12410, 11, 4221, 340, 6190, 12693, 388, 870, 77, 3924, 45, 9360, 40869, 2703, 38372, 4194, 1131, 2608, 6003, 89165, 5513, 828, 505, 3060, 1925, 2199, 3135, 477, 279, 6170, 2199, 627, 6190, 12693, 388, 2628, 10840, 52243, 5959, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 9492, 3626, 627, 6190, 12693, 388, 2628, 69650, 1823, 50, 5959, 9360, 4971, 2703, 340, 9360, 430, 5829, 6366, 19724, 311, 4820, 9492, 3626, 627, 6190, 12693, 388, 870, 36368, 32085, 19536, 3924, 36368, 16680, 34463, 9360, 5698, 340, 8746, 12496, 369, 8441, 9477, 505, 279, 473, 36368, 19109, 27636, 627, 6190, 12693, 388, 36531, 953, 275, 2506, 27048, 275, 9360, 40869, 2703, 340, 6003, 602, 27048, 275, 13023, 28292, 11, 3756, 98275, 285, 323, 11503, 627, 6190, 12693, 388, 7502, 10840, 52243, 1945, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 2217, 3626, 11, 1778, 439, 42739, 82, 323, 90056, 82, 627, 6190, 12693, 388, 7502, 669, 2756, 919, 7680, 33223, 9360, 73893, 9360, 430, 21577, 279, 78888, 315, 459, 2217, 198, 6190, 12693, 388, 13, 5861, 2042, 49029, 5608, 65, 9360, 40869, 2703, 340, 9360, 430, 21577, 88377, 8153, 3566, 11014, 627, 6190, 12693, 388, 8777, 30885, 2506, 30885, 9360, 24517, 38372, 4194, 1131, 2608, 9360, 430, 7963, 288, 828, 505, 358, 3014, 52, 627, 6190, 12693, 388, 1190, 454, 3817, 3587, 454, 3817, 9360, 83566, 2608, 9360, 430, 7963, 288, 8554, 505, 622, 454, 3817, 627, 6190, 12693, 388, 4421, 22927, 18494, 9360, 73893, 79617, 264, 4823, 1052, 323, 15407, 264, 45748, 11036, 3984, 311, 2865, 279, 1495, 1139, 9477, 13 ]
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.mastodon.MastodonTootsLoader(...) Mastodon toots loader. document_loaders.max_compute.MaxComputeLoader(...) Loads a query result from Alibaba Cloud MaxCompute table into documents. document_loaders.mediawikidump.MWDumpLoader(...) Load MediaWiki dump from XML file . document_loaders.merge.MergedDataLoader(loaders) Merge documents from a list of loaders document_loaders.mhtml.MHTMLLoader(file_path) Loader that uses beautiful soup to parse HTML files. document_loaders.modern_treasury.ModernTreasuryLoader(...) Loader that fetches data from Modern Treasury. document_loaders.notebook.NotebookLoader(path) Loader that loads .ipynb notebook files. document_loaders.notion.NotionDirectoryLoader(path) Loader that loads Notion directory dump. document_loaders.notiondb.NotionDBLoader(...) Notion DB Loader. document_loaders.obsidian.ObsidianLoader(path) Loader that loads Obsidian files from disk. document_loaders.odt.UnstructuredODTLoader(...) Loader that uses unstructured to load open office ODT files. document_loaders.onedrive.OneDriveLoader Create a new model by parsing and validating input data from keyword arguments. document_loaders.onedrive_file.OneDriveFileLoader Create a new model by parsing and validating input data from keyword arguments. document_loaders.open_city_data.OpenCityDataLoader(...) Loader that loads Open city data. document_loaders.org_mode.UnstructuredOrgModeLoader(...)
[ 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, 2246, 627, 6190, 12693, 388, 18913, 2996, 10840, 52243, 69105, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 51594, 3626, 627, 6190, 12693, 388, 749, 561, 77152, 1345, 561, 77152, 1271, 2469, 9360, 73893, 44, 561, 77152, 311, 2469, 16432, 627, 6190, 12693, 388, 6817, 58128, 14877, 47354, 9360, 73893, 79617, 264, 3319, 1121, 505, 55464, 15161, 7639, 47354, 2007, 1139, 9477, 627, 6190, 12693, 388, 749, 19586, 675, 1609, 307, 1538, 1345, 18023, 1538, 9360, 73893, 6003, 7972, 54996, 10488, 505, 12138, 1052, 16853, 6190, 12693, 388, 26052, 1345, 52625, 1061, 9360, 50192, 388, 340, 53196, 9477, 505, 264, 1160, 315, 69674, 198, 6190, 12693, 388, 749, 1580, 1345, 5959, 9360, 4971, 2703, 340, 9360, 430, 5829, 6366, 19724, 311, 4820, 9492, 3626, 627, 6190, 12693, 388, 11169, 944, 530, 265, 27194, 24002, 944, 66875, 27194, 9360, 73893, 9360, 430, 7963, 288, 828, 505, 18766, 32991, 627, 6190, 12693, 388, 41431, 2239, 70028, 2239, 9360, 5698, 340, 9360, 430, 21577, 662, 575, 1910, 65, 38266, 3626, 627, 6190, 12693, 388, 1276, 6082, 2112, 6082, 9494, 9360, 5698, 340, 9360, 430, 21577, 2876, 290, 6352, 10488, 627, 6190, 12693, 388, 1276, 6082, 2042, 2112, 6082, 3590, 9360, 73893, 2688, 290, 6078, 28911, 627, 6190, 12693, 388, 50375, 36742, 8548, 1302, 36742, 9360, 5698, 340, 9360, 430, 21577, 51541, 36742, 3626, 505, 13668, 627, 6190, 12693, 388, 72699, 83, 10840, 52243, 2114, 51, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 1825, 5274, 507, 10822, 3626, 627, 6190, 12693, 388, 3572, 291, 58035, 38167, 33557, 9360, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 6190, 12693, 388, 3572, 291, 58035, 2517, 38167, 33557, 1738, 9360, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 6190, 12693, 388, 5949, 26019, 1807, 13250, 13020, 1061, 9360, 73893, 9360, 430, 21577, 5377, 3363, 828, 627, 6190, 12693, 388, 2726, 7450, 10840, 52243, 43537, 3720, 9360, 48627 ]
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 to determine how to parse a blob. document_loaders.parsers.grobid.GrobidParser(...) Loader that uses Grobid to load article PDF files. document_loaders.parsers.grobid.ServerUnavailableException document_loaders.parsers.html.bs4.BS4HTMLParser(*) Parser that uses beautiful soup to parse HTML files. document_loaders.parsers.language.code_segmenter.CodeSegmenter(code) document_loaders.parsers.language.javascript.JavaScriptSegmenter(code) document_loaders.parsers.language.language_parser.LanguageParser([...]) Language parser that split code using the respective language syntax. document_loaders.parsers.language.python.PythonSegmenter(code) document_loaders.parsers.pdf.PDFMinerParser() Parse PDFs with PDFMiner. document_loaders.parsers.pdf.PDFPlumberParser([...]) Parse PDFs with PDFPlumber. document_loaders.parsers.pdf.PyMuPDFParser([...]) Parse PDFs with PyMuPDF. document_loaders.parsers.pdf.PyPDFParser([...]) Loads a PDF with pypdf and chunks at character level. document_loaders.parsers.pdf.PyPDFium2Parser() Parse PDFs with PyPDFium2. document_loaders.parsers.txt.TextParser() Parser for text blobs. document_loaders.pdf.BasePDFLoader(file_path) Base loader class for PDF files. document_loaders.pdf.MathpixPDFLoader(file_path) Initialize with file path. document_loaders.pdf.OnlinePDFLoader(file_path) Loader that loads online PDFs.
[ 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, 6707, 746, 3246, 3191, 323, 4820, 7855, 3626, 627, 6190, 12693, 388, 76592, 43367, 1345, 35972, 29815, 6707, 73893, 32, 6871, 430, 5829, 46370, 21484, 311, 8417, 1268, 311, 4820, 264, 24295, 627, 6190, 12693, 388, 76592, 1326, 299, 21301, 1246, 299, 21301, 6707, 73893, 9360, 430, 5829, 18370, 21301, 311, 2865, 4652, 11612, 3626, 627, 6190, 12693, 388, 76592, 1326, 299, 21301, 23858, 94028, 1378, 198, 6190, 12693, 388, 76592, 2628, 54158, 19, 1823, 50, 19, 5959, 6707, 4163, 340, 6707, 430, 5829, 6366, 19724, 311, 4820, 9492, 3626, 627, 6190, 12693, 388, 76592, 32733, 10421, 29161, 261, 20889, 21766, 261, 16221, 340, 6190, 12693, 388, 76592, 32733, 1190, 6304, 55459, 6035, 21766, 261, 16221, 340, 6190, 12693, 388, 76592, 32733, 32733, 19024, 58058, 6707, 83566, 2608, 14126, 6871, 430, 6859, 2082, 1701, 279, 20081, 4221, 20047, 627, 6190, 12693, 388, 76592, 32733, 44293, 1087, 27993, 21766, 261, 16221, 340, 6190, 12693, 388, 76592, 16378, 1087, 5375, 6349, 261, 6707, 746, 14802, 11612, 82, 449, 11612, 6349, 261, 627, 6190, 12693, 388, 76592, 16378, 1087, 5375, 2169, 900, 6707, 83566, 2608, 14802, 11612, 82, 449, 11612, 2169, 900, 627, 6190, 12693, 388, 76592, 16378, 1087, 88, 40220, 24317, 6707, 83566, 2608, 14802, 11612, 82, 449, 5468, 40220, 24317, 627, 6190, 12693, 388, 76592, 16378, 1087, 88, 24317, 6707, 83566, 2608, 79617, 264, 11612, 449, 281, 1100, 3013, 323, 27855, 520, 3752, 2237, 627, 6190, 12693, 388, 76592, 16378, 1087, 88, 24317, 2411, 17, 6707, 746, 14802, 11612, 82, 449, 5468, 24317, 2411, 17, 627, 6190, 12693, 388, 76592, 3996, 2021, 6707, 746, 6707, 369, 1495, 77999, 627, 6190, 12693, 388, 16378, 13316, 24317, 9360, 4971, 2703, 340, 4066, 16432, 538, 369, 11612, 3626, 627, 6190, 12693, 388, 16378, 47537, 36584, 24317, 9360, 4971, 2703, 340, 10130, 449, 1052, 1853, 627, 6190, 12693, 388, 16378, 8231, 1074, 24317, 9360, 4971, 2703, 340, 9360, 430, 21577, 2930, 11612, 82, 13 ]
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(file_path) Loader that uses pdfplumber to load PDF files. document_loaders.pdf.PyMuPDFLoader(file_path) Loader that uses PyMuPDF to load PDF files. document_loaders.pdf.PyPDFDirectoryLoader(path) Loads a directory with PDF files with pypdf and chunks at character level. document_loaders.pdf.PyPDFLoader(file_path) Loads a PDF with pypdf and chunks at character level. document_loaders.pdf.PyPDFium2Loader(file_path) Loads a PDF with pypdfium2 and chunks at character level. document_loaders.pdf.UnstructuredPDFLoader(...) Loader that uses unstructured to load PDF files. document_loaders.powerpoint.UnstructuredPowerPointLoader(...) Loader that uses unstructured to load powerpoint files. document_loaders.psychic.PsychicLoader(...) Loader that loads documents from Psychic.dev. document_loaders.pyspark_dataframe.PySparkDataFrameLoader([...]) Load PySpark DataFrames document_loaders.python.PythonLoader(file_path) Load Python files, respecting any non-default encoding if specified. document_loaders.readthedocs.ReadTheDocsLoader(path) Loader that loads ReadTheDocs documentation directory dump. document_loaders.recursive_url_loader.RecursiveUrlLoader(url) Loader that loads all child links from a given url. document_loaders.reddit.RedditPostsLoader(...) Reddit posts loader. document_loaders.roam.RoamLoader(path)
[ 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, 627, 6190, 12693, 388, 16378, 1087, 5375, 6349, 261, 24317, 300, 5959, 9360, 73893, 9360, 430, 5829, 11612, 6349, 261, 311, 2865, 11612, 3626, 439, 9492, 2262, 627, 6190, 12693, 388, 16378, 1087, 5375, 2169, 900, 9360, 4971, 2703, 340, 9360, 430, 5829, 13072, 501, 900, 311, 2865, 11612, 3626, 627, 6190, 12693, 388, 16378, 1087, 88, 40220, 24317, 9360, 4971, 2703, 340, 9360, 430, 5829, 5468, 40220, 24317, 311, 2865, 11612, 3626, 627, 6190, 12693, 388, 16378, 1087, 88, 24317, 9494, 9360, 5698, 340, 79617, 264, 6352, 449, 11612, 3626, 449, 281, 1100, 3013, 323, 27855, 520, 3752, 2237, 627, 6190, 12693, 388, 16378, 1087, 88, 24317, 9360, 4971, 2703, 340, 79617, 264, 11612, 449, 281, 1100, 3013, 323, 27855, 520, 3752, 2237, 627, 6190, 12693, 388, 16378, 1087, 88, 24317, 2411, 17, 9360, 4971, 2703, 340, 79617, 264, 11612, 449, 281, 1100, 3013, 2411, 17, 323, 27855, 520, 3752, 2237, 627, 6190, 12693, 388, 16378, 10840, 52243, 24317, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 11612, 3626, 627, 6190, 12693, 388, 40645, 2837, 10840, 52243, 15335, 2674, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 2410, 2837, 3626, 627, 6190, 12693, 388, 58428, 5759, 292, 1087, 82, 5759, 292, 9360, 73893, 9360, 430, 21577, 9477, 505, 93975, 22247, 627, 6190, 12693, 388, 558, 1065, 29836, 78670, 1087, 88, 68583, 100038, 9360, 83566, 2608, 6003, 5468, 68583, 2956, 35145, 198, 6190, 12693, 388, 44293, 1087, 27993, 9360, 4971, 2703, 340, 6003, 13325, 3626, 11, 69515, 904, 2536, 13986, 11418, 422, 5300, 627, 6190, 12693, 388, 4217, 79371, 14460, 6639, 791, 64207, 9360, 5698, 340, 9360, 430, 21577, 4557, 791, 64207, 9904, 6352, 10488, 627, 6190, 12693, 388, 11448, 16921, 2975, 22927, 21259, 16921, 2934, 9360, 6659, 340, 9360, 430, 21577, 682, 1716, 7902, 505, 264, 2728, 2576, 627, 6190, 12693, 388, 56873, 21616, 18225, 20204, 9360, 73893, 61574, 8158, 16432, 627, 6190, 12693, 388, 31942, 309, 2056, 78, 309, 9360, 5698, 8 ]
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_directory.S3DirectoryLoader(bucket) Loading logic for loading documents from s3. document_loaders.s3_file.S3FileLoader(...) Loading logic for loading documents from s3. document_loaders.sitemap.SitemapLoader(web_path) Loader that fetches a sitemap and loads those URLs. document_loaders.slack_directory.SlackDirectoryLoader(...) Loader for loading documents from a Slack directory dump. document_loaders.snowflake_loader.SnowflakeLoader(...) Loads a query result from Snowflake into a list of documents. document_loaders.spreedly.SpreedlyLoader(...) Loader that fetches data from Spreedly API. document_loaders.srt.SRTLoader(file_path) Loader for .srt (subtitle) files. document_loaders.stripe.StripeLoader(resource) Loader that fetches data from Stripe. document_loaders.telegram.TelegramChatApiLoader([...]) Loader that loads Telegram chat json directory dump. document_loaders.telegram.TelegramChatFileLoader(path) Loader that loads Telegram chat json directory dump. document_loaders.tencent_cos_directory.TencentCOSDirectoryLoader(...) Loading logic for loading documents from Tencent Cloud COS. document_loaders.tencent_cos_file.TencentCOSFileLoader(...) Loading logic for loading documents from Tencent Cloud COS. document_loaders.text.TextLoader(file_path) Load text files. document_loaders.tomarkdown.ToMarkdownLoader(...) Loader that loads HTML to markdown using 2markdown.
[ 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, 311, 2865, 432, 790, 3626, 627, 6190, 12693, 388, 1783, 9112, 10840, 52243, 5463, 37, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 436, 9112, 3626, 627, 6190, 12693, 388, 516, 18, 15191, 815, 18, 9494, 9360, 60034, 340, 8746, 12496, 369, 8441, 9477, 505, 274, 18, 627, 6190, 12693, 388, 516, 18, 2517, 815, 18, 1738, 9360, 73893, 8746, 12496, 369, 8441, 9477, 505, 274, 18, 627, 6190, 12693, 388, 516, 26398, 815, 26398, 9360, 40869, 2703, 340, 9360, 430, 7963, 288, 264, 274, 26398, 323, 21577, 1884, 36106, 627, 6190, 12693, 388, 26157, 474, 15191, 815, 75, 474, 9494, 9360, 73893, 9360, 369, 8441, 9477, 505, 264, 58344, 6352, 10488, 627, 6190, 12693, 388, 516, 3409, 64556, 22927, 815, 3409, 64556, 9360, 73893, 79617, 264, 3319, 1121, 505, 19435, 64556, 1139, 264, 1160, 315, 9477, 627, 6190, 12693, 388, 516, 1762, 53423, 815, 1762, 53423, 9360, 73893, 9360, 430, 7963, 288, 828, 505, 328, 1762, 53423, 5446, 627, 6190, 12693, 388, 516, 3423, 815, 5463, 9360, 4971, 2703, 340, 9360, 369, 662, 82, 3423, 320, 41517, 8, 3626, 627, 6190, 12693, 388, 1258, 52191, 28418, 3527, 9360, 24517, 340, 9360, 430, 7963, 288, 828, 505, 60666, 627, 6190, 12693, 388, 83903, 87622, 1549, 16047, 6700, 9360, 83566, 2608, 9360, 430, 21577, 44063, 6369, 3024, 6352, 10488, 627, 6190, 12693, 388, 83903, 87622, 1549, 16047, 1738, 9360, 5698, 340, 9360, 430, 21577, 44063, 6369, 3024, 6352, 10488, 627, 6190, 12693, 388, 41026, 62292, 15191, 844, 27462, 34, 3204, 9494, 9360, 73893, 8746, 12496, 369, 8441, 9477, 505, 71021, 15161, 74044, 627, 6190, 12693, 388, 41026, 62292, 2517, 844, 27462, 34, 3204, 1738, 9360, 73893, 8746, 12496, 369, 8441, 9477, 505, 71021, 15161, 74044, 627, 6190, 12693, 388, 2858, 2021, 9360, 4971, 2703, 340, 6003, 1495, 3626, 627, 6190, 12693, 388, 74594, 847, 2996, 3354, 69105, 9360, 73893, 9360, 430, 21577, 9492, 311, 51594, 1701, 220, 17, 61173, 13 ]
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.unstructured.UnstructuredAPIFileIOLoader(file) Loader that uses the unstructured web API to load file IO objects. document_loaders.unstructured.UnstructuredAPIFileLoader([...]) Loader that uses the unstructured web API to load files. document_loaders.unstructured.UnstructuredBaseLoader([mode]) Loader that uses unstructured to load files. document_loaders.unstructured.UnstructuredFileIOLoader(file) Loader that uses unstructured to load file IO objects. document_loaders.unstructured.UnstructuredFileLoader(...) Loader that uses unstructured to load files. document_loaders.url.UnstructuredURLLoader(urls) Loader that uses unstructured to load HTML files. document_loaders.url_playwright.PlaywrightURLLoader(urls) Loader that uses Playwright and to load a page and unstructured to load the html. document_loaders.url_selenium.SeleniumURLLoader(urls) Loader that uses Selenium and to load a page and unstructured to load the html. document_loaders.weather.WeatherDataLoader(...) Weather Reader. document_loaders.web_base.WebBaseLoader(web_path) Loader that uses urllib and beautiful soup to load webpages. document_loaders.whatsapp_chat.WhatsAppChatLoader(path) Loader that loads WhatsApp messages text file. document_loaders.wikipedia.WikipediaLoader(query) Loads a query result from www.wikipedia.org into a list of Documents. document_loaders.word_document.Docx2txtLoader(...) Loads a DOCX with docx2txt and chunks at character level.
[ 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, 75233, 9360, 13097, 11, 4194, 32318, 51, 75233, 16432, 627, 6190, 12693, 388, 16535, 844, 3886, 49462, 9360, 73893, 25904, 24025, 16432, 627, 6190, 12693, 388, 6441, 52243, 10840, 52243, 7227, 1738, 40, 1971, 41066, 4971, 340, 9360, 430, 5829, 279, 653, 52243, 3566, 5446, 311, 2865, 1052, 6565, 6302, 627, 6190, 12693, 388, 6441, 52243, 10840, 52243, 7227, 1738, 9360, 83566, 2608, 9360, 430, 5829, 279, 653, 52243, 3566, 5446, 311, 2865, 3626, 627, 6190, 12693, 388, 6441, 52243, 10840, 52243, 4066, 9360, 2625, 8684, 2608, 9360, 430, 5829, 653, 52243, 311, 2865, 3626, 627, 6190, 12693, 388, 6441, 52243, 10840, 52243, 1738, 40, 1971, 41066, 4971, 340, 9360, 430, 5829, 653, 52243, 311, 2865, 1052, 6565, 6302, 627, 6190, 12693, 388, 6441, 52243, 10840, 52243, 1738, 9360, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 3626, 627, 6190, 12693, 388, 7464, 10840, 52243, 3222, 9360, 92282, 340, 9360, 430, 5829, 653, 52243, 311, 2865, 9492, 3626, 627, 6190, 12693, 388, 7464, 22932, 53852, 25469, 53852, 3222, 9360, 92282, 340, 9360, 430, 5829, 7199, 53852, 323, 311, 2865, 264, 2199, 323, 653, 52243, 311, 2865, 279, 5385, 627, 6190, 12693, 388, 7464, 646, 15127, 97756, 3222, 9360, 92282, 340, 9360, 430, 5829, 86817, 323, 311, 2865, 264, 2199, 323, 653, 52243, 311, 2865, 279, 5385, 627, 6190, 12693, 388, 46727, 23210, 1894, 1061, 9360, 73893, 30081, 26226, 627, 6190, 12693, 388, 6545, 7806, 6609, 4066, 9360, 40869, 2703, 340, 9360, 430, 5829, 25057, 323, 6366, 19724, 311, 2865, 3566, 11014, 627, 6190, 12693, 388, 47836, 72544, 36153, 18951, 1900, 2213, 16047, 9360, 5698, 340, 9360, 430, 21577, 41113, 6743, 1495, 1052, 627, 6190, 12693, 388, 34466, 1196, 15288, 9360, 10974, 340, 79617, 264, 3319, 1121, 505, 8604, 34466, 2726, 1139, 264, 1160, 315, 45890, 627, 6190, 12693, 388, 23397, 27326, 43552, 87, 17, 8754, 9360, 73893, 79617, 264, 61455, 55, 449, 4733, 87, 17, 8754, 323, 27855, 520, 3752, 2237, 13 ]
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.GoogleApiYoutubeLoader(...) Loader that loads all Videos from a Channel document_loaders.youtube.YoutubeLoader(video_id) Loader that loads Youtube transcripts. Functions¶ document_loaders.chatgpt.concatenate_rows(...) Combine message information in a readable format ready to be used. document_loaders.facebook_chat.concatenate_rows(row) Combine message information in a readable format ready to be used. document_loaders.helpers.detect_file_encodings(...) Try to detect the file encoding. document_loaders.notebook.concatenate_cells(...) Combine cells information in a readable format ready to be used. document_loaders.notebook.remove_newlines(x) Remove recursively newlines, no matter the data structure they are stored in. document_loaders.parsers.registry.get_parser(...) Get a parser by parser name. document_loaders.telegram.concatenate_rows(row) Combine message information in a readable format ready to be used. document_loaders.telegram.text_to_docs(text) Converts a string or list of strings to a list of Documents with metadata. document_loaders.unstructured.get_elements_from_api([...]) Retrieves a list of elements from the Unstructured API. document_loaders.unstructured.satisfies_min_unstructured_version(...) Checks to see if the installed unstructured version exceeds the minimum version for the feature in question. document_loaders.unstructured.validate_unstructured_version(...) Raises an error if the unstructured version does not exceed the specified minimum. document_loaders.whatsapp_chat.concatenate_rows(...) Combine message information in a readable format ready to be used. langchain.document_transformers: Document Transformers¶
[ 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, 10840, 52243, 70741, 73893, 9360, 430, 5829, 653, 52243, 311, 2865, 12138, 3626, 627, 6190, 12693, 388, 20751, 61493, 6700, 92767, 9360, 73893, 9360, 430, 21577, 682, 20114, 505, 264, 13740, 198, 6190, 12693, 388, 20751, 7659, 10432, 9360, 41842, 851, 340, 9360, 430, 21577, 38403, 61412, 627, 26272, 55609, 198, 6190, 12693, 388, 27215, 70, 418, 39859, 11189, 73893, 82214, 1984, 2038, 304, 264, 34898, 3645, 5644, 311, 387, 1511, 627, 6190, 12693, 388, 20172, 36153, 39859, 11189, 7991, 340, 82214, 1984, 2038, 304, 264, 34898, 3645, 5644, 311, 387, 1511, 627, 6190, 12693, 388, 48914, 30253, 2517, 14100, 59435, 73893, 22170, 311, 11388, 279, 1052, 11418, 627, 6190, 12693, 388, 41431, 2239, 39859, 38896, 73893, 82214, 7917, 2038, 304, 264, 34898, 3645, 5644, 311, 387, 1511, 627, 6190, 12693, 388, 41431, 2239, 4955, 6046, 8128, 2120, 340, 13319, 53947, 502, 8128, 11, 912, 5030, 279, 828, 6070, 814, 527, 9967, 304, 627, 6190, 12693, 388, 76592, 56668, 673, 19024, 73893, 1991, 264, 6871, 555, 6871, 836, 627, 6190, 12693, 388, 83903, 39859, 11189, 7991, 340, 82214, 1984, 2038, 304, 264, 34898, 3645, 5644, 311, 387, 1511, 627, 6190, 12693, 388, 83903, 2858, 2401, 50792, 7383, 340, 12281, 82, 264, 925, 477, 1160, 315, 9246, 311, 264, 1160, 315, 45890, 449, 11408, 627, 6190, 12693, 388, 6441, 52243, 673, 23646, 5791, 11959, 83566, 2608, 12289, 7379, 2396, 264, 1160, 315, 5540, 505, 279, 1252, 52243, 5446, 627, 6190, 12693, 388, 6441, 52243, 516, 7630, 552, 7408, 5012, 52243, 9625, 73893, 50920, 311, 1518, 422, 279, 10487, 653, 52243, 2373, 36375, 279, 8187, 2373, 369, 279, 4668, 304, 3488, 627, 6190, 12693, 388, 6441, 52243, 20090, 5012, 52243, 9625, 73893, 36120, 459, 1493, 422, 279, 653, 52243, 2373, 1587, 539, 12771, 279, 5300, 8187, 627, 6190, 12693, 388, 47836, 72544, 36153, 39859, 11189, 73893, 82214, 1984, 2038, 304, 264, 34898, 3645, 5644, 311, 387, 1511, 627, 5317, 8995, 17926, 18956, 388, 25, 12051, 81632, 55609 ]
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 state. langchain.embeddings: Embeddings¶ Wrappers around embedding modules. Classes¶ embeddings.aleph_alpha.AlephAlphaAsymmetricSemanticEmbedding Wrapper for Aleph Alpha's Asymmetric Embeddings AA provides you with an endpoint to embed a document and a query. embeddings.aleph_alpha.AlephAlphaSymmetricSemanticEmbedding The symmetric version of the Aleph Alpha's semantic embeddings. embeddings.base.Embeddings() Interface for embedding models. embeddings.bedrock.BedrockEmbeddings Embeddings provider to invoke Bedrock embedding models. embeddings.cohere.CohereEmbeddings Wrapper around Cohere embedding models. embeddings.dashscope.DashScopeEmbeddings Wrapper around DashScope embedding models. embeddings.deepinfra.DeepInfraEmbeddings Wrapper around Deep Infra's embedding inference service. embeddings.elasticsearch.ElasticsearchEmbeddings(...) Wrapper around Elasticsearch embedding models. embeddings.embaas.EmbaasEmbeddings Wrapper around embaas's embedding service. embeddings.embaas.EmbaasEmbeddingsPayload Payload for the embaas embeddings API. embeddings.fake.FakeEmbeddings Create a new model by parsing and validating input data from keyword arguments. embeddings.google_palm.GooglePalmEmbeddings Create a new model by parsing and validating input data from keyword arguments. embeddings.huggingface.HuggingFaceEmbeddings Wrapper around sentence_transformers embedding models. embeddings.huggingface.HuggingFaceInstructEmbeddings Wrapper around sentence_transformers embedding models.
[ 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, 6190, 18956, 388, 673, 4486, 1285, 77027, 73893, 12281, 264, 1160, 315, 9477, 311, 264, 1160, 315, 9477, 449, 1614, 627, 5317, 8995, 41541, 25624, 25, 38168, 25624, 55609, 198, 36314, 28921, 2212, 40188, 13761, 627, 20678, 55609, 198, 12529, 25624, 13, 1604, 764, 27731, 885, 273, 764, 19947, 2170, 30559, 99031, 26566, 7113, 198, 11803, 369, 19623, 764, 25737, 596, 1666, 30559, 38168, 25624, 29334, 5825, 499, 449, 459, 15233, 311, 11840, 264, 2246, 323, 264, 3319, 627, 12529, 25624, 13, 1604, 764, 27731, 885, 273, 764, 19947, 29012, 16282, 99031, 26566, 7113, 198, 791, 55443, 2373, 315, 279, 19623, 764, 25737, 596, 42833, 71647, 627, 12529, 25624, 9105, 58955, 25624, 746, 5160, 369, 40188, 4211, 627, 12529, 25624, 91446, 21161, 1823, 291, 21161, 26566, 25624, 198, 26566, 25624, 9287, 311, 20466, 13394, 21161, 40188, 4211, 627, 12529, 25624, 522, 2319, 486, 732, 2319, 486, 26566, 25624, 198, 11803, 2212, 84675, 486, 40188, 4211, 627, 12529, 25624, 962, 1003, 4280, 920, 1003, 11037, 26566, 25624, 198, 11803, 2212, 37770, 11037, 40188, 4211, 627, 12529, 25624, 22597, 93417, 56702, 19998, 969, 26566, 25624, 198, 11803, 2212, 18682, 15268, 969, 596, 40188, 45478, 2532, 627, 12529, 25624, 54178, 5253, 52279, 1874, 26566, 25624, 73893, 11803, 2212, 59987, 40188, 4211, 627, 12529, 25624, 9485, 4749, 300, 13, 2321, 4749, 300, 26566, 25624, 198, 11803, 2212, 991, 4749, 300, 596, 40188, 2532, 627, 12529, 25624, 9485, 4749, 300, 13, 2321, 4749, 300, 26566, 25624, 30783, 198, 30783, 369, 279, 991, 4749, 300, 71647, 5446, 627, 12529, 25624, 95724, 1006, 731, 26566, 25624, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 12529, 25624, 5831, 623, 7828, 61493, 47, 7828, 26566, 25624, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 12529, 25624, 870, 36368, 1594, 3924, 36368, 16680, 26566, 25624, 198, 11803, 2212, 11914, 18956, 388, 40188, 4211, 627, 12529, 25624, 870, 36368, 1594, 3924, 36368, 16680, 644, 1257, 26566, 25624, 198, 11803, 2212, 11914, 18956, 388, 40188, 4211, 13 ]
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 llama.cpp embedding models. embeddings.minimax.MiniMaxEmbeddings Wrapper around MiniMax's embedding inference service. embeddings.modelscope_hub.ModelScopeEmbeddings Wrapper around modelscope_hub embedding models. embeddings.mosaicml.MosaicMLInstructorEmbeddings Wrapper around MosaicML's embedding inference service. embeddings.octoai_embeddings.OctoAIEmbeddings Wrapper around OctoAI Compute Service embedding models. embeddings.openai.OpenAIEmbeddings Wrapper around OpenAI embedding models. embeddings.sagemaker_endpoint.EmbeddingsContentHandler() Content handler for LLM class. embeddings.sagemaker_endpoint.SagemakerEndpointEmbeddings Wrapper around custom Sagemaker Inference Endpoints. embeddings.self_hosted.SelfHostedEmbeddings Runs custom embedding models on self-hosted remote hardware. embeddings.self_hosted_hugging_face.SelfHostedHuggingFaceEmbeddings Runs sentence_transformers embedding models on self-hosted remote hardware. embeddings.self_hosted_hugging_face.SelfHostedHuggingFaceInstructEmbeddings Runs InstructorEmbedding embedding models on self-hosted remote hardware. embeddings.tensorflow_hub.TensorflowHubEmbeddings Wrapper around tensorflow_hub embedding models. embeddings.vertexai.VertexAIEmbeddings Create a new model by parsing and validating input data from keyword arguments. Functions¶ embeddings.dashscope.embed_with_retry(...) Use tenacity to retry the embedding call. embeddings.google_palm.embed_with_retry(...)
[ 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, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 12529, 25624, 60098, 33707, 604, 1236, 81101, 10091, 26566, 25624, 198, 11803, 2212, 94776, 7356, 40188, 4211, 627, 12529, 25624, 4456, 76209, 1345, 6729, 6102, 26566, 25624, 198, 11803, 2212, 20217, 6102, 596, 40188, 45478, 2532, 627, 12529, 25624, 3272, 4280, 95096, 5777, 11037, 26566, 25624, 198, 11803, 2212, 4211, 2474, 95096, 40188, 4211, 627, 12529, 25624, 749, 45883, 1029, 1345, 45883, 2735, 644, 3162, 26566, 25624, 198, 11803, 2212, 386, 45883, 2735, 596, 40188, 45478, 2532, 627, 12529, 25624, 14778, 302, 78, 2192, 64872, 8548, 302, 78, 15836, 26566, 25624, 198, 11803, 2212, 5020, 78, 15836, 23426, 5475, 40188, 4211, 627, 12529, 25624, 5949, 2192, 13250, 15836, 26566, 25624, 198, 11803, 2212, 5377, 15836, 40188, 4211, 627, 12529, 25624, 516, 15003, 4506, 37799, 58955, 25624, 2831, 3126, 746, 2831, 7158, 369, 445, 11237, 538, 627, 12529, 25624, 516, 15003, 4506, 37799, 815, 15003, 4506, 28480, 26566, 25624, 198, 11803, 2212, 2587, 328, 15003, 4506, 763, 2251, 4060, 7862, 627, 12529, 25624, 28248, 13144, 291, 815, 491, 9480, 291, 26566, 25624, 198, 75020, 2587, 40188, 4211, 389, 659, 39689, 291, 8870, 12035, 627, 12529, 25624, 28248, 13144, 291, 1552, 36368, 32085, 815, 491, 9480, 291, 39, 36368, 16680, 26566, 25624, 198, 75020, 11914, 18956, 388, 40188, 4211, 389, 659, 39689, 291, 8870, 12035, 627, 12529, 25624, 28248, 13144, 291, 1552, 36368, 32085, 815, 491, 9480, 291, 39, 36368, 16680, 644, 1257, 26566, 25624, 198, 75020, 63462, 26566, 7113, 40188, 4211, 389, 659, 39689, 291, 8870, 12035, 627, 12529, 25624, 41688, 5072, 95096, 45303, 5072, 19876, 26566, 25624, 198, 11803, 2212, 29187, 95096, 40188, 4211, 627, 12529, 25624, 48375, 2192, 73694, 15836, 26566, 25624, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 26272, 55609, 198, 12529, 25624, 962, 1003, 4280, 41541, 6753, 63845, 73893, 10464, 5899, 4107, 311, 23515, 279, 40188, 1650, 627, 12529, 25624, 5831, 623, 7828, 41541, 6753, 63845, 48627 ]
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_hugging_face.load_embedding_model(...) Load the embedding model. langchain.env: Env¶ Functions¶ env.get_runtime_environment() Get information about the environment. langchain.evaluation: Evaluation¶ Functionality relating to evaluation. This module contains off-the-shelf evaluation chains for grading the output of LangChain primitives such as LLMs and Chains. Some common use cases for evaluation include: Grading accuracy of a response against ground truth answers: QAEvalChain Comparing the output of two models: PairwiseStringEvalChain Judging the efficacy of an agent’s tool usage: TrajectoryEvalChain Checking whether an output complies with a set of criteria: CriteriaEvalChain This module also contains low level APIs for making more evaluators for your custom evaluation task. These include: - StringEvaluator: Evaluates an output string against a reference and/or with input context. PairwiseStringEvaluator: Evaluates two strings against each other. Classes¶ evaluation.agents.trajectory_eval_chain.TrajectoryEval(...) Create new instance of TrajectoryEval(score, reasoning) evaluation.agents.trajectory_eval_chain.TrajectoryEvalChain A chain for evaluating ReAct style agents. evaluation.agents.trajectory_eval_chain.TrajectoryOutputParser Create a new model by parsing and validating input data from keyword arguments. evaluation.comparison.eval_chain.PairwiseStringEvalChain A chain for comparing the output of two models. evaluation.comparison.eval_chain.PairwiseStringResultOutputParser
[ 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, 311, 23515, 279, 9954, 1650, 627, 12529, 25624, 5949, 2192, 41541, 6753, 63845, 73893, 10464, 5899, 4107, 311, 23515, 279, 40188, 1650, 627, 12529, 25624, 28248, 13144, 291, 1552, 36368, 32085, 5214, 52602, 5156, 73893, 6003, 279, 40188, 1646, 627, 5317, 8995, 9449, 25, 38139, 55609, 198, 26272, 55609, 198, 3239, 673, 34332, 52874, 746, 1991, 2038, 922, 279, 4676, 627, 5317, 8995, 1770, 24756, 25, 40388, 55609, 198, 5263, 2786, 23343, 311, 16865, 627, 2028, 4793, 5727, 1022, 10826, 7666, 491, 16865, 27271, 369, 198, 33359, 279, 2612, 315, 23272, 19368, 72294, 1778, 439, 445, 11237, 82, 323, 82869, 627, 8538, 4279, 1005, 5157, 369, 16865, 2997, 512, 6600, 2277, 13708, 315, 264, 2077, 2403, 5015, 8206, 11503, 25, 1229, 13983, 838, 19368, 198, 17561, 287, 279, 2612, 315, 1403, 4211, 25, 27086, 4583, 707, 55569, 19368, 198, 62813, 3252, 279, 41265, 315, 459, 8479, 753, 5507, 10648, 25, 17747, 24251, 55569, 19368, 198, 41229, 3508, 459, 2612, 4684, 552, 449, 264, 743, 315, 13186, 25, 14577, 55569, 19368, 198, 2028, 4793, 1101, 5727, 3428, 2237, 34456, 369, 3339, 810, 19886, 3046, 369, 701, 198, 9342, 16865, 3465, 13, 4314, 2997, 512, 12, 935, 90142, 25, 76198, 988, 459, 2612, 925, 2403, 264, 5905, 323, 5255, 198, 4291, 1988, 2317, 627, 12725, 4583, 707, 90142, 25, 76198, 988, 1403, 9246, 2403, 1855, 1023, 627, 20678, 55609, 198, 75114, 29192, 812, 13, 84887, 22001, 31683, 844, 969, 24251, 55569, 73893, 4110, 502, 2937, 315, 17747, 24251, 55569, 35580, 11, 33811, 340, 75114, 29192, 812, 13, 84887, 22001, 31683, 844, 969, 24251, 55569, 19368, 198, 32, 8957, 369, 38663, 1050, 2471, 1742, 13307, 627, 75114, 29192, 812, 13, 84887, 22001, 31683, 844, 969, 24251, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 75114, 916, 36642, 32810, 31683, 1087, 1334, 4583, 707, 55569, 19368, 198, 32, 8957, 369, 27393, 279, 2612, 315, 1403, 4211, 627, 75114, 916, 36642, 32810, 31683, 1087, 1334, 4583, 707, 2122, 5207, 6707 ]
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 CriteriaEvalChain. evaluation.qa.eval_chain.ContextQAEvalChain LLM Chain specifically for evaluating QA w/o GT based on context evaluation.qa.eval_chain.CotQAEvalChain LLM Chain specifically for evaluating QA using chain of thought reasoning. evaluation.qa.eval_chain.QAEvalChain LLM Chain specifically for evaluating question answering. evaluation.qa.generate_chain.QAGenerateChain LLM Chain specifically for generating examples for question answering. evaluation.run_evaluators.base.RunEvaluatorChain Evaluate Run and optional examples. evaluation.run_evaluators.base.RunEvaluatorOutputParser Parse the output of a run. evaluation.run_evaluators.implementations.ChoicesOutputParser Parse a feedback run with optional choices. evaluation.run_evaluators.implementations.CriteriaOutputParser Parse a criteria results into an evaluation result. evaluation.run_evaluators.implementations.StringRunEvaluatorInputMapper Maps the Run and Optional[Example] to a dictionary. evaluation.run_evaluators.implementations.TrajectoryEvalOutputParser Create a new model by parsing and validating input data from keyword arguments. evaluation.run_evaluators.implementations.TrajectoryInputMapper Maps the Run and Optional[Example] to a dictionary. evaluation.schema.PairwiseStringEvaluator(...) A protocol for comparing the output of two models. evaluation.schema.StringEvaluator(*args, ...) Protocol for evaluating strings. Functions¶ evaluation.loading.load_dataset(uri) evaluation.run_evaluators.implementations.get_criteria_evaluator(...) Get an eval chain for grading a model's response against a map of criteria.
[ 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, 8640, 2403, 13186, 627, 75114, 90307, 32810, 31683, 93689, 2122, 5207, 6707, 198, 32, 6871, 369, 279, 2612, 315, 279, 14577, 55569, 19368, 627, 75114, 11608, 64, 32810, 31683, 9512, 48, 13983, 838, 19368, 198, 4178, 44, 29625, 11951, 369, 38663, 67008, 289, 20886, 12177, 3196, 389, 2317, 198, 75114, 11608, 64, 32810, 31683, 732, 354, 48, 13983, 838, 19368, 198, 4178, 44, 29625, 11951, 369, 38663, 67008, 1701, 8957, 315, 3463, 33811, 627, 75114, 11608, 64, 32810, 31683, 10208, 13983, 838, 19368, 198, 4178, 44, 29625, 11951, 369, 38663, 3488, 36864, 627, 75114, 11608, 64, 22793, 31683, 10208, 1929, 13523, 19368, 198, 4178, 44, 29625, 11951, 369, 24038, 10507, 369, 3488, 36864, 627, 75114, 7789, 22001, 84, 3046, 9105, 17123, 90142, 19368, 198, 83445, 6588, 323, 10309, 10507, 627, 75114, 7789, 22001, 84, 3046, 9105, 17123, 90142, 5207, 6707, 198, 14802, 279, 2612, 315, 264, 1629, 627, 75114, 7789, 22001, 84, 3046, 12322, 2833, 811, 90157, 1238, 5207, 6707, 198, 14802, 264, 11302, 1629, 449, 10309, 11709, 627, 75114, 7789, 22001, 84, 3046, 12322, 2833, 811, 93689, 5207, 6707, 198, 14802, 264, 13186, 3135, 1139, 459, 16865, 1121, 627, 75114, 7789, 22001, 84, 3046, 12322, 2833, 811, 6567, 6869, 90142, 2566, 11232, 198, 37662, 279, 6588, 323, 12536, 58, 13617, 60, 311, 264, 11240, 627, 75114, 7789, 22001, 84, 3046, 12322, 2833, 811, 844, 969, 24251, 55569, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 75114, 7789, 22001, 84, 3046, 12322, 2833, 811, 844, 969, 24251, 2566, 11232, 198, 37662, 279, 6588, 323, 12536, 58, 13617, 60, 311, 264, 11240, 627, 75114, 31992, 1087, 1334, 4583, 707, 90142, 73893, 32, 11766, 369, 27393, 279, 2612, 315, 1403, 4211, 627, 75114, 31992, 6567, 90142, 4163, 2164, 11, 4194, 32318, 21346, 369, 38663, 9246, 627, 26272, 55609, 198, 75114, 25908, 5214, 19536, 26882, 340, 75114, 7789, 22001, 84, 3046, 12322, 2833, 811, 673, 82090, 22001, 46262, 73893, 1991, 459, 5720, 8957, 369, 66288, 264, 1646, 596, 2077, 2403, 264, 2472, 315, 13186, 13 ]
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 response against a map of criteria. langchain.example_generator: Example Generator¶ Utility functions for working with prompts. Functions¶ example_generator.generate_example(examples, ...) Return another example given a list of examples for a prompt. langchain.experimental: Experimental¶ Classes¶ experimental.autonomous_agents.autogpt.memory.AutoGPTMemory Create a new model by parsing and validating input data from keyword arguments. experimental.autonomous_agents.autogpt.output_parser.AutoGPTAction(...) Create new instance of AutoGPTAction(name, args) experimental.autonomous_agents.autogpt.output_parser.AutoGPTOutputParser Create a new model by parsing and validating input data from keyword arguments. experimental.autonomous_agents.autogpt.output_parser.BaseAutoGPTOutputParser Create a new model by parsing and validating input data from keyword arguments. experimental.autonomous_agents.autogpt.prompt.AutoGPTPrompt Create a new model by parsing and validating input data from keyword arguments. experimental.autonomous_agents.baby_agi.baby_agi.BabyAGI Controller model for the BabyAGI agent. experimental.autonomous_agents.baby_agi.task_creation.TaskCreationChain Chain to generates tasks. experimental.autonomous_agents.baby_agi.task_execution.TaskExecutionChain Chain to execute tasks. experimental.autonomous_agents.baby_agi.task_prioritization.TaskPrioritizationChain Chain to prioritize tasks. experimental.generative_agents.generative_agent.GenerativeAgent A character with memory and innate characteristics. experimental.generative_agents.memory.GenerativeAgentMemory
[ 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, 2403, 5015, 8206, 627, 75114, 7789, 22001, 84, 3046, 12322, 2833, 811, 673, 87131, 22001, 46262, 73893, 1991, 459, 5720, 8957, 369, 66288, 264, 1646, 596, 2077, 2403, 264, 2472, 315, 13186, 627, 5317, 8995, 7880, 26898, 25, 13688, 29458, 55609, 198, 19750, 5865, 369, 3318, 449, 52032, 627, 26272, 55609, 198, 8858, 26898, 22793, 40404, 5580, 4112, 11, 4194, 32318, 5715, 2500, 3187, 2728, 264, 1160, 315, 10507, 369, 264, 10137, 627, 5317, 8995, 88547, 25, 57708, 55609, 198, 20678, 55609, 198, 87803, 32155, 30946, 77447, 32155, 540, 418, 37711, 6613, 38, 2898, 10869, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 32155, 30946, 77447, 32155, 540, 418, 13718, 19024, 6613, 38, 2898, 2573, 73893, 4110, 502, 2937, 315, 9156, 38, 2898, 2573, 3232, 11, 2897, 340, 87803, 32155, 30946, 77447, 32155, 540, 418, 13718, 19024, 6613, 38, 2898, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 32155, 30946, 77447, 32155, 540, 418, 13718, 19024, 13316, 13556, 38, 2898, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 32155, 30946, 77447, 32155, 540, 418, 66499, 6613, 38, 2898, 55715, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 32155, 30946, 77447, 960, 6243, 21233, 72, 960, 6243, 21233, 72, 1823, 6243, 1929, 40, 198, 2095, 1646, 369, 279, 21266, 1929, 40, 8479, 627, 87803, 32155, 30946, 77447, 960, 6243, 21233, 72, 15384, 47263, 29358, 33801, 19368, 198, 19368, 311, 27983, 9256, 627, 87803, 32155, 30946, 77447, 960, 6243, 21233, 72, 15384, 62048, 29358, 20912, 19368, 198, 19368, 311, 9203, 9256, 627, 87803, 32155, 30946, 77447, 960, 6243, 21233, 72, 15384, 59882, 275, 2065, 29358, 50571, 275, 2065, 19368, 198, 19368, 311, 63652, 9256, 627, 87803, 1326, 75989, 77447, 1326, 75989, 26814, 1246, 75989, 17230, 198, 32, 3752, 449, 5044, 323, 65070, 17910, 627, 87803, 1326, 75989, 77447, 37711, 1246, 75989, 17230, 10869 ]
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. experimental.llms.rellm_decoder.RELLM Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.agent_executor.PlanAndExecute Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.executors.base.BaseExecutor Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.executors.base.ChainExecutor Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.planners.base.BasePlanner Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.planners.base.LLMPlanner Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.planners.chat_planner.PlanningOutputParser Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.schema.BaseStepContainer Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.schema.ListStepContainer Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.schema.Plan Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.schema.PlanOutputParser Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.schema.Step Create a new model by parsing and validating input data from keyword arguments. experimental.plan_and_execute.schema.StepResponse Create a new model by parsing and validating input data from keyword arguments. Functions¶
[ 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, 31945, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 60098, 1026, 1351, 657, 76, 50943, 15056, 4178, 44, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 45249, 82307, 1087, 10946, 3112, 17617, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 16153, 9663, 9105, 13316, 26321, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 16153, 9663, 9105, 99369, 26321, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 8022, 24960, 9105, 13316, 2169, 4992, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 8022, 24960, 9105, 1236, 11237, 2169, 4992, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 8022, 24960, 27215, 6451, 4992, 22079, 6073, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 31992, 13316, 8468, 4603, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 31992, 5937, 8468, 4603, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 31992, 1087, 10946, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 31992, 1087, 10946, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 31992, 69502, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 87803, 46942, 8543, 45429, 31992, 69502, 2647, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 26272, 55609 ]
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 prompt string. experimental.llms.jsonformer_decoder.import_jsonformer() Lazily import jsonformer. experimental.llms.rellm_decoder.import_rellm() Lazily import rellm. experimental.plan_and_execute.executors.agent_executor.load_agent_executor(...) Load an agent executor. experimental.plan_and_execute.planners.chat_planner.load_chat_planner(llm) Load a chat planner. langchain.formatting: Formatting¶ Utilities for formatting strings. Classes¶ formatting.StrictFormatter() A subclass of formatter that checks for extra keys. langchain.graphs: Graphs¶ Graph implementations. Classes¶ graphs.networkx_graph.KnowledgeTriple(...) A triple in the graph. Functions¶ graphs.networkx_graph.get_entities(entity_str) Extract entities from entity string. graphs.networkx_graph.parse_triples(...) Parse knowledge triples from the knowledge string. langchain.indexes: Indexes¶ All index utils. Classes¶ indexes.graph.GraphIndexCreator Functionality to create graph index. indexes.vectorstore.VectorStoreIndexWrapper Wrapper around a vectorstore for easy access. indexes.vectorstore.VectorstoreIndexCreator Logic for creating indexes. langchain.input: Input¶ Handle chained inputs. Functions¶ input.get_bolded_text(text) Get bolded text. input.get_color_mapping(items[, excluded_colors]) Get mapping for items to a support color. input.get_colored_text(text, color) Get colored text. input.print_text(text[, color, end, file])
[ 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, 3024, 627, 87803, 32155, 30946, 77447, 32155, 540, 418, 66499, 26898, 673, 62521, 12464, 3145, 340, 2028, 734, 27983, 264, 10137, 925, 627, 87803, 60098, 1026, 4421, 35627, 50943, 35997, 9643, 35627, 746, 43, 1394, 1570, 1179, 3024, 35627, 627, 87803, 60098, 1026, 1351, 657, 76, 50943, 35997, 1311, 657, 76, 746, 43, 1394, 1570, 1179, 312, 657, 76, 627, 87803, 46942, 8543, 45429, 16153, 9663, 45249, 82307, 5214, 26814, 82307, 73893, 6003, 459, 8479, 32658, 627, 87803, 46942, 8543, 45429, 8022, 24960, 27215, 6451, 4992, 5214, 36153, 6451, 4992, 36621, 76, 340, 6003, 264, 6369, 50811, 627, 5317, 8995, 8180, 1303, 25, 90688, 55609, 198, 22830, 369, 37666, 9246, 627, 20678, 55609, 198, 2293, 1303, 78528, 14517, 746, 32, 38290, 315, 25851, 430, 12621, 369, 5066, 7039, 627, 5317, 8995, 10996, 82, 25, 12441, 82, 55609, 198, 11461, 39437, 627, 20678, 55609, 198, 87286, 21216, 87, 15080, 11606, 52286, 83926, 73893, 32, 24657, 304, 279, 4876, 627, 26272, 55609, 198, 87286, 21216, 87, 15080, 673, 48477, 17803, 2966, 340, 30059, 15086, 505, 5502, 925, 627, 87286, 21216, 87, 15080, 4736, 3631, 38558, 73893, 14802, 6677, 89661, 505, 279, 6677, 925, 627, 5317, 8995, 5265, 288, 25, 8167, 288, 55609, 198, 2460, 1963, 12721, 627, 20678, 55609, 198, 72327, 10996, 41337, 1581, 32965, 198, 5263, 2786, 311, 1893, 4876, 1963, 627, 72327, 48203, 4412, 14621, 6221, 1581, 11803, 198, 11803, 2212, 264, 4724, 4412, 369, 4228, 2680, 627, 72327, 48203, 4412, 14621, 4412, 1581, 32965, 198, 27849, 369, 6968, 25998, 627, 5317, 8995, 10252, 25, 5688, 55609, 198, 7144, 68069, 11374, 627, 26272, 55609, 198, 1379, 673, 96777, 291, 4424, 7383, 340, 1991, 14265, 291, 1495, 627, 1379, 673, 6855, 28028, 25331, 38372, 4194, 327, 10391, 34770, 2608, 1991, 13021, 369, 3673, 311, 264, 1862, 1933, 627, 1379, 673, 10422, 3093, 4424, 7383, 11, 4194, 3506, 340, 1991, 28296, 1495, 627, 1379, 2263, 4424, 7383, 38372, 4194, 3506, 11, 4194, 408, 11, 4194, 1213, 2526 ]
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_alpha.AlephAlpha Wrapper around Aleph Alpha large language models. llms.amazon_api_gateway.AmazonAPIGateway Wrapper around custom Amazon API Gateway llms.anthropic.Anthropic Wrapper around Anthropic's large language models. llms.anyscale.Anyscale Wrapper around Anyscale Services. llms.aviary.Aviary Allow you to use an Aviary. llms.azureml_endpoint.AzureMLEndpointClient(...) Wrapper around AzureML Managed Online Endpoint Client. llms.azureml_endpoint.AzureMLOnlineEndpoint Wrapper around Azure ML Hosted models using Managed Online Endpoints. llms.azureml_endpoint.DollyContentFormatter() Content handler for the Dolly-v2-12b model llms.azureml_endpoint.HFContentFormatter() Content handler for LLMs from the HuggingFace catalog. llms.azureml_endpoint.OSSContentFormatter() Content handler for LLMs from the OSS catalog. llms.bananadev.Banana Wrapper around Banana large language models. llms.base.BaseLLM LLM wrapper should take in a prompt and return a string. llms.base.LLM LLM class that expect subclasses to implement a simpler call method. llms.baseten.Baseten Use your Baseten models in Langchain llms.beam.Beam Wrapper around Beam API for gpt2 large language model.
[ 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, 315, 3544, 4221, 4211, 34456, 627, 20678, 55609, 198, 657, 1026, 41483, 1691, 89878, 1691, 198, 11803, 2212, 15592, 1691, 3544, 4221, 4211, 627, 657, 1026, 41483, 1691, 89878, 1691, 29305, 10231, 1061, 198, 9905, 369, 15592, 1691, 16750, 828, 627, 657, 1026, 13, 1604, 764, 27731, 885, 273, 764, 19947, 198, 11803, 2212, 19623, 764, 25737, 3544, 4221, 4211, 627, 657, 1026, 18771, 11959, 65149, 885, 76, 5639, 7227, 41809, 198, 11803, 2212, 2587, 8339, 5446, 40478, 198, 657, 1026, 10985, 339, 45036, 8794, 339, 45036, 198, 11803, 2212, 16989, 45036, 596, 3544, 4221, 4211, 627, 657, 1026, 10985, 84009, 8794, 84009, 198, 11803, 2212, 1556, 84009, 8471, 627, 657, 1026, 85652, 661, 885, 10176, 661, 198, 19118, 499, 311, 1005, 459, 7671, 72, 661, 627, 657, 1026, 71340, 1029, 37799, 58927, 26100, 303, 2837, 3032, 73893, 11803, 2212, 35219, 2735, 61844, 8267, 48369, 8589, 627, 657, 1026, 71340, 1029, 37799, 58927, 44, 1623, 77, 1074, 28480, 198, 11803, 2212, 35219, 20187, 16492, 291, 4211, 1701, 61844, 8267, 4060, 7862, 627, 657, 1026, 71340, 1029, 37799, 920, 8788, 2831, 14517, 746, 2831, 7158, 369, 279, 423, 8788, 8437, 17, 12, 717, 65, 1646, 198, 657, 1026, 71340, 1029, 37799, 3924, 37, 2831, 14517, 746, 2831, 7158, 369, 445, 11237, 82, 505, 279, 473, 36368, 16680, 16808, 627, 657, 1026, 71340, 1029, 37799, 8548, 1242, 2831, 14517, 746, 2831, 7158, 369, 445, 11237, 82, 505, 279, 84333, 16808, 627, 657, 1026, 960, 29718, 1037, 85, 1823, 276, 3444, 198, 11803, 2212, 76924, 3544, 4221, 4211, 627, 657, 1026, 9105, 13316, 4178, 44, 198, 4178, 44, 13564, 1288, 1935, 304, 264, 10137, 323, 471, 264, 925, 627, 657, 1026, 9105, 1236, 11237, 198, 4178, 44, 538, 430, 1755, 69283, 311, 4305, 264, 35388, 1650, 1749, 627, 657, 1026, 960, 5136, 268, 1823, 5136, 268, 198, 10464, 701, 426, 5136, 268, 4211, 304, 23272, 8995, 198, 657, 1026, 8809, 309, 1823, 14922, 198, 11803, 2212, 51230, 5446, 369, 342, 418, 17, 3544, 4221, 1646, 13 ]
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 Cohere large language models. llms.ctransformers.CTransformers Wrapper around the C Transformers LLM interface. llms.databricks.Databricks LLM wrapper around a Databricks serving endpoint or a cluster driver proxy app. llms.deepinfra.DeepInfra Wrapper around DeepInfra deployed models. llms.fake.FakeListLLM Fake LLM wrapper for testing purposes. llms.forefrontai.ForefrontAI Wrapper around ForefrontAI large language models. llms.google_palm.GooglePalm Create a new model by parsing and validating input data from keyword arguments. llms.gooseai.GooseAI Wrapper around OpenAI large language models. llms.gpt4all.GPT4All Wrapper around GPT4All language models. llms.huggingface_endpoint.HuggingFaceEndpoint Wrapper around HuggingFaceHub Inference Endpoints. llms.huggingface_hub.HuggingFaceHub Wrapper around HuggingFaceHub models. llms.huggingface_pipeline.HuggingFacePipeline Wrapper around HuggingFace Pipeline API. llms.huggingface_text_gen_inference.HuggingFaceTextGenInference HuggingFace text generation inference API. llms.human.HumanInputLLM A LLM wrapper which returns user input as the response. llms.llamacpp.LlamaCpp Wrapper around the llama.cpp model.
[ 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, 41552, 2192, 732, 486, 65, 41552, 15836, 198, 11803, 2212, 356, 486, 65, 41552, 15836, 3544, 4221, 4211, 627, 657, 1026, 6894, 277, 333, 2192, 732, 14115, 333, 2192, 198, 11803, 2212, 31181, 333, 2192, 596, 3544, 4221, 4211, 627, 657, 1026, 522, 2319, 486, 732, 2319, 486, 198, 11803, 2212, 84675, 486, 3544, 4221, 4211, 627, 657, 1026, 13, 10820, 598, 630, 388, 732, 9140, 388, 198, 11803, 2212, 279, 356, 81632, 445, 11237, 3834, 627, 657, 1026, 32112, 78889, 920, 2143, 78889, 198, 4178, 44, 13564, 2212, 264, 423, 2143, 78889, 13788, 15233, 477, 264, 10879, 5696, 13594, 917, 627, 657, 1026, 22597, 93417, 56702, 19998, 969, 198, 11803, 2212, 18682, 19998, 969, 27167, 4211, 627, 657, 1026, 95724, 1006, 731, 861, 4178, 44, 198, 53417, 445, 11237, 13564, 369, 7649, 10096, 627, 657, 1026, 55669, 7096, 2192, 10749, 7096, 15836, 198, 11803, 2212, 8371, 7096, 15836, 3544, 4221, 4211, 627, 657, 1026, 5831, 623, 7828, 61493, 47, 7828, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 657, 1026, 1326, 14070, 2192, 1246, 14070, 15836, 198, 11803, 2212, 5377, 15836, 3544, 4221, 4211, 627, 657, 1026, 1326, 418, 19, 543, 1246, 2898, 19, 2460, 198, 11803, 2212, 480, 2898, 19, 2460, 4221, 4211, 627, 657, 1026, 870, 36368, 1594, 37799, 3924, 36368, 16680, 28480, 198, 11803, 2212, 473, 36368, 16680, 19876, 763, 2251, 4060, 7862, 627, 657, 1026, 870, 36368, 1594, 95096, 3924, 36368, 16680, 19876, 198, 11803, 2212, 473, 36368, 16680, 19876, 220, 4211, 627, 657, 1026, 870, 36368, 1594, 46287, 3924, 36368, 16680, 35756, 198, 11803, 2212, 473, 36368, 16680, 42007, 5446, 627, 657, 1026, 870, 36368, 1594, 4424, 16724, 1265, 2251, 3924, 36368, 16680, 1199, 10172, 644, 2251, 198, 39, 36368, 16680, 1495, 9659, 45478, 5446, 627, 657, 1026, 870, 7282, 3924, 7282, 2566, 4178, 44, 198, 32, 445, 11237, 13564, 902, 4780, 1217, 1988, 439, 279, 2077, 627, 657, 1026, 60098, 33707, 604, 1236, 81101, 10091, 198, 11803, 2212, 279, 94776, 7356, 1646, 13 ]
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 large language models. llms.octoai_endpoint.OctoAIEndpoint Wrapper around OctoAI Inference Endpoints. llms.openai.AzureOpenAI Wrapper around Azure-specific OpenAI large language models. llms.openai.BaseOpenAI Wrapper around OpenAI large language models. llms.openai.OpenAI Wrapper around OpenAI large language models. llms.openai.OpenAIChat Wrapper around OpenAI Chat large language models. llms.openllm.IdentifyingParams llms.openllm.OpenLLM Wrapper for accessing OpenLLM, supporting both in-process model instance and remote OpenLLM servers. llms.openlm.OpenLM Create a new model by parsing and validating input data from keyword arguments. llms.petals.Petals Wrapper around Petals Bloom models. llms.pipelineai.PipelineAI Wrapper around PipelineAI large language models. llms.predictionguard.PredictionGuard Wrapper around Prediction Guard large language models. llms.promptlayer_openai.PromptLayerOpenAI Wrapper around OpenAI large language models. llms.promptlayer_openai.PromptLayerOpenAIChat Wrapper around OpenAI large language models. llms.replicate.Replicate Wrapper around Replicate models. llms.rwkv.RWKV Wrapper around RWKV language models. llms.sagemaker_endpoint.ContentHandlerBase()
[ 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, 2212, 22017, 3544, 4221, 4211, 627, 657, 1026, 749, 45883, 1029, 1345, 45883, 2735, 198, 11803, 2212, 386, 45883, 2735, 596, 445, 11237, 45478, 2532, 627, 657, 1026, 1276, 13855, 12641, 2112, 43, 4977, 53278, 198, 11803, 2212, 33260, 4977, 53278, 3544, 4221, 4211, 627, 657, 1026, 14778, 302, 78, 2192, 37799, 8548, 302, 78, 15836, 28480, 198, 11803, 2212, 5020, 78, 15836, 763, 2251, 4060, 7862, 627, 657, 1026, 5949, 2192, 58927, 5109, 15836, 198, 11803, 2212, 35219, 19440, 5377, 15836, 3544, 4221, 4211, 627, 657, 1026, 5949, 2192, 13316, 5109, 15836, 198, 11803, 2212, 5377, 15836, 3544, 4221, 4211, 627, 657, 1026, 5949, 2192, 13250, 15836, 198, 11803, 2212, 5377, 15836, 3544, 4221, 4211, 627, 657, 1026, 5949, 2192, 13250, 15836, 16047, 198, 11803, 2212, 5377, 15836, 13149, 3544, 4221, 4211, 627, 657, 1026, 5949, 657, 76, 6580, 306, 7922, 4975, 198, 657, 1026, 5949, 657, 76, 13250, 4178, 44, 198, 11803, 369, 32888, 5377, 4178, 44, 11, 12899, 2225, 304, 51194, 1646, 2937, 323, 8870, 5377, 4178, 44, 16692, 627, 657, 1026, 5949, 18244, 13250, 11237, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 657, 1026, 80962, 1147, 1087, 295, 1147, 198, 11803, 2212, 11586, 1147, 25517, 4211, 627, 657, 1026, 58833, 2192, 1087, 8966, 15836, 198, 11803, 2212, 42007, 15836, 3544, 4221, 4211, 627, 657, 1026, 75195, 2538, 27190, 1087, 1171, 2538, 21471, 198, 11803, 2212, 62965, 12542, 3544, 4221, 4211, 627, 657, 1026, 66499, 10546, 11563, 2192, 1087, 15091, 9368, 5109, 15836, 198, 11803, 2212, 5377, 15836, 3544, 4221, 4211, 627, 657, 1026, 66499, 10546, 11563, 2192, 1087, 15091, 9368, 5109, 15836, 16047, 198, 11803, 2212, 5377, 15836, 3544, 4221, 4211, 627, 657, 1026, 69325, 49895, 2887, 79, 49895, 198, 11803, 2212, 3402, 49895, 4211, 627, 657, 1026, 1783, 86, 44508, 2056, 69416, 53, 198, 11803, 2212, 47306, 83807, 4221, 4211, 627, 657, 1026, 516, 15003, 4506, 37799, 12900, 3126, 4066, 368 ]
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 Inference Endpoints. llms.self_hosted.SelfHostedPipeline Run model inference on self-hosted remote hardware. llms.self_hosted_hugging_face.SelfHostedHuggingFaceLLM Wrapper around HuggingFace Pipeline API to run on self-hosted remote hardware. llms.stochasticai.StochasticAI Wrapper around StochasticAI large language models. llms.textgen.TextGen Wrapper around the text-generation-webui model. llms.vertexai.VertexAI Wrapper around Google Vertex AI large language models. llms.writer.Writer Wrapper around Writer large language models. Functions¶ llms.aviary.get_completions(model, prompt[, ...]) Get completions from Aviary models. llms.aviary.get_models() List available models llms.base.get_prompts(params, prompts) Get prompts that are already cached. llms.base.update_cache(existing_prompts, ...) Update the cache and get the LLM output. llms.cohere.completion_with_retry(llm, **kwargs) Use tenacity to retry the completion call. llms.databricks.get_default_api_token() Gets the default Databricks personal access token. llms.databricks.get_default_host() Gets the default Databricks workspace hostname. llms.databricks.get_repl_context() Gets the notebook REPL context if running inside a Databricks notebook. llms.google_palm.generate_with_retry(llm, ...)
[ 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, 37799, 1236, 11237, 2831, 3126, 746, 2831, 7158, 369, 445, 11237, 538, 627, 657, 1026, 516, 15003, 4506, 37799, 815, 15003, 4506, 28480, 198, 11803, 2212, 2587, 328, 15003, 4506, 763, 2251, 4060, 7862, 627, 657, 1026, 28248, 13144, 291, 815, 491, 9480, 291, 35756, 198, 6869, 1646, 45478, 389, 659, 39689, 291, 8870, 12035, 627, 657, 1026, 28248, 13144, 291, 1552, 36368, 32085, 815, 491, 9480, 291, 39, 36368, 16680, 4178, 44, 198, 11803, 2212, 473, 36368, 16680, 42007, 5446, 311, 1629, 389, 659, 39689, 291, 8870, 12035, 627, 657, 1026, 1258, 67054, 2192, 7914, 67054, 15836, 198, 11803, 2212, 800, 67054, 15836, 3544, 4221, 4211, 627, 657, 1026, 2858, 4469, 2021, 10172, 198, 11803, 2212, 279, 1495, 43927, 30531, 2005, 1646, 627, 657, 1026, 48375, 2192, 73694, 15836, 198, 11803, 2212, 5195, 24103, 15592, 3544, 4221, 4211, 627, 657, 1026, 31932, 48938, 198, 11803, 2212, 30504, 3544, 4221, 4211, 627, 26272, 55609, 198, 657, 1026, 85652, 661, 673, 3038, 11053, 919, 7790, 11, 4194, 41681, 38372, 4194, 1131, 2608, 1991, 3543, 919, 505, 7671, 72, 661, 4211, 627, 657, 1026, 85652, 661, 673, 31892, 746, 861, 2561, 4211, 198, 657, 1026, 9105, 673, 48977, 13044, 9094, 11, 4194, 25475, 13044, 340, 1991, 52032, 430, 527, 2736, 21224, 627, 657, 1026, 9105, 5430, 11790, 95714, 48977, 13044, 11, 4194, 32318, 4387, 279, 6636, 323, 636, 279, 445, 11237, 2612, 627, 657, 1026, 522, 2319, 486, 916, 14723, 6753, 63845, 36621, 76, 11, 4194, 334, 9872, 340, 10464, 5899, 4107, 311, 23515, 279, 9954, 1650, 627, 657, 1026, 32112, 78889, 673, 10198, 11959, 6594, 746, 50458, 279, 1670, 423, 2143, 78889, 4443, 2680, 4037, 627, 657, 1026, 32112, 78889, 673, 10198, 13144, 746, 50458, 279, 1670, 423, 2143, 78889, 28614, 29215, 627, 657, 1026, 32112, 78889, 673, 1311, 501, 8634, 746, 50458, 279, 38266, 93680, 2317, 422, 4401, 4871, 264, 423, 2143, 78889, 38266, 627, 657, 1026, 5831, 623, 7828, 22793, 6753, 63845, 36621, 76, 11, 4194, 33674 ]
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_token_usage(keys, ...) Update token usage. llms.utils.enforce_stop_tokens(text, stop) Cut off the text as soon as any stop words occur. llms.vertexai.is_codey_model(model_name) langchain.load: Load¶ Classes¶ load.serializable.BaseSerialized Base class for serialized objects. load.serializable.Serializable Serializable base class. load.serializable.SerializedConstructor Serialized constructor. load.serializable.SerializedNotImplemented Serialized not implemented. load.serializable.SerializedSecret Serialized secret. Functions¶ load.dump.default(obj) Return a default value for a Serializable object or a SerializedNotImplemented object. load.dump.dumpd(obj) Return a json dict representation of an object. load.dump.dumps(obj, *[, pretty]) Return a json string representation of an object. load.load.loads(text, *[, secrets_map]) load.serializable.to_json_not_implemented(obj) Serialize a "not implemented" object. langchain.math_utils: Math Utils¶ Math utils. Functions¶ math_utils.cosine_similarity(X, Y) Row-wise cosine similarity between two equal-width matrices. math_utils.cosine_similarity_top_k(X, Y[, ...]) Row-wise cosine similarity with optional top-k and score threshold filtering. langchain.memory: Memory¶ Classes¶ memory.buffer.ConversationBufferMemory Buffer for storing conversation memory.
[ 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, 44095, 76, 5791, 5445, 8928, 340, 6003, 445, 11237, 505, 5649, 30226, 627, 657, 1026, 5949, 2192, 916, 14723, 6753, 63845, 36621, 76, 11, 4194, 334, 9872, 340, 10464, 5899, 4107, 311, 23515, 279, 9954, 1650, 627, 657, 1026, 5949, 2192, 5430, 6594, 32607, 37231, 11, 4194, 32318, 4387, 4037, 10648, 627, 657, 1026, 8576, 7794, 9009, 19577, 29938, 7383, 11, 4194, 9684, 340, 38766, 1022, 279, 1495, 439, 5246, 439, 904, 3009, 4339, 12446, 627, 657, 1026, 48375, 2192, 2124, 4229, 88, 5156, 7790, 1292, 340, 5317, 8995, 5214, 25, 9069, 55609, 198, 20678, 55609, 198, 1096, 30918, 8499, 13316, 78621, 198, 4066, 538, 369, 34016, 6302, 627, 1096, 30918, 8499, 24643, 198, 30368, 2385, 538, 627, 1096, 30918, 8499, 13717, 1534, 13591, 198, 78621, 4797, 627, 1096, 30918, 8499, 13717, 1534, 2688, 18804, 198, 78621, 539, 11798, 627, 1096, 30918, 8499, 13717, 1534, 20357, 198, 78621, 6367, 627, 26272, 55609, 198, 1096, 28026, 8939, 6922, 340, 5715, 264, 1670, 907, 369, 264, 25901, 1665, 477, 264, 92572, 2688, 18804, 1665, 627, 1096, 28026, 28026, 67, 6922, 340, 5715, 264, 3024, 6587, 13340, 315, 459, 1665, 627, 1096, 28026, 22252, 6922, 11, 4194, 9, 38372, 4194, 34055, 2608, 5715, 264, 3024, 925, 13340, 315, 459, 1665, 627, 1096, 5214, 23818, 7383, 11, 4194, 9, 38372, 4194, 325, 53810, 5489, 2608, 1096, 30918, 8499, 2446, 9643, 8072, 18377, 14565, 6922, 340, 16055, 264, 330, 1962, 11798, 1, 1665, 627, 5317, 8995, 22346, 17758, 25, 4242, 18438, 55609, 198, 8991, 12721, 627, 26272, 55609, 198, 10590, 17758, 21832, 483, 77336, 7799, 11, 4194, 56, 340, 3179, 45539, 76359, 38723, 1990, 1403, 6273, 9531, 36295, 627, 10590, 17758, 21832, 483, 77336, 10643, 4803, 7799, 11, 4194, 56, 38372, 4194, 1131, 2608, 3179, 45539, 76359, 38723, 449, 10309, 1948, 12934, 323, 5573, 12447, 30770, 627, 5317, 8995, 37711, 25, 14171, 55609, 198, 20678, 55609, 198, 17717, 25472, 4906, 23124, 4187, 10869, 198, 4187, 369, 28672, 10652, 5044, 13 ]
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 parsing and validating input data from keyword arguments. memory.chat_message_histories.cassandra.CassandraChatMessageHistory(...) Chat message history that stores history in Cassandra. memory.chat_message_histories.cosmos_db.CosmosDBChatMessageHistory(...) Chat history backed by Azure CosmosDB. memory.chat_message_histories.dynamodb.DynamoDBChatMessageHistory(...) Chat message history that stores history in AWS DynamoDB. memory.chat_message_histories.file.FileChatMessageHistory(...) Chat message history that stores history in a local file. memory.chat_message_histories.firestore.FirestoreChatMessageHistory(...) Chat history backed by Google Firestore. memory.chat_message_histories.in_memory.ChatMessageHistory Create a new model by parsing and validating input data from keyword arguments. memory.chat_message_histories.momento.MomentoChatMessageHistory(...) Chat message history cache that uses Momento as a backend. memory.chat_message_histories.mongodb.MongoDBChatMessageHistory(...) Chat message history that stores history in MongoDB. memory.chat_message_histories.postgres.PostgresChatMessageHistory(...) Chat message history stored in a Postgres database. memory.chat_message_histories.redis.RedisChatMessageHistory(...) Chat message history stored in a Redis database. memory.chat_message_histories.sql.SQLChatMessageHistory(...) Chat message history stored in an SQL database. memory.chat_message_histories.zep.ZepChatMessageHistory(...) A ChatMessageHistory implementation that uses Zep as a backend. memory.combined.CombinedMemory Class for combining multiple memories' data together. memory.entity.BaseEntityStore
[ 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, 198, 4187, 369, 28672, 10652, 5044, 627, 17717, 27215, 19745, 13316, 16047, 10869, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 17717, 27215, 6598, 37499, 2490, 522, 71193, 732, 71193, 16047, 2097, 13730, 73893, 16047, 1984, 3925, 430, 10756, 3925, 304, 82342, 627, 17717, 27215, 6598, 37499, 2490, 21832, 8801, 8856, 67355, 8801, 3590, 16047, 2097, 13730, 73893, 16047, 3925, 22126, 555, 35219, 84524, 3590, 627, 17717, 27215, 6598, 37499, 2490, 962, 84448, 920, 86708, 3590, 16047, 2097, 13730, 73893, 16047, 1984, 3925, 430, 10756, 3925, 304, 24124, 72913, 3590, 627, 17717, 27215, 6598, 37499, 2490, 9914, 8744, 16047, 2097, 13730, 73893, 16047, 1984, 3925, 430, 10756, 3925, 304, 264, 2254, 1052, 627, 17717, 27215, 6598, 37499, 2490, 52099, 72405, 4412, 16047, 2097, 13730, 73893, 16047, 3925, 22126, 555, 5195, 95366, 627, 17717, 27215, 6598, 37499, 2490, 1896, 19745, 59944, 2097, 13730, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 17717, 27215, 6598, 37499, 2490, 749, 13209, 78, 1345, 13209, 78, 16047, 2097, 13730, 73893, 16047, 1984, 3925, 6636, 430, 5829, 40096, 78, 439, 264, 19713, 627, 17717, 27215, 6598, 37499, 2490, 45331, 79305, 3590, 16047, 2097, 13730, 73893, 16047, 1984, 3925, 430, 10756, 3925, 304, 46428, 627, 17717, 27215, 6598, 37499, 2490, 6679, 18297, 24336, 18297, 16047, 2097, 13730, 73893, 16047, 1984, 3925, 9967, 304, 264, 3962, 18297, 4729, 627, 17717, 27215, 6598, 37499, 2490, 50979, 83498, 16047, 2097, 13730, 73893, 16047, 1984, 3925, 9967, 304, 264, 35258, 4729, 627, 17717, 27215, 6598, 37499, 2490, 10251, 26151, 16047, 2097, 13730, 73893, 16047, 1984, 3925, 9967, 304, 459, 8029, 4729, 627, 17717, 27215, 6598, 37499, 2490, 4025, 752, 13784, 752, 16047, 2097, 13730, 73893, 32, 13149, 2097, 13730, 8292, 430, 5829, 1901, 752, 439, 264, 19713, 627, 17717, 916, 65, 1619, 732, 2925, 1619, 10869, 198, 1999, 369, 35271, 5361, 19459, 6, 828, 3871, 627, 17717, 9926, 13316, 3106, 6221 ]
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.RedisEntityStore Redis-backed Entity store. memory.entity.SQLiteEntityStore SQLite-backed Entity store memory.kg.ConversationKGMemory Knowledge graph memory for storing conversation memory. memory.motorhead_memory.MotorheadMemory Create a new model by parsing and validating input data from keyword arguments. memory.readonly.ReadOnlySharedMemory A memory wrapper that is read-only and cannot be changed. memory.simple.SimpleMemory Simple memory for storing context or other bits of information that shouldn't ever change between prompts. memory.summary.ConversationSummaryMemory Conversation summarizer to memory. memory.summary.SummarizerMixin Create a new model by parsing and validating input data from keyword arguments. memory.summary_buffer.ConversationSummaryBufferMemory Buffer with summarizer for storing conversation memory. memory.token_buffer.ConversationTokenBufferMemory Buffer for storing conversation memory. memory.vectorstore.VectorStoreRetrieverMemory Class for a VectorStore-backed memory object. Functions¶ memory.chat_message_histories.sql.create_message_model(...) Create a message model for a given table name. memory.utils.get_prompt_input_key(inputs, ...) Get the prompt input key. langchain.output_parsers: Output Parsers¶ Classes¶ output_parsers.boolean.BooleanOutputParser Create a new model by parsing and validating input data from keyword arguments. output_parsers.combining.CombiningOutputParser Class to combine multiple output parsers into one. output_parsers.datetime.DatetimeOutputParser Create a new model by parsing and validating input data from keyword arguments. output_parsers.enum.EnumOutputParser
[ 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, 3213, 5044, 627, 17717, 9926, 5450, 10869, 3106, 6221, 198, 16323, 304, 65196, 5502, 3637, 627, 17717, 9926, 83498, 3106, 6221, 198, 49237, 46128, 10606, 3637, 627, 17717, 9926, 98701, 3106, 6221, 198, 82872, 46128, 10606, 3637, 198, 17717, 5314, 70, 4906, 23124, 44016, 10869, 198, 81434, 4876, 5044, 369, 28672, 10652, 5044, 627, 17717, 749, 10088, 2025, 19745, 1345, 10088, 2025, 10869, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 17717, 4217, 3323, 27558, 17430, 10869, 198, 32, 5044, 13564, 430, 374, 1373, 15744, 323, 4250, 387, 5614, 627, 17717, 25456, 25236, 10869, 198, 16778, 5044, 369, 28672, 2317, 477, 1023, 9660, 315, 2038, 430, 13434, 956, 3596, 2349, 1990, 52032, 627, 17717, 36441, 4906, 23124, 19791, 10869, 198, 61413, 29385, 3213, 311, 5044, 627, 17717, 36441, 42776, 5730, 3213, 39556, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 17717, 36441, 7932, 4906, 23124, 19791, 4187, 10869, 198, 4187, 449, 29385, 3213, 369, 28672, 10652, 5044, 627, 17717, 14754, 7932, 4906, 3078, 17481, 4187, 10869, 198, 4187, 369, 28672, 10652, 5044, 627, 17717, 48203, 4412, 14621, 6221, 12289, 462, 2099, 10869, 198, 1999, 369, 264, 4290, 6221, 46128, 5044, 1665, 627, 26272, 55609, 198, 17717, 27215, 6598, 37499, 2490, 10251, 2581, 6598, 5156, 73893, 4110, 264, 1984, 1646, 369, 264, 2728, 2007, 836, 627, 17717, 8576, 673, 62521, 6022, 3173, 35099, 11, 4194, 32318, 1991, 279, 10137, 1988, 1401, 627, 5317, 8995, 13718, 623, 41588, 25, 9442, 393, 41588, 55609, 198, 20678, 55609, 198, 3081, 623, 41588, 58634, 19712, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 916, 65, 5859, 732, 2925, 5859, 5207, 6707, 198, 1999, 311, 16343, 5361, 2612, 88173, 1139, 832, 627, 3081, 623, 41588, 20296, 920, 28762, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 71283, 44325, 5207, 6707 ]
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.ListOutputParser Class to parse the output of an LLM call to a list. output_parsers.openai_functions.JsonKeyOutputFunctionsParser Create a new model by parsing and validating input data from keyword arguments. output_parsers.openai_functions.JsonOutputFunctionsParser Create a new model by parsing and validating input data from keyword arguments. output_parsers.openai_functions.OutputFunctionsParser Create a new model by parsing and validating input data from keyword arguments. output_parsers.openai_functions.PydanticAttrOutputFunctionsParser Create a new model by parsing and validating input data from keyword arguments. output_parsers.openai_functions.PydanticOutputFunctionsParser Create a new model by parsing and validating input data from keyword arguments. output_parsers.pydantic.PydanticOutputParser Create a new model by parsing and validating input data from keyword arguments. output_parsers.rail_parser.GuardrailsOutputParser Create a new model by parsing and validating input data from keyword arguments. output_parsers.regex.RegexParser Class to parse the output into a dictionary. output_parsers.regex_dict.RegexDictParser Class to parse the output into a dictionary. output_parsers.retry.RetryOutputParser Wraps a parser and tries to fix parsing errors. output_parsers.retry.RetryWithErrorOutputParser Wraps a parser and tries to fix parsing errors. output_parsers.structured.ResponseSchema Create a new model by parsing and validating input data from keyword arguments. output_parsers.structured.StructuredOutputParser
[ 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, 6103, 627, 3081, 623, 41588, 6556, 3034, 1764, 93025, 861, 5207, 6707, 198, 14802, 704, 32783, 19180, 11725, 627, 3081, 623, 41588, 6556, 5937, 5207, 6707, 198, 1999, 311, 4820, 279, 2612, 315, 459, 445, 11237, 1650, 311, 264, 1160, 627, 3081, 623, 41588, 5949, 2192, 32808, 13874, 1622, 5207, 26272, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 5949, 2192, 32808, 13874, 5207, 26272, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 5949, 2192, 32808, 35346, 26272, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 5949, 2192, 32808, 1087, 41221, 8322, 13675, 5207, 26272, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 5949, 2192, 32808, 1087, 41221, 8322, 5207, 26272, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 7345, 67, 8322, 1087, 41221, 8322, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 1783, 607, 19024, 1246, 11280, 38445, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 44218, 9166, 327, 6707, 198, 1999, 311, 4820, 279, 2612, 1139, 264, 11240, 627, 3081, 623, 41588, 44218, 5356, 9166, 327, 13755, 6707, 198, 1999, 311, 4820, 279, 2612, 1139, 264, 11240, 627, 3081, 623, 41588, 87939, 2056, 15501, 5207, 6707, 198, 36314, 2690, 264, 6871, 323, 16696, 311, 5155, 23115, 6103, 627, 3081, 623, 41588, 87939, 2056, 15501, 67202, 5207, 6707, 198, 36314, 2690, 264, 6871, 323, 16696, 311, 5155, 23115, 6103, 627, 3081, 623, 41588, 13, 52243, 12859, 8802, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 3081, 623, 41588, 13, 52243, 52545, 3149, 5207, 6707 ]
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_markdown(...) Parse a JSON string from a Markdown string. output_parsers.loading.load_output_parser(config) Load output parser. langchain.prompts: Prompts¶ Prompt template classes. Classes¶ prompts.base.BasePromptTemplate Base class for all prompt templates, returning a prompt. prompts.base.StringPromptTemplate String prompt should expose the format method, returning a prompt. prompts.base.StringPromptValue Create a new model by parsing and validating input data from keyword arguments. prompts.chat.AIMessagePromptTemplate Create a new model by parsing and validating input data from keyword arguments. prompts.chat.BaseChatPromptTemplate Create a new model by parsing and validating input data from keyword arguments. prompts.chat.BaseMessagePromptTemplate Create a new model by parsing and validating input data from keyword arguments. prompts.chat.BaseStringMessagePromptTemplate Create a new model by parsing and validating input data from keyword arguments. prompts.chat.ChatMessagePromptTemplate Create a new model by parsing and validating input data from keyword arguments. prompts.chat.ChatPromptTemplate Create a new model by parsing and validating input data from keyword arguments. prompts.chat.ChatPromptValue Create a new model by parsing and validating input data from keyword arguments. prompts.chat.HumanMessagePromptTemplate Create a new model by parsing and validating input data from keyword arguments. prompts.chat.MessagesPlaceholder Prompt template that assumes variable is already list of messages. prompts.chat.SystemMessagePromptTemplate Create a new model by parsing and validating input data from keyword arguments.
[ 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, 4823, 925, 505, 264, 74292, 925, 323, 1817, 430, 433, 5727, 279, 3685, 7039, 627, 3081, 623, 41588, 4421, 4736, 9643, 19460, 2996, 73893, 14802, 264, 4823, 925, 505, 264, 74292, 925, 627, 3081, 623, 41588, 25908, 5214, 7800, 19024, 8928, 340, 6003, 2612, 6871, 627, 5317, 8995, 61848, 13044, 25, 18042, 13044, 55609, 198, 55715, 3896, 6989, 627, 20678, 55609, 198, 25475, 13044, 9105, 13316, 55715, 7423, 198, 4066, 538, 369, 682, 10137, 20506, 11, 13758, 264, 10137, 627, 25475, 13044, 9105, 6567, 55715, 7423, 198, 707, 10137, 1288, 29241, 279, 3645, 1749, 11, 13758, 264, 10137, 627, 25475, 13044, 9105, 6567, 55715, 1150, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 25475, 13044, 27215, 885, 1829, 808, 55715, 7423, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 25475, 13044, 27215, 13316, 16047, 55715, 7423, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 25475, 13044, 27215, 13316, 2097, 55715, 7423, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 25475, 13044, 27215, 13316, 707, 2097, 55715, 7423, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 25475, 13044, 27215, 59944, 2097, 55715, 7423, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 25475, 13044, 27215, 59944, 55715, 7423, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 25475, 13044, 27215, 59944, 55715, 1150, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 25475, 13044, 27215, 3924, 7282, 2097, 55715, 7423, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 25475, 13044, 27215, 55545, 49405, 198, 55715, 3896, 430, 22204, 3977, 374, 2736, 1160, 315, 6743, 627, 25475, 13044, 27215, 17031, 2097, 55715, 7423, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 13 ]
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_overlap.NGramOverlapExampleSelector Select and order examples based on ngram overlap score (sentence_bleu score). prompts.example_selector.semantic_similarity.MaxMarginalRelevanceExampleSelector ExampleSelector that selects examples based on Max Marginal Relevance. prompts.example_selector.semantic_similarity.SemanticSimilarityExampleSelector Example selector that selects examples based on SemanticSimilarity. prompts.few_shot.FewShotPromptTemplate Prompt template that contains few shot examples. prompts.few_shot_with_templates.FewShotPromptWithTemplates Prompt template that contains few shot examples. prompts.pipeline.PipelinePromptTemplate A prompt template for composing multiple prompts together. prompts.prompt.PromptTemplate Schema to represent a prompt for an LLM. Functions¶ prompts.base.check_valid_template(template, ...) Check that template string is valid. prompts.base.jinja2_formatter(template, **kwargs) Format a template using jinja2. prompts.base.validate_jinja2(template, ...) Validate that the input variables are valid for the template. prompts.example_selector.ngram_overlap.ngram_overlap_score(...) Compute ngram overlap score of source and example as sentence_bleu score. prompts.example_selector.semantic_similarity.sorted_values(values) Return a list of values in dict sorted by key. prompts.loading.load_prompt(path) Unified method for loading a prompt from LangChainHub or local fs. prompts.loading.load_prompt_from_config(config) Load prompt from Config Dict. langchain.requests: Requests¶ Lightweight wrapper around requests library, with async support. Classes¶
[ 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, 29815, 13617, 6001, 198, 3461, 10507, 3196, 389, 3160, 627, 25475, 13044, 7880, 29990, 1276, 1549, 66894, 2112, 65325, 83271, 13617, 6001, 198, 3461, 323, 2015, 10507, 3196, 389, 308, 1549, 28347, 5573, 320, 52989, 71813, 84, 5573, 4390, 25475, 13044, 7880, 29990, 95139, 77336, 14877, 45337, 992, 697, 33194, 13617, 6001, 198, 13617, 6001, 430, 50243, 10507, 3196, 389, 7639, 24079, 992, 1050, 33194, 627, 25475, 13044, 7880, 29990, 95139, 77336, 815, 336, 8322, 35502, 488, 13617, 6001, 198, 13617, 9551, 430, 50243, 10507, 3196, 389, 75433, 35502, 488, 627, 25475, 13044, 840, 365, 82326, 1006, 365, 37502, 55715, 7423, 198, 55715, 3896, 430, 5727, 2478, 6689, 10507, 627, 25475, 13044, 840, 365, 82326, 6753, 50626, 1006, 365, 37502, 55715, 2409, 52295, 198, 55715, 3896, 430, 5727, 2478, 6689, 10507, 627, 25475, 13044, 58833, 1087, 8966, 55715, 7423, 198, 32, 10137, 3896, 369, 76978, 5361, 52032, 3871, 627, 25475, 13044, 66499, 1087, 15091, 7423, 198, 8802, 311, 4097, 264, 10137, 369, 459, 445, 11237, 627, 26272, 55609, 198, 25475, 13044, 9105, 9271, 8501, 8864, 31063, 11, 4194, 32318, 4061, 430, 3896, 925, 374, 2764, 627, 25475, 13044, 9105, 1190, 42520, 17, 75065, 31063, 11, 4194, 334, 9872, 340, 4152, 264, 3896, 1701, 503, 42520, 17, 627, 25475, 13044, 9105, 20090, 5487, 42520, 17, 31063, 11, 4194, 32318, 18409, 430, 279, 1988, 7482, 527, 2764, 369, 279, 3896, 627, 25475, 13044, 7880, 29990, 1276, 1549, 66894, 1276, 1549, 66894, 10622, 73893, 47354, 308, 1549, 28347, 5573, 315, 2592, 323, 3187, 439, 11914, 71813, 84, 5573, 627, 25475, 13044, 7880, 29990, 95139, 77336, 70197, 9324, 20706, 340, 5715, 264, 1160, 315, 2819, 304, 6587, 10839, 555, 1401, 627, 25475, 13044, 25908, 5214, 62521, 5698, 340, 86479, 1749, 369, 8441, 264, 10137, 505, 23272, 19368, 19876, 477, 2254, 8789, 627, 25475, 13044, 25908, 5214, 62521, 5791, 5445, 8928, 340, 6003, 10137, 505, 5649, 30226, 627, 5317, 8995, 68771, 25, 51982, 55609, 198, 14235, 4870, 13564, 2212, 7540, 6875, 11, 449, 3393, 1862, 627, 20678, 55609 ]
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 for ArxivAPIWrapper. retrievers.azure_cognitive_search.AzureCognitiveSearchRetriever Wrapper around Azure Cognitive Search. retrievers.chatgpt_plugin_retriever.ChatGPTPluginRetriever Create a new model by parsing and validating input data from keyword arguments. retrievers.contextual_compression.ContextualCompressionRetriever Retriever that wraps a base retriever and compresses the results. retrievers.databerry.DataberryRetriever(...) Retriever that uses the Databerry API. retrievers.docarray.DocArrayRetriever Retriever class for DocArray Document Indices. retrievers.docarray.SearchType(value[, ...]) Enumerator of the types of search to perform. retrievers.document_compressors.base.BaseDocumentCompressor Base abstraction interface for document compression. retrievers.document_compressors.base.DocumentCompressorPipeline Document compressor that uses a pipeline of transformers. retrievers.document_compressors.chain_extract.LLMChainExtractor Create a new model by parsing and validating input data from keyword arguments. retrievers.document_compressors.chain_extract.NoOutputParser Parse outputs that could return a null string of some sort. retrievers.document_compressors.chain_filter.LLMChainFilter Filter that drops documents that aren't relevant to the query. retrievers.document_compressors.cohere_rerank.CohereRerank Create a new model by parsing and validating input data from keyword arguments.
[ 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, 8995, 1351, 9104, 3078, 25, 20035, 3078, 55609, 198, 20678, 55609, 198, 265, 9104, 3078, 17126, 89833, 885, 12940, 344, 12289, 462, 2099, 198, 2181, 374, 13750, 264, 13564, 369, 1676, 89833, 7227, 11803, 627, 265, 9104, 3078, 71340, 669, 51549, 10947, 58927, 34, 51549, 6014, 12289, 462, 2099, 198, 11803, 2212, 35219, 73235, 7694, 627, 265, 9104, 3078, 27215, 70, 418, 23982, 1311, 9104, 424, 59944, 38, 2898, 11807, 12289, 462, 2099, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 8852, 940, 3038, 4099, 9512, 940, 82511, 12289, 462, 2099, 198, 12289, 462, 2099, 430, 40809, 264, 2385, 10992, 424, 323, 25633, 288, 279, 3135, 627, 265, 9104, 3078, 32112, 5515, 920, 2143, 5515, 12289, 462, 2099, 73893, 12289, 462, 2099, 430, 5829, 279, 423, 2143, 5515, 5446, 627, 265, 9104, 3078, 24595, 1686, 43552, 1895, 12289, 462, 2099, 198, 12289, 462, 2099, 538, 369, 22452, 1895, 12051, 86869, 627, 265, 9104, 3078, 24595, 1686, 33003, 941, 3764, 38372, 4194, 1131, 2608, 10679, 315, 279, 4595, 315, 2778, 311, 2804, 627, 265, 9104, 3078, 17926, 88945, 1105, 9105, 13316, 7676, 1110, 57320, 198, 4066, 59851, 3834, 369, 2246, 26168, 627, 265, 9104, 3078, 17926, 88945, 1105, 9105, 27352, 1110, 57320, 35756, 198, 7676, 59977, 430, 5829, 264, 15660, 315, 87970, 627, 265, 9104, 3078, 17926, 88945, 1105, 53141, 40223, 1236, 11237, 19368, 57218, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 17926, 88945, 1105, 53141, 40223, 17184, 5207, 6707, 198, 14802, 16674, 430, 1436, 471, 264, 854, 925, 315, 1063, 3460, 627, 265, 9104, 3078, 17926, 88945, 1105, 53141, 8901, 1236, 11237, 19368, 5750, 198, 5750, 430, 21701, 9477, 430, 7784, 956, 9959, 311, 279, 3319, 627, 265, 9104, 3078, 17926, 88945, 1105, 522, 2319, 486, 1745, 261, 1201, 732, 2319, 486, 49, 261, 1201, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 13 ]
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 using BM25 as a retrieval method. retrievers.kendra.AdditionalResultAttribute Create a new model by parsing and validating input data from keyword arguments. retrievers.kendra.AdditionalResultAttributeValue Create a new model by parsing and validating input data from keyword arguments. retrievers.kendra.AmazonKendraRetriever(index_id) Retriever class to query documents from Amazon Kendra Index. retrievers.kendra.DocumentAttribute Create a new model by parsing and validating input data from keyword arguments. retrievers.kendra.DocumentAttributeValue Create a new model by parsing and validating input data from keyword arguments. retrievers.kendra.Highlight Create a new model by parsing and validating input data from keyword arguments. retrievers.kendra.QueryResult Create a new model by parsing and validating input data from keyword arguments. retrievers.kendra.QueryResultItem Create a new model by parsing and validating input data from keyword arguments. retrievers.kendra.RetrieveResult Create a new model by parsing and validating input data from keyword arguments. retrievers.kendra.RetrieveResultItem Create a new model by parsing and validating input data from keyword arguments. retrievers.kendra.TextWithHighLights Create a new model by parsing and validating input data from keyword arguments. retrievers.knn.KNNRetriever KNN Retriever. retrievers.llama_index.LlamaIndexGraphRetriever Question-answering with sources over an LlamaIndex graph data structure.
[ 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, 627, 265, 9104, 3078, 16230, 5174, 10947, 93022, 914, 5253, 52279, 6014, 30042, 914, 12289, 462, 2099, 73893, 11803, 2212, 59987, 1701, 20387, 914, 439, 264, 57470, 1749, 627, 265, 9104, 3078, 5314, 61799, 1943, 3079, 2122, 3994, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 61799, 1943, 3079, 2122, 79654, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 61799, 885, 76, 5639, 42, 61799, 12289, 462, 2099, 7343, 851, 340, 12289, 462, 2099, 538, 311, 3319, 9477, 505, 8339, 39217, 969, 8167, 627, 265, 9104, 3078, 5314, 61799, 27352, 3994, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 61799, 27352, 79654, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 61799, 71284, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 61799, 16060, 2122, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 61799, 16060, 2122, 1256, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 61799, 53946, 46104, 2122, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 61799, 53946, 46104, 2122, 1256, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 61799, 2021, 2409, 12243, 75584, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 5314, 7521, 11606, 9944, 12289, 462, 2099, 198, 42, 9944, 10608, 462, 2099, 627, 265, 9104, 3078, 60098, 3105, 3644, 1236, 81101, 1581, 11461, 12289, 462, 2099, 198, 14924, 12, 598, 86, 4776, 449, 8336, 927, 459, 445, 81101, 1581, 4876, 828, 6070, 13 ]
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(client[, params]) Retriever that uses the Metal API. retrievers.milvus.MilvusRetriever(...[, ...]) Retriever that uses the Milvus API. retrievers.multi_query.LineList Create a new model by parsing and validating input data from keyword arguments. retrievers.multi_query.LineListOutputParser Create a new model by parsing and validating input data from keyword arguments. retrievers.multi_query.MultiQueryRetriever(...) Given a user query, use an LLM to write a set of queries. retrievers.pinecone_hybrid_search.PineconeHybridSearchRetriever Create a new model by parsing and validating input data from keyword arguments. retrievers.pubmed.PubMedRetriever It is effectively a wrapper for PubMedAPIWrapper. retrievers.remote_retriever.RemoteLangChainRetriever Create a new model by parsing and validating input data from keyword arguments. retrievers.self_query.base.SelfQueryRetriever Retriever that wraps around a vector store and uses an LLM to generate the vector store queries. retrievers.self_query.chroma.ChromaTranslator() Logic for converting internal query language elements to valid filters. retrievers.self_query.myscale.MyScaleTranslator([...]) Logic for converting internal query language elements to valid filters. retrievers.self_query.pinecone.PineconeTranslator()
[ 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, 6070, 627, 265, 9104, 3078, 749, 261, 1414, 1311, 9104, 424, 1345, 261, 1414, 12289, 462, 2099, 73893, 2028, 538, 82053, 279, 3135, 315, 5361, 10992, 3078, 627, 265, 9104, 3078, 749, 22029, 1345, 22029, 12289, 462, 2099, 13097, 38372, 4194, 3603, 2608, 12289, 462, 2099, 430, 5829, 279, 19757, 5446, 627, 265, 9104, 3078, 749, 321, 85, 355, 1345, 321, 85, 355, 12289, 462, 2099, 19381, 38372, 4194, 1131, 2608, 12289, 462, 2099, 430, 5829, 279, 10357, 85, 355, 5446, 627, 265, 9104, 3078, 52251, 5857, 16825, 861, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 52251, 5857, 16825, 861, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 52251, 5857, 58806, 2929, 12289, 462, 2099, 73893, 22818, 264, 1217, 3319, 11, 1005, 459, 445, 11237, 311, 3350, 264, 743, 315, 20126, 627, 265, 9104, 3078, 558, 483, 59182, 1552, 94490, 10947, 1087, 483, 59182, 31916, 16621, 6014, 12289, 462, 2099, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 48873, 2106, 1087, 392, 13613, 12289, 462, 2099, 198, 2181, 374, 13750, 264, 13564, 369, 53768, 7227, 11803, 627, 265, 9104, 3078, 35193, 1311, 9104, 424, 52534, 27317, 19368, 12289, 462, 2099, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 28248, 5857, 9105, 815, 491, 2929, 12289, 462, 2099, 198, 12289, 462, 2099, 430, 40809, 2212, 264, 4724, 3637, 323, 5829, 459, 445, 11237, 311, 7068, 279, 4724, 3637, 20126, 627, 265, 9104, 3078, 28248, 5857, 5442, 58084, 6487, 58084, 52753, 746, 27849, 369, 34537, 5419, 3319, 4221, 5540, 311, 2764, 13711, 627, 265, 9104, 3078, 28248, 5857, 749, 84009, 28152, 7092, 52753, 83566, 2608, 27849, 369, 34537, 5419, 3319, 4221, 5540, 311, 2764, 13711, 627, 265, 9104, 3078, 28248, 5857, 558, 483, 59182, 1087, 483, 59182, 52753, 368 ]
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 internal query language elements to valid filters. retrievers.svm.SVMRetriever SVM Retriever. retrievers.tfidf.TFIDFRetriever Create a new model by parsing and validating input data from keyword arguments. retrievers.time_weighted_retriever.TimeWeightedVectorStoreRetriever Retriever combining embedding similarity with recency. retrievers.vespa_retriever.VespaRetriever(...) Retriever that uses the Vespa. retrievers.weaviate_hybrid_search.WeaviateHybridSearchRetriever(...) retrievers.wikipedia.WikipediaRetriever It is effectively a wrapper for WikipediaAPIWrapper. retrievers.zep.ZepRetriever(session_id, url) A Retriever implementation for the Zep long-term memory store. retrievers.zilliz.ZillizRetriever(...[, ...]) Retriever that uses the Zilliz API. Functions¶ retrievers.document_compressors.chain_extract.default_get_input(...) Return the compression chain input. retrievers.document_compressors.chain_filter.default_get_input(...) Return the compression chain input. retrievers.kendra.clean_excerpt(excerpt) retrievers.kendra.combined_text(title, excerpt) retrievers.knn.create_index(contexts, embeddings) Create an index of embeddings for a list of contexts. retrievers.milvus.MilvusRetreiver(*args, ...)
[ 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, 34537, 5419, 3319, 4221, 5540, 311, 2764, 13711, 627, 265, 9104, 3078, 28248, 5857, 31339, 6321, 349, 23210, 6321, 349, 52753, 746, 27849, 369, 34537, 5419, 3319, 4221, 5540, 311, 2764, 13711, 627, 265, 9104, 3078, 516, 7488, 815, 11435, 12289, 462, 2099, 198, 50, 11435, 10608, 462, 2099, 627, 265, 9104, 3078, 739, 82054, 844, 37, 926, 10725, 94223, 2099, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 265, 9104, 3078, 6512, 16255, 291, 1311, 9104, 424, 16698, 8459, 291, 3866, 6221, 12289, 462, 2099, 198, 12289, 462, 2099, 35271, 40188, 38723, 449, 1421, 2301, 627, 265, 9104, 3078, 13, 2396, 6733, 1311, 9104, 424, 5168, 288, 6733, 12289, 462, 2099, 73893, 12289, 462, 2099, 430, 5829, 279, 79562, 6733, 627, 265, 9104, 3078, 31339, 6321, 349, 1552, 94490, 10947, 23210, 6321, 349, 31916, 16621, 6014, 12289, 462, 2099, 73893, 265, 9104, 3078, 34466, 1196, 15288, 12289, 462, 2099, 198, 2181, 374, 13750, 264, 13564, 369, 27685, 7227, 11803, 627, 265, 9104, 3078, 4025, 752, 13784, 752, 12289, 462, 2099, 16663, 851, 11, 4194, 1103, 340, 32, 10608, 462, 2099, 8292, 369, 279, 1901, 752, 1317, 9860, 5044, 3637, 627, 265, 9104, 3078, 4025, 484, 450, 13784, 484, 450, 12289, 462, 2099, 19381, 38372, 4194, 1131, 2608, 12289, 462, 2099, 430, 5829, 279, 1901, 484, 450, 5446, 627, 26272, 55609, 198, 265, 9104, 3078, 17926, 88945, 1105, 53141, 40223, 8939, 3138, 6022, 73893, 5715, 279, 26168, 8957, 1988, 627, 265, 9104, 3078, 17926, 88945, 1105, 53141, 8901, 8939, 3138, 6022, 73893, 5715, 279, 26168, 8957, 1988, 627, 265, 9104, 3078, 5314, 61799, 26303, 68047, 5580, 35128, 340, 265, 9104, 3078, 5314, 61799, 916, 65, 1619, 4424, 12787, 11, 4194, 72670, 340, 265, 9104, 3078, 5314, 7521, 2581, 3644, 5491, 82, 11, 4194, 12529, 25624, 340, 4110, 459, 1963, 315, 71647, 369, 264, 1160, 315, 38697, 627, 265, 9104, 3078, 749, 321, 85, 355, 1345, 321, 85, 355, 12289, 265, 1553, 4163, 2164, 11, 4194, 33674 ]
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 composer for logical operators. retrievers.self_query.myscale.FUNCTION_COMPOSER(op_name) Composer for functions. retrievers.svm.create_index(contexts, embeddings) Create an index of embeddings for a list of contexts. retrievers.zilliz.ZillizRetreiver(*args, ...) Deprecated ZillizRetreiver. langchain.schema: Schema¶ Common schema objects. Classes¶ schema.AIMessage Type of message that is spoken by the AI. schema.AgentFinish(return_values, log) Agent's return value. schema.BaseChatMessageHistory() Base interface for chat message history See ChatMessageHistory for default implementation. schema.BaseDocumentTransformer() Base interface for transforming documents. schema.BaseLLMOutputParser Create a new model by parsing and validating input data from keyword arguments. schema.BaseMemory Base interface for memory in chains. schema.BaseMessage Message object. schema.BaseOutputParser Class to parse the output of an LLM call. schema.BaseRetriever() Base interface for a retriever. schema.ChatGeneration Output of a single generation. schema.ChatMessage Type of message with arbitrary speaker. schema.ChatResult Class that contains all relevant information for a Chat Result. schema.Document Interface for interacting with a document. schema.FunctionMessage Create a new model by parsing and validating input data from keyword arguments.
[ 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, 42609, 59182, 1963, 505, 264, 1160, 315, 38697, 627, 265, 9104, 3078, 558, 483, 59182, 1552, 94490, 10947, 15452, 4424, 7383, 340, 6504, 264, 1495, 1701, 22466, 4146, 627, 265, 9104, 3078, 28248, 5857, 749, 84009, 15209, 7021, 17914, 643, 17534, 1292, 340, 3760, 40550, 369, 20406, 20197, 627, 265, 9104, 3078, 28248, 5857, 749, 84009, 1006, 9260, 7021, 17914, 643, 17534, 1292, 340, 91167, 369, 5865, 627, 265, 9104, 3078, 516, 7488, 2581, 3644, 5491, 82, 11, 4194, 12529, 25624, 340, 4110, 459, 1963, 315, 71647, 369, 264, 1160, 315, 38697, 627, 265, 9104, 3078, 4025, 484, 450, 13784, 484, 450, 12289, 265, 1553, 4163, 2164, 11, 4194, 32318, 52444, 1901, 484, 450, 12289, 265, 1553, 627, 5317, 8995, 31992, 25, 12824, 55609, 198, 11076, 11036, 6302, 627, 20678, 55609, 198, 17801, 885, 1829, 808, 198, 941, 315, 1984, 430, 374, 22066, 555, 279, 15592, 627, 17801, 89969, 26748, 36206, 9324, 11, 4194, 848, 340, 17230, 596, 471, 907, 627, 17801, 13316, 16047, 2097, 13730, 746, 4066, 3834, 369, 6369, 1984, 3925, 3580, 13149, 2097, 13730, 369, 1670, 8292, 627, 17801, 13316, 7676, 47458, 746, 4066, 3834, 369, 46890, 9477, 627, 17801, 13316, 4178, 44, 5207, 6707, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 17801, 13316, 10869, 198, 4066, 3834, 369, 5044, 304, 27271, 627, 17801, 13316, 2097, 198, 2097, 1665, 627, 17801, 13316, 5207, 6707, 198, 1999, 311, 4820, 279, 2612, 315, 459, 445, 11237, 1650, 627, 17801, 13316, 12289, 462, 2099, 746, 4066, 3834, 369, 264, 10992, 424, 627, 17801, 59944, 38238, 198, 5207, 315, 264, 3254, 9659, 627, 17801, 59944, 2097, 198, 941, 315, 1984, 449, 25142, 19114, 627, 17801, 59944, 2122, 198, 1999, 430, 5727, 682, 9959, 2038, 369, 264, 13149, 5832, 627, 17801, 27352, 198, 5160, 369, 45830, 449, 264, 2246, 627, 17801, 31647, 2097, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 13 ]
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.NoOpOutputParser Output parser that just returns the text as is. schema.OutputParserException(error[, ...]) Exception that output parsers should raise to signify a parsing error. schema.PromptValue Create a new model by parsing and validating input data from keyword arguments. schema.RunInfo Class that contains all relevant metadata for a Run. schema.SystemMessage Type of message that is a system message. Functions¶ schema.get_buffer_string(messages[, ...]) Get buffer string of messages. schema.messages_from_dict(messages) Convert messages from dict. schema.messages_to_dict(messages) Convert messages to dict. langchain.server: Server¶ Script to run langchain-server locally using docker-compose. Functions¶ server.main() Run the langchain server locally. langchain.sql_database: Sql Database¶ SQLAlchemy wrapper around a database. Functions¶ sql_database.truncate_word(content, *, length) Truncate a string to a certain number of words, based on the max string length. langchain.text_splitter: Text Splitter¶ Functionality for splitting text. Classes¶ text_splitter.CharacterTextSplitter([separator]) Implementation of splitting text that looks at characters. text_splitter.HeaderType Header type as typed dict. text_splitter.Language(value[, names, ...]) text_splitter.LatexTextSplitter(**kwargs) Attempts to split the text along Latex-formatted layout elements. text_splitter.LineType Line type as typed dict.
[ 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, 627, 17801, 1236, 11237, 2122, 198, 1999, 430, 5727, 682, 9959, 2038, 369, 459, 445, 11237, 5832, 627, 17801, 17184, 7271, 5207, 6707, 198, 5207, 6871, 430, 1120, 4780, 279, 1495, 439, 374, 627, 17801, 35346, 6707, 1378, 6524, 38372, 4194, 1131, 2608, 1378, 430, 2612, 88173, 1288, 4933, 311, 89522, 264, 23115, 1493, 627, 17801, 1087, 15091, 1150, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 17801, 17123, 1767, 198, 1999, 430, 5727, 682, 9959, 11408, 369, 264, 6588, 627, 17801, 17031, 2097, 198, 941, 315, 1984, 430, 374, 264, 1887, 1984, 627, 26272, 55609, 198, 17801, 673, 7932, 3991, 56805, 38372, 4194, 1131, 2608, 1991, 4240, 925, 315, 6743, 627, 17801, 26381, 5791, 5356, 56805, 340, 12281, 6743, 505, 6587, 627, 17801, 26381, 2401, 5356, 56805, 340, 12281, 6743, 311, 6587, 627, 5317, 8995, 12926, 25, 8588, 55609, 198, 6035, 311, 1629, 8859, 8995, 27396, 24392, 1701, 27686, 66170, 627, 26272, 55609, 198, 4120, 9056, 746, 6869, 279, 8859, 8995, 3622, 24392, 627, 5317, 8995, 10251, 28441, 25, 7372, 10199, 55609, 198, 6827, 68614, 13564, 2212, 264, 4729, 627, 26272, 55609, 198, 3628, 28441, 5543, 27998, 13843, 15413, 11, 4194, 12594, 4194, 4222, 340, 1305, 27998, 264, 925, 311, 264, 3738, 1396, 315, 4339, 11, 3196, 389, 279, 1973, 925, 3160, 627, 5317, 8995, 2858, 17489, 466, 25, 2991, 28910, 466, 55609, 198, 5263, 2786, 369, 45473, 1495, 627, 20678, 55609, 198, 1342, 17489, 466, 52562, 1199, 20805, 466, 2625, 41220, 2608, 37950, 315, 45473, 1495, 430, 5992, 520, 5885, 627, 1342, 17489, 466, 16130, 941, 198, 4137, 955, 439, 33069, 6587, 627, 1342, 17489, 466, 58058, 3764, 38372, 4194, 11654, 11, 4194, 1131, 2608, 1342, 17489, 466, 1236, 266, 327, 1199, 20805, 466, 22551, 9872, 340, 82617, 311, 6859, 279, 1495, 3235, 10128, 327, 8627, 12400, 6932, 5540, 627, 1342, 17489, 466, 16825, 941, 198, 2519, 955, 439, 33069, 6587, 13 ]
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) Attempts to split the text along Python syntax. text_splitter.RecursiveCharacterTextSplitter([...]) Implementation of splitting text that looks at characters. text_splitter.SentenceTransformersTokenTextSplitter([...]) Implementation of splitting text that looks at tokens. text_splitter.SpacyTextSplitter([separator, ...]) Implementation of splitting text that looks at sentences using Spacy. text_splitter.TextSplitter(chunk_size, ...) Interface for splitting text into chunks. text_splitter.TokenTextSplitter([...]) Implementation of splitting text that looks at tokens. Functions¶ text_splitter.split_text_on_tokens(*, text, ...) Split incoming text and return chunks. langchain.tools: Tools¶ Core toolkit implementations. Classes¶ tools.arxiv.tool.ArxivQueryRun Tool that adds the capability to search using the Arxiv API. tools.azure_cognitive_services.form_recognizer.AzureCogsFormRecognizerTool Tool that queries the Azure Cognitive Services Form Recognizer API. tools.azure_cognitive_services.image_analysis.AzureCogsImageAnalysisTool Tool that queries the Azure Cognitive Services Image Analysis API. tools.azure_cognitive_services.speech2text.AzureCogsSpeech2TextTool Tool that queries the Azure Cognitive Services Speech2Text API. tools.azure_cognitive_services.text2speech.AzureCogsText2SpeechTool Tool that queries the Azure Cognitive Services Text2Speech API. tools.base.BaseTool Interface LangChain tools must implement. tools.base.SchemaAnnotationError
[ 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, 1199, 20805, 466, 2625, 41220, 2608, 37950, 315, 45473, 1495, 430, 5992, 520, 23719, 1701, 33260, 16155, 627, 1342, 17489, 466, 1087, 27993, 2123, 1199, 20805, 466, 22551, 9872, 340, 82617, 311, 6859, 279, 1495, 3235, 13325, 20047, 627, 1342, 17489, 466, 21259, 16921, 12686, 1199, 20805, 466, 83566, 2608, 37950, 315, 45473, 1495, 430, 5992, 520, 5885, 627, 1342, 17489, 466, 815, 18886, 9140, 388, 3404, 1199, 20805, 466, 83566, 2608, 37950, 315, 45473, 1495, 430, 5992, 520, 11460, 627, 1342, 17489, 466, 49401, 2826, 1199, 20805, 466, 2625, 41220, 11, 4194, 1131, 2608, 37950, 315, 45473, 1495, 430, 5992, 520, 23719, 1701, 3165, 2826, 627, 1342, 17489, 466, 2021, 20805, 466, 42677, 2424, 11, 4194, 32318, 5160, 369, 45473, 1495, 1139, 27855, 627, 1342, 17489, 466, 33377, 1199, 20805, 466, 83566, 2608, 37950, 315, 45473, 1495, 430, 5992, 520, 11460, 627, 26272, 55609, 198, 1342, 17489, 466, 5402, 4424, 4570, 29938, 4163, 11, 4194, 1342, 11, 4194, 32318, 20805, 19957, 1495, 323, 471, 27855, 627, 5317, 8995, 24029, 25, 14173, 55609, 198, 5501, 66994, 39437, 627, 20678, 55609, 198, 16297, 17126, 89833, 21966, 885, 12940, 344, 2929, 6869, 198, 7896, 430, 11621, 279, 23099, 311, 2778, 1701, 279, 1676, 89833, 5446, 627, 16297, 71340, 669, 51549, 40946, 8726, 7225, 4021, 3213, 58927, 34, 27403, 1876, 22268, 7896, 198, 7896, 430, 20126, 279, 35219, 73235, 8471, 3459, 67975, 3213, 5446, 627, 16297, 71340, 669, 51549, 40946, 7502, 43782, 58927, 34, 27403, 1945, 27671, 7896, 198, 7896, 430, 20126, 279, 35219, 73235, 8471, 4758, 18825, 5446, 627, 16297, 71340, 669, 51549, 40946, 516, 40686, 17, 1342, 58927, 34, 27403, 56725, 17, 1199, 7896, 198, 7896, 430, 20126, 279, 35219, 73235, 8471, 39841, 17, 1199, 5446, 627, 16297, 71340, 669, 51549, 40946, 2858, 17, 89325, 58927, 34, 27403, 1199, 17, 56725, 7896, 198, 7896, 430, 20126, 279, 35219, 73235, 8471, 2991, 17, 56725, 5446, 627, 16297, 9105, 13316, 7896, 198, 5160, 23272, 19368, 7526, 2011, 4305, 627, 16297, 9105, 21786, 20290, 1480 ]
https://langchain.readthedocs.io/en/latest/api_reference.html
End of preview. Expand in Data Studio
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

msxgpt

Description

This dataset, "msxgpt," is designed for training the GPT-3.5-turbo/ GPT-4 based language model for a task. The data consists of JSON lines, each representing an individual example for the model.

The dataset has been created with an emphasis on encoding, which is pivotal to the functionality of Memory Features, Security, and API Endpoints. It is designed to process and store documents from various data sources continuously, using incoming webhooks to the upsert and delete endpoints.

Potential applications of this dataset could range from natural language understanding tasks to more specialized uses. For instance, tools like Zapier or Make can help configure the webhooks based on events or schedule, enabling sophisticated automation and workflow configuration capabilities.

Data Structure

Each line in the train.jsonl file is a JSON object with the following structure:

{
  "input": "string",
  "target": "string"
}

Usage 

import json

with open('train.jsonl', 'r') as f:
    for line in f:
        obj = json.loads(line)
        print(obj['input'], obj['target'])

License 

This dataset is made available under the Creative Commons CC0 4.0 Universal (CC0 4.0) Public Domain Dedication. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

The above example states that anyone can use the dataset for any purpose without needing to ask for permission, which maximizes the dataset's usability.


Downloads last month
9