# langchain_core

> Python package

📖 [View in docs](https://reference.langchain.com/python/langchain-core)

## Classes

- [`AgentAction`](https://reference.langchain.com/python/langchain-core/agents/AgentAction)
- [`AgentActionMessageLog`](https://reference.langchain.com/python/langchain-core/agents/AgentActionMessageLog)
- [`AgentStep`](https://reference.langchain.com/python/langchain-core/agents/AgentStep)
- [`AgentFinish`](https://reference.langchain.com/python/langchain-core/agents/AgentFinish)
- [`BaseChatMessageHistory`](https://reference.langchain.com/python/langchain-core/chat_history/BaseChatMessageHistory)
- [`InMemoryChatMessageHistory`](https://reference.langchain.com/python/langchain-core/chat_history/InMemoryChatMessageHistory)
- [`LangSmithRetrieverParams`](https://reference.langchain.com/python/langchain-core/retrievers/LangSmithRetrieverParams)
- [`BaseRetriever`](https://reference.langchain.com/python/langchain-core/retrievers/BaseRetriever)
- [`BaseStore`](https://reference.langchain.com/python/langchain-core/stores/BaseStore)
- [`InMemoryBaseStore`](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore)
- [`InMemoryStore`](https://reference.langchain.com/python/langchain-core/stores/InMemoryStore)
- [`InMemoryByteStore`](https://reference.langchain.com/python/langchain-core/stores/InMemoryByteStore)
- [`InvalidKeyException`](https://reference.langchain.com/python/langchain-core/stores/InvalidKeyException)
- [`ChatSession`](https://reference.langchain.com/python/langchain-core/chat_sessions/ChatSession)
- [`BaseCache`](https://reference.langchain.com/python/langchain-core/caches/BaseCache)
- [`InMemoryCache`](https://reference.langchain.com/python/langchain-core/caches/InMemoryCache)
- [`LangChainException`](https://reference.langchain.com/python/langchain-core/exceptions/LangChainException)
- [`TracerException`](https://reference.langchain.com/python/langchain-core/exceptions/TracerException)
- [`OutputParserException`](https://reference.langchain.com/python/langchain-core/exceptions/OutputParserException)
- [`ContextOverflowError`](https://reference.langchain.com/python/langchain-core/exceptions/ContextOverflowError)
- [`ErrorCode`](https://reference.langchain.com/python/langchain-core/exceptions/ErrorCode)
- [`Visitor`](https://reference.langchain.com/python/langchain-core/structured_query/Visitor)
- [`Expr`](https://reference.langchain.com/python/langchain-core/structured_query/Expr)
- [`Operator`](https://reference.langchain.com/python/langchain-core/structured_query/Operator)
- [`Comparator`](https://reference.langchain.com/python/langchain-core/structured_query/Comparator)
- [`FilterDirective`](https://reference.langchain.com/python/langchain-core/structured_query/FilterDirective)
- [`Comparison`](https://reference.langchain.com/python/langchain-core/structured_query/Comparison)
- [`Operation`](https://reference.langchain.com/python/langchain-core/structured_query/Operation)
- [`StructuredQuery`](https://reference.langchain.com/python/langchain-core/structured_query/StructuredQuery)
- [`BaseChatLoader`](https://reference.langchain.com/python/langchain-core/chat_loaders/BaseChatLoader)
- [`BaseRateLimiter`](https://reference.langchain.com/python/langchain-core/rate_limiters/BaseRateLimiter)
- [`InMemoryRateLimiter`](https://reference.langchain.com/python/langchain-core/rate_limiters/InMemoryRateLimiter)
- [`PromptValue`](https://reference.langchain.com/python/langchain-core/prompt_values/PromptValue)
- [`StringPromptValue`](https://reference.langchain.com/python/langchain-core/prompt_values/StringPromptValue)
- [`ChatPromptValue`](https://reference.langchain.com/python/langchain-core/prompt_values/ChatPromptValue)
- [`ImageURL`](https://reference.langchain.com/python/langchain-core/prompt_values/ImageURL)
- [`ImagePromptValue`](https://reference.langchain.com/python/langchain-core/prompt_values/ImagePromptValue)
- [`ChatPromptValueConcrete`](https://reference.langchain.com/python/langchain-core/prompt_values/ChatPromptValueConcrete)
- [`ToolOutputMixin`](https://reference.langchain.com/python/langchain-core/messages/tool/ToolOutputMixin)
- [`ToolMessage`](https://reference.langchain.com/python/langchain-core/messages/tool/ToolMessage)
- [`ToolMessageChunk`](https://reference.langchain.com/python/langchain-core/messages/tool/ToolMessageChunk)
- [`ToolCall`](https://reference.langchain.com/python/langchain-core/messages/tool/ToolCall)
- [`ToolCallChunk`](https://reference.langchain.com/python/langchain-core/messages/tool/ToolCallChunk)
- [`InputTokenDetails`](https://reference.langchain.com/python/langchain-core/messages/ai/InputTokenDetails)
- [`OutputTokenDetails`](https://reference.langchain.com/python/langchain-core/messages/ai/OutputTokenDetails)
- [`UsageMetadata`](https://reference.langchain.com/python/langchain-core/messages/ai/UsageMetadata)
- [`AIMessage`](https://reference.langchain.com/python/langchain-core/messages/ai/AIMessage)
- [`AIMessageChunk`](https://reference.langchain.com/python/langchain-core/messages/ai/AIMessageChunk)
- [`Citation`](https://reference.langchain.com/python/langchain-core/messages/content/Citation)
- [`NonStandardAnnotation`](https://reference.langchain.com/python/langchain-core/messages/content/NonStandardAnnotation)
- [`TextContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/TextContentBlock)
- [`ToolCall`](https://reference.langchain.com/python/langchain-core/messages/content/ToolCall)
- [`ToolCallChunk`](https://reference.langchain.com/python/langchain-core/messages/content/ToolCallChunk)
- [`InvalidToolCall`](https://reference.langchain.com/python/langchain-core/messages/content/InvalidToolCall)
- [`ServerToolCall`](https://reference.langchain.com/python/langchain-core/messages/content/ServerToolCall)
- [`ServerToolCallChunk`](https://reference.langchain.com/python/langchain-core/messages/content/ServerToolCallChunk)
- [`ServerToolResult`](https://reference.langchain.com/python/langchain-core/messages/content/ServerToolResult)
- [`ReasoningContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/ReasoningContentBlock)
- [`ImageContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/ImageContentBlock)
- [`VideoContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/VideoContentBlock)
- [`AudioContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/AudioContentBlock)
- [`PlainTextContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/PlainTextContentBlock)
- [`FileContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/FileContentBlock)
- [`NonStandardContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/NonStandardContentBlock)
- [`TextAccessor`](https://reference.langchain.com/python/langchain-core/messages/base/TextAccessor)
- [`BaseMessage`](https://reference.langchain.com/python/langchain-core/messages/base/BaseMessage)
- [`BaseMessageChunk`](https://reference.langchain.com/python/langchain-core/messages/base/BaseMessageChunk)
- [`RemoveMessage`](https://reference.langchain.com/python/langchain-core/messages/modifier/RemoveMessage)
- [`SystemMessage`](https://reference.langchain.com/python/langchain-core/messages/system/SystemMessage)
- [`SystemMessageChunk`](https://reference.langchain.com/python/langchain-core/messages/system/SystemMessageChunk)
- [`FunctionMessage`](https://reference.langchain.com/python/langchain-core/messages/function/FunctionMessage)
- [`FunctionMessageChunk`](https://reference.langchain.com/python/langchain-core/messages/function/FunctionMessageChunk)
- [`HumanMessage`](https://reference.langchain.com/python/langchain-core/messages/human/HumanMessage)
- [`HumanMessageChunk`](https://reference.langchain.com/python/langchain-core/messages/human/HumanMessageChunk)
- [`ChatMessage`](https://reference.langchain.com/python/langchain-core/messages/chat/ChatMessage)
- [`ChatMessageChunk`](https://reference.langchain.com/python/langchain-core/messages/chat/ChatMessageChunk)
- [`LangSmithLoader`](https://reference.langchain.com/python/langchain-core/document_loaders/langsmith/LangSmithLoader)
- [`BaseLoader`](https://reference.langchain.com/python/langchain-core/document_loaders/base/BaseLoader)
- [`BaseBlobParser`](https://reference.langchain.com/python/langchain-core/document_loaders/base/BaseBlobParser)
- [`BlobLoader`](https://reference.langchain.com/python/langchain-core/document_loaders/blob_loaders/BlobLoader)
- [`BasePromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/base/BasePromptTemplate)
- [`FewShotPromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/few_shot/FewShotPromptTemplate)
- [`FewShotChatMessagePromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/few_shot/FewShotChatMessagePromptTemplate)
- [`FewShotPromptWithTemplates`](https://reference.langchain.com/python/langchain-core/prompts/few_shot_with_templates/FewShotPromptWithTemplates)
- [`BaseMessagePromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/message/BaseMessagePromptTemplate)
- [`ImagePromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/image/ImagePromptTemplate)
- [`StructuredPrompt`](https://reference.langchain.com/python/langchain-core/prompts/structured/StructuredPrompt)
- [`StringPromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/string/StringPromptTemplate)
- [`PromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/prompt/PromptTemplate)
- [`MessagesPlaceholder`](https://reference.langchain.com/python/langchain-core/prompts/chat/MessagesPlaceholder)
- [`BaseStringMessagePromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseStringMessagePromptTemplate)
- [`ChatMessagePromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/chat/ChatMessagePromptTemplate)
- [`HumanMessagePromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/chat/HumanMessagePromptTemplate)
- [`AIMessagePromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/chat/AIMessagePromptTemplate)
- [`SystemMessagePromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/chat/SystemMessagePromptTemplate)
- [`BaseChatPromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/chat/BaseChatPromptTemplate)
- [`ChatPromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/chat/ChatPromptTemplate)
- [`DictPromptTemplate`](https://reference.langchain.com/python/langchain-core/prompts/dict/DictPromptTemplate)
- [`LangChainDeprecationWarning`](https://reference.langchain.com/python/langchain-core/_api/deprecation/LangChainDeprecationWarning)
- [`LangChainPendingDeprecationWarning`](https://reference.langchain.com/python/langchain-core/_api/deprecation/LangChainPendingDeprecationWarning)
- [`LangChainBetaWarning`](https://reference.langchain.com/python/langchain-core/_api/beta_decorator/LangChainBetaWarning)
- [`BaseMedia`](https://reference.langchain.com/python/langchain-core/documents/base/BaseMedia)
- [`Blob`](https://reference.langchain.com/python/langchain-core/documents/base/Blob)
- [`Document`](https://reference.langchain.com/python/langchain-core/documents/base/Document)
- [`BaseDocumentTransformer`](https://reference.langchain.com/python/langchain-core/documents/transformers/BaseDocumentTransformer)
- [`BaseDocumentCompressor`](https://reference.langchain.com/python/langchain-core/documents/compressor/BaseDocumentCompressor)
- [`Embeddings`](https://reference.langchain.com/python/langchain-core/embeddings/embeddings/Embeddings)
- [`FakeEmbeddings`](https://reference.langchain.com/python/langchain-core/embeddings/fake/FakeEmbeddings)
- [`DeterministicFakeEmbedding`](https://reference.langchain.com/python/langchain-core/embeddings/fake/DeterministicFakeEmbedding)
- [`InMemoryVectorStore`](https://reference.langchain.com/python/langchain-core/vectorstores/in_memory/InMemoryVectorStore)
- [`VectorStore`](https://reference.langchain.com/python/langchain-core/vectorstores/base/VectorStore)
- [`VectorStoreRetriever`](https://reference.langchain.com/python/langchain-core/vectorstores/base/VectorStoreRetriever)
- [`EvaluatorCallbackHandler`](https://reference.langchain.com/python/langchain-core/tracers/evaluation/EvaluatorCallbackHandler)
- [`RunCollectorCallbackHandler`](https://reference.langchain.com/python/langchain-core/tracers/run_collector/RunCollectorCallbackHandler)
- [`BaseTracer`](https://reference.langchain.com/python/langchain-core/tracers/base/BaseTracer)
- [`AsyncBaseTracer`](https://reference.langchain.com/python/langchain-core/tracers/base/AsyncBaseTracer)
- [`RunInfo`](https://reference.langchain.com/python/langchain-core/tracers/event_stream/RunInfo)
- [`LogEntry`](https://reference.langchain.com/python/langchain-core/tracers/log_stream/LogEntry)
- [`RunState`](https://reference.langchain.com/python/langchain-core/tracers/log_stream/RunState)
- [`RunLogPatch`](https://reference.langchain.com/python/langchain-core/tracers/log_stream/RunLogPatch)
- [`RunLog`](https://reference.langchain.com/python/langchain-core/tracers/log_stream/RunLog)
- [`LogStreamCallbackHandler`](https://reference.langchain.com/python/langchain-core/tracers/log_stream/LogStreamCallbackHandler)
- [`RootListenersTracer`](https://reference.langchain.com/python/langchain-core/tracers/root_listeners/RootListenersTracer)
- [`AsyncRootListenersTracer`](https://reference.langchain.com/python/langchain-core/tracers/root_listeners/AsyncRootListenersTracer)
- [`FunctionCallbackHandler`](https://reference.langchain.com/python/langchain-core/tracers/stdout/FunctionCallbackHandler)
- [`ConsoleCallbackHandler`](https://reference.langchain.com/python/langchain-core/tracers/stdout/ConsoleCallbackHandler)
- [`LangChainTracer`](https://reference.langchain.com/python/langchain-core/tracers/langchain/LangChainTracer)
- [`InMemoryDocumentIndex`](https://reference.langchain.com/python/langchain-core/indexing/in_memory/InMemoryDocumentIndex)
- [`RecordManager`](https://reference.langchain.com/python/langchain-core/indexing/base/RecordManager)
- [`InMemoryRecordManager`](https://reference.langchain.com/python/langchain-core/indexing/base/InMemoryRecordManager)
- [`UpsertResponse`](https://reference.langchain.com/python/langchain-core/indexing/base/UpsertResponse)
- [`DeleteResponse`](https://reference.langchain.com/python/langchain-core/indexing/base/DeleteResponse)
- [`DocumentIndex`](https://reference.langchain.com/python/langchain-core/indexing/base/DocumentIndex)
- [`IndexingException`](https://reference.langchain.com/python/langchain-core/indexing/api/IndexingException)
- [`IndexingResult`](https://reference.langchain.com/python/langchain-core/indexing/api/IndexingResult)
- [`LengthBasedExampleSelector`](https://reference.langchain.com/python/langchain-core/example_selectors/length_based/LengthBasedExampleSelector)
- [`BaseExampleSelector`](https://reference.langchain.com/python/langchain-core/example_selectors/base/BaseExampleSelector)
- [`SemanticSimilarityExampleSelector`](https://reference.langchain.com/python/langchain-core/example_selectors/semantic_similarity/SemanticSimilarityExampleSelector)
- [`MaxMarginalRelevanceExampleSelector`](https://reference.langchain.com/python/langchain-core/example_selectors/semantic_similarity/MaxMarginalRelevanceExampleSelector)
- [`NoLock`](https://reference.langchain.com/python/langchain-core/utils/aiter/NoLock)
- [`Tee`](https://reference.langchain.com/python/langchain-core/utils/aiter/Tee)
- [`aclosing`](https://reference.langchain.com/python/langchain-core/utils/aiter/aclosing)
- [`NoLock`](https://reference.langchain.com/python/langchain-core/utils/iter/NoLock)
- [`Tee`](https://reference.langchain.com/python/langchain-core/utils/iter/Tee)
- [`StrictFormatter`](https://reference.langchain.com/python/langchain-core/utils/formatting/StrictFormatter)
- [`ChevronError`](https://reference.langchain.com/python/langchain-core/utils/mustache/ChevronError)
- [`FunctionDescription`](https://reference.langchain.com/python/langchain-core/utils/function_calling/FunctionDescription)
- [`ToolDescription`](https://reference.langchain.com/python/langchain-core/utils/function_calling/ToolDescription)
- [`RetrieverManagerMixin`](https://reference.langchain.com/python/langchain-core/callbacks/base/RetrieverManagerMixin)
- [`LLMManagerMixin`](https://reference.langchain.com/python/langchain-core/callbacks/base/LLMManagerMixin)
- [`ChainManagerMixin`](https://reference.langchain.com/python/langchain-core/callbacks/base/ChainManagerMixin)
- [`ToolManagerMixin`](https://reference.langchain.com/python/langchain-core/callbacks/base/ToolManagerMixin)
- [`CallbackManagerMixin`](https://reference.langchain.com/python/langchain-core/callbacks/base/CallbackManagerMixin)
- [`RunManagerMixin`](https://reference.langchain.com/python/langchain-core/callbacks/base/RunManagerMixin)
- [`BaseCallbackHandler`](https://reference.langchain.com/python/langchain-core/callbacks/base/BaseCallbackHandler)
- [`AsyncCallbackHandler`](https://reference.langchain.com/python/langchain-core/callbacks/base/AsyncCallbackHandler)
- [`BaseCallbackManager`](https://reference.langchain.com/python/langchain-core/callbacks/base/BaseCallbackManager)
- [`StdOutCallbackHandler`](https://reference.langchain.com/python/langchain-core/callbacks/stdout/StdOutCallbackHandler)
- [`FileCallbackHandler`](https://reference.langchain.com/python/langchain-core/callbacks/file/FileCallbackHandler)
- [`BaseRunManager`](https://reference.langchain.com/python/langchain-core/callbacks/manager/BaseRunManager)
- [`RunManager`](https://reference.langchain.com/python/langchain-core/callbacks/manager/RunManager)
- [`ParentRunManager`](https://reference.langchain.com/python/langchain-core/callbacks/manager/ParentRunManager)
- [`AsyncRunManager`](https://reference.langchain.com/python/langchain-core/callbacks/manager/AsyncRunManager)
- [`AsyncParentRunManager`](https://reference.langchain.com/python/langchain-core/callbacks/manager/AsyncParentRunManager)
- [`CallbackManagerForLLMRun`](https://reference.langchain.com/python/langchain-core/callbacks/manager/CallbackManagerForLLMRun)
- [`AsyncCallbackManagerForLLMRun`](https://reference.langchain.com/python/langchain-core/callbacks/manager/AsyncCallbackManagerForLLMRun)
- [`CallbackManagerForChainRun`](https://reference.langchain.com/python/langchain-core/callbacks/manager/CallbackManagerForChainRun)
- [`AsyncCallbackManagerForChainRun`](https://reference.langchain.com/python/langchain-core/callbacks/manager/AsyncCallbackManagerForChainRun)
- [`CallbackManagerForToolRun`](https://reference.langchain.com/python/langchain-core/callbacks/manager/CallbackManagerForToolRun)
- [`AsyncCallbackManagerForToolRun`](https://reference.langchain.com/python/langchain-core/callbacks/manager/AsyncCallbackManagerForToolRun)
- [`CallbackManagerForRetrieverRun`](https://reference.langchain.com/python/langchain-core/callbacks/manager/CallbackManagerForRetrieverRun)
- [`AsyncCallbackManagerForRetrieverRun`](https://reference.langchain.com/python/langchain-core/callbacks/manager/AsyncCallbackManagerForRetrieverRun)
- [`CallbackManager`](https://reference.langchain.com/python/langchain-core/callbacks/manager/CallbackManager)
- [`CallbackManagerForChainGroup`](https://reference.langchain.com/python/langchain-core/callbacks/manager/CallbackManagerForChainGroup)
- [`AsyncCallbackManager`](https://reference.langchain.com/python/langchain-core/callbacks/manager/AsyncCallbackManager)
- [`AsyncCallbackManagerForChainGroup`](https://reference.langchain.com/python/langchain-core/callbacks/manager/AsyncCallbackManagerForChainGroup)
- [`StreamingStdOutCallbackHandler`](https://reference.langchain.com/python/langchain-core/callbacks/streaming_stdout/StreamingStdOutCallbackHandler)
- [`UsageMetadataCallbackHandler`](https://reference.langchain.com/python/langchain-core/callbacks/usage/UsageMetadataCallbackHandler)
- [`ParsedDataUri`](https://reference.langchain.com/python/langchain-core/language_models/_utils/ParsedDataUri)
- [`BaseChatModel`](https://reference.langchain.com/python/langchain-core/language_models/chat_models/BaseChatModel)
- [`SimpleChatModel`](https://reference.langchain.com/python/langchain-core/language_models/chat_models/SimpleChatModel)
- [`FakeMessagesListChatModel`](https://reference.langchain.com/python/langchain-core/language_models/fake_chat_models/FakeMessagesListChatModel)
- [`FakeListChatModelError`](https://reference.langchain.com/python/langchain-core/language_models/fake_chat_models/FakeListChatModelError)
- [`FakeListChatModel`](https://reference.langchain.com/python/langchain-core/language_models/fake_chat_models/FakeListChatModel)
- [`FakeChatModel`](https://reference.langchain.com/python/langchain-core/language_models/fake_chat_models/FakeChatModel)
- [`GenericFakeChatModel`](https://reference.langchain.com/python/langchain-core/language_models/fake_chat_models/GenericFakeChatModel)
- [`ParrotFakeChatModel`](https://reference.langchain.com/python/langchain-core/language_models/fake_chat_models/ParrotFakeChatModel)
- [`BaseLLM`](https://reference.langchain.com/python/langchain-core/language_models/llms/BaseLLM)
- [`LLM`](https://reference.langchain.com/python/langchain-core/language_models/llms/LLM)
- [`LangSmithParams`](https://reference.langchain.com/python/langchain-core/language_models/base/LangSmithParams)
- [`BaseLanguageModel`](https://reference.langchain.com/python/langchain-core/language_models/base/BaseLanguageModel)
- [`FakeListLLM`](https://reference.langchain.com/python/langchain-core/language_models/fake/FakeListLLM)
- [`FakeListLLMError`](https://reference.langchain.com/python/langchain-core/language_models/fake/FakeListLLMError)
- [`FakeStreamingListLLM`](https://reference.langchain.com/python/langchain-core/language_models/fake/FakeStreamingListLLM)
- [`ModelProfile`](https://reference.langchain.com/python/langchain-core/language_models/model_profile/ModelProfile)
- [`ChatResult`](https://reference.langchain.com/python/langchain-core/outputs/chat_result/ChatResult)
- [`LLMResult`](https://reference.langchain.com/python/langchain-core/outputs/llm_result/LLMResult)
- [`RunInfo`](https://reference.langchain.com/python/langchain-core/outputs/run_info/RunInfo)
- [`Generation`](https://reference.langchain.com/python/langchain-core/outputs/generation/Generation)
- [`GenerationChunk`](https://reference.langchain.com/python/langchain-core/outputs/generation/GenerationChunk)
- [`ChatGeneration`](https://reference.langchain.com/python/langchain-core/outputs/chat_generation/ChatGeneration)
- [`ChatGenerationChunk`](https://reference.langchain.com/python/langchain-core/outputs/chat_generation/ChatGenerationChunk)
- [`BaseLLMOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/base/BaseLLMOutputParser)
- [`BaseGenerationOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/base/BaseGenerationOutputParser)
- [`BaseOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/base/BaseOutputParser)
- [`ListOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/list/ListOutputParser)
- [`CommaSeparatedListOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/list/CommaSeparatedListOutputParser)
- [`NumberedListOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/list/NumberedListOutputParser)
- [`MarkdownListOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/list/MarkdownListOutputParser)
- [`JsonOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/json/JsonOutputParser)
- [`JsonOutputToolsParser`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_tools/JsonOutputToolsParser)
- [`JsonOutputKeyToolsParser`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_tools/JsonOutputKeyToolsParser)
- [`PydanticToolsParser`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_tools/PydanticToolsParser)
- [`StrOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/string/StrOutputParser)
- [`BaseTransformOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/transform/BaseTransformOutputParser)
- [`BaseCumulativeTransformOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/transform/BaseCumulativeTransformOutputParser)
- [`PydanticOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/pydantic/PydanticOutputParser)
- [`OutputFunctionsParser`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_functions/OutputFunctionsParser)
- [`JsonOutputFunctionsParser`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_functions/JsonOutputFunctionsParser)
- [`JsonKeyOutputFunctionsParser`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_functions/JsonKeyOutputFunctionsParser)
- [`PydanticOutputFunctionsParser`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_functions/PydanticOutputFunctionsParser)
- [`PydanticAttrOutputFunctionsParser`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_functions/PydanticAttrOutputFunctionsParser)
- [`XMLOutputParser`](https://reference.langchain.com/python/langchain-core/output_parsers/xml/XMLOutputParser)
- [`RunnableWithFallbacks`](https://reference.langchain.com/python/langchain-core/runnables/fallbacks/RunnableWithFallbacks)
- [`Stringifiable`](https://reference.langchain.com/python/langchain-core/runnables/graph/Stringifiable)
- [`LabelsDict`](https://reference.langchain.com/python/langchain-core/runnables/graph/LabelsDict)
- [`Edge`](https://reference.langchain.com/python/langchain-core/runnables/graph/Edge)
- [`Node`](https://reference.langchain.com/python/langchain-core/runnables/graph/Node)
- [`Branch`](https://reference.langchain.com/python/langchain-core/runnables/graph/Branch)
- [`CurveStyle`](https://reference.langchain.com/python/langchain-core/runnables/graph/CurveStyle)
- [`NodeStyles`](https://reference.langchain.com/python/langchain-core/runnables/graph/NodeStyles)
- [`MermaidDrawMethod`](https://reference.langchain.com/python/langchain-core/runnables/graph/MermaidDrawMethod)
- [`Graph`](https://reference.langchain.com/python/langchain-core/runnables/graph/Graph)
- [`Runnable`](https://reference.langchain.com/python/langchain-core/runnables/base/Runnable)
- [`RunnableSerializable`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableSerializable)
- [`RunnableSequence`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableSequence)
- [`RunnableParallel`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableParallel)
- [`RunnableGenerator`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableGenerator)
- [`RunnableLambda`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableLambda)
- [`RunnableEachBase`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableEachBase)
- [`RunnableEach`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableEach)
- [`RunnableBindingBase`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableBindingBase)
- [`RunnableBinding`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableBinding)
- [`VertexViewer`](https://reference.langchain.com/python/langchain-core/runnables/graph_ascii/VertexViewer)
- [`AsciiCanvas`](https://reference.langchain.com/python/langchain-core/runnables/graph_ascii/AsciiCanvas)
- [`EventData`](https://reference.langchain.com/python/langchain-core/runnables/schema/EventData)
- [`BaseStreamEvent`](https://reference.langchain.com/python/langchain-core/runnables/schema/BaseStreamEvent)
- [`StandardStreamEvent`](https://reference.langchain.com/python/langchain-core/runnables/schema/StandardStreamEvent)
- [`CustomStreamEvent`](https://reference.langchain.com/python/langchain-core/runnables/schema/CustomStreamEvent)
- [`PngDrawer`](https://reference.langchain.com/python/langchain-core/runnables/graph_png/PngDrawer)
- [`IsLocalDict`](https://reference.langchain.com/python/langchain-core/runnables/utils/IsLocalDict)
- [`IsFunctionArgDict`](https://reference.langchain.com/python/langchain-core/runnables/utils/IsFunctionArgDict)
- [`NonLocals`](https://reference.langchain.com/python/langchain-core/runnables/utils/NonLocals)
- [`FunctionNonLocals`](https://reference.langchain.com/python/langchain-core/runnables/utils/FunctionNonLocals)
- [`GetLambdaSource`](https://reference.langchain.com/python/langchain-core/runnables/utils/GetLambdaSource)
- [`AddableDict`](https://reference.langchain.com/python/langchain-core/runnables/utils/AddableDict)
- [`SupportsAdd`](https://reference.langchain.com/python/langchain-core/runnables/utils/SupportsAdd)
- [`ConfigurableField`](https://reference.langchain.com/python/langchain-core/runnables/utils/ConfigurableField)
- [`ConfigurableFieldSingleOption`](https://reference.langchain.com/python/langchain-core/runnables/utils/ConfigurableFieldSingleOption)
- [`ConfigurableFieldMultiOption`](https://reference.langchain.com/python/langchain-core/runnables/utils/ConfigurableFieldMultiOption)
- [`ConfigurableFieldSpec`](https://reference.langchain.com/python/langchain-core/runnables/utils/ConfigurableFieldSpec)
- [`RunnableWithMessageHistory`](https://reference.langchain.com/python/langchain-core/runnables/history/RunnableWithMessageHistory)
- [`RunnableBranch`](https://reference.langchain.com/python/langchain-core/runnables/branch/RunnableBranch)
- [`RunnablePassthrough`](https://reference.langchain.com/python/langchain-core/runnables/passthrough/RunnablePassthrough)
- [`RunnableAssign`](https://reference.langchain.com/python/langchain-core/runnables/passthrough/RunnableAssign)
- [`RunnablePick`](https://reference.langchain.com/python/langchain-core/runnables/passthrough/RunnablePick)
- [`EmptyDict`](https://reference.langchain.com/python/langchain-core/runnables/config/EmptyDict)
- [`RunnableConfig`](https://reference.langchain.com/python/langchain-core/runnables/config/RunnableConfig)
- [`ContextThreadPoolExecutor`](https://reference.langchain.com/python/langchain-core/runnables/config/ContextThreadPoolExecutor)
- [`ExponentialJitterParams`](https://reference.langchain.com/python/langchain-core/runnables/retry/ExponentialJitterParams)
- [`RunnableRetry`](https://reference.langchain.com/python/langchain-core/runnables/retry/RunnableRetry)
- [`DynamicRunnable`](https://reference.langchain.com/python/langchain-core/runnables/configurable/DynamicRunnable)
- [`RunnableConfigurableFields`](https://reference.langchain.com/python/langchain-core/runnables/configurable/RunnableConfigurableFields)
- [`StrEnum`](https://reference.langchain.com/python/langchain-core/runnables/configurable/StrEnum)
- [`RunnableConfigurableAlternatives`](https://reference.langchain.com/python/langchain-core/runnables/configurable/RunnableConfigurableAlternatives)
- [`RouterInput`](https://reference.langchain.com/python/langchain-core/runnables/router/RouterInput)
- [`RouterRunnable`](https://reference.langchain.com/python/langchain-core/runnables/router/RouterRunnable)
- [`Reviver`](https://reference.langchain.com/python/langchain-core/load/load/Reviver)
- [`BaseSerialized`](https://reference.langchain.com/python/langchain-core/load/serializable/BaseSerialized)
- [`SerializedConstructor`](https://reference.langchain.com/python/langchain-core/load/serializable/SerializedConstructor)
- [`SerializedSecret`](https://reference.langchain.com/python/langchain-core/load/serializable/SerializedSecret)
- [`SerializedNotImplemented`](https://reference.langchain.com/python/langchain-core/load/serializable/SerializedNotImplemented)
- [`Serializable`](https://reference.langchain.com/python/langchain-core/load/serializable/Serializable)
- [`SchemaAnnotationError`](https://reference.langchain.com/python/langchain-core/tools/base/SchemaAnnotationError)
- [`ToolException`](https://reference.langchain.com/python/langchain-core/tools/base/ToolException)
- [`BaseTool`](https://reference.langchain.com/python/langchain-core/tools/base/BaseTool)
- [`InjectedToolArg`](https://reference.langchain.com/python/langchain-core/tools/base/InjectedToolArg)
- [`InjectedToolCallId`](https://reference.langchain.com/python/langchain-core/tools/base/InjectedToolCallId)
- [`BaseToolkit`](https://reference.langchain.com/python/langchain-core/tools/base/BaseToolkit)
- [`Tool`](https://reference.langchain.com/python/langchain-core/tools/simple/Tool)
- [`StructuredTool`](https://reference.langchain.com/python/langchain-core/tools/structured/StructuredTool)
- [`RetrieverInput`](https://reference.langchain.com/python/langchain-core/tools/retriever/RetrieverInput)

## Functions

- [`print_sys_info()`](https://reference.langchain.com/python/langchain-core/sys_info/print_sys_info)
- [`import_attr()`](https://reference.langchain.com/python/langchain-core/_import_utils/import_attr)
- [`set_verbose()`](https://reference.langchain.com/python/langchain-core/globals/set_verbose)
- [`get_verbose()`](https://reference.langchain.com/python/langchain-core/globals/get_verbose)
- [`set_debug()`](https://reference.langchain.com/python/langchain-core/globals/set_debug)
- [`get_debug()`](https://reference.langchain.com/python/langchain-core/globals/get_debug)
- [`set_llm_cache()`](https://reference.langchain.com/python/langchain-core/globals/set_llm_cache)
- [`get_llm_cache()`](https://reference.langchain.com/python/langchain-core/globals/get_llm_cache)
- [`create_message()`](https://reference.langchain.com/python/langchain-core/exceptions/create_message)
- [`get_runtime_environment()`](https://reference.langchain.com/python/langchain-core/env/get_runtime_environment)
- [`tool_call()`](https://reference.langchain.com/python/langchain-core/messages/tool/tool_call)
- [`tool_call_chunk()`](https://reference.langchain.com/python/langchain-core/messages/tool/tool_call_chunk)
- [`invalid_tool_call()`](https://reference.langchain.com/python/langchain-core/messages/tool/invalid_tool_call)
- [`default_tool_parser()`](https://reference.langchain.com/python/langchain-core/messages/tool/default_tool_parser)
- [`default_tool_chunk_parser()`](https://reference.langchain.com/python/langchain-core/messages/tool/default_tool_chunk_parser)
- [`add_ai_message_chunks()`](https://reference.langchain.com/python/langchain-core/messages/ai/add_ai_message_chunks)
- [`add_usage()`](https://reference.langchain.com/python/langchain-core/messages/ai/add_usage)
- [`subtract_usage()`](https://reference.langchain.com/python/langchain-core/messages/ai/subtract_usage)
- [`is_data_content_block()`](https://reference.langchain.com/python/langchain-core/messages/content/is_data_content_block)
- [`create_text_block()`](https://reference.langchain.com/python/langchain-core/messages/content/create_text_block)
- [`create_image_block()`](https://reference.langchain.com/python/langchain-core/messages/content/create_image_block)
- [`create_video_block()`](https://reference.langchain.com/python/langchain-core/messages/content/create_video_block)
- [`create_audio_block()`](https://reference.langchain.com/python/langchain-core/messages/content/create_audio_block)
- [`create_file_block()`](https://reference.langchain.com/python/langchain-core/messages/content/create_file_block)
- [`create_plaintext_block()`](https://reference.langchain.com/python/langchain-core/messages/content/create_plaintext_block)
- [`create_tool_call()`](https://reference.langchain.com/python/langchain-core/messages/content/create_tool_call)
- [`create_reasoning_block()`](https://reference.langchain.com/python/langchain-core/messages/content/create_reasoning_block)
- [`create_citation()`](https://reference.langchain.com/python/langchain-core/messages/content/create_citation)
- [`create_non_standard_block()`](https://reference.langchain.com/python/langchain-core/messages/content/create_non_standard_block)
- [`merge_content()`](https://reference.langchain.com/python/langchain-core/messages/base/merge_content)
- [`message_to_dict()`](https://reference.langchain.com/python/langchain-core/messages/base/message_to_dict)
- [`messages_to_dict()`](https://reference.langchain.com/python/langchain-core/messages/base/messages_to_dict)
- [`get_msg_title_repr()`](https://reference.langchain.com/python/langchain-core/messages/base/get_msg_title_repr)
- [`get_buffer_string()`](https://reference.langchain.com/python/langchain-core/messages/utils/get_buffer_string)
- [`messages_from_dict()`](https://reference.langchain.com/python/langchain-core/messages/utils/messages_from_dict)
- [`message_chunk_to_message()`](https://reference.langchain.com/python/langchain-core/messages/utils/message_chunk_to_message)
- [`convert_to_messages()`](https://reference.langchain.com/python/langchain-core/messages/utils/convert_to_messages)
- [`filter_messages()`](https://reference.langchain.com/python/langchain-core/messages/utils/filter_messages)
- [`merge_message_runs()`](https://reference.langchain.com/python/langchain-core/messages/utils/merge_message_runs)
- [`trim_messages()`](https://reference.langchain.com/python/langchain-core/messages/utils/trim_messages)
- [`convert_to_openai_messages()`](https://reference.langchain.com/python/langchain-core/messages/utils/convert_to_openai_messages)
- [`count_tokens_approximately()`](https://reference.langchain.com/python/langchain-core/messages/utils/count_tokens_approximately)
- [`register_translator()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/register_translator)
- [`get_translator()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/get_translator)
- [`translate_content()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/groq/translate_content)
- [`translate_content_chunk()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/groq/translate_content_chunk)
- [`translate_content()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/bedrock_converse/translate_content)
- [`translate_content_chunk()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/bedrock_converse/translate_content_chunk)
- [`convert_to_openai_image_block()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/openai/convert_to_openai_image_block)
- [`convert_to_openai_data_block()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/openai/convert_to_openai_data_block)
- [`translate_content()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/openai/translate_content)
- [`translate_content_chunk()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/openai/translate_content_chunk)
- [`translate_grounding_metadata_to_citations()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/google_genai/translate_grounding_metadata_to_citations)
- [`translate_content()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/google_genai/translate_content)
- [`translate_content_chunk()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/google_genai/translate_content_chunk)
- [`translate_content()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/bedrock/translate_content)
- [`translate_content_chunk()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/bedrock/translate_content_chunk)
- [`translate_content()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/anthropic/translate_content)
- [`translate_content_chunk()`](https://reference.langchain.com/python/langchain-core/messages/block_translators/anthropic/translate_content_chunk)
- [`load_prompt_from_config()`](https://reference.langchain.com/python/langchain-core/prompts/loading/load_prompt_from_config)
- [`load_prompt()`](https://reference.langchain.com/python/langchain-core/prompts/loading/load_prompt)
- [`format_document()`](https://reference.langchain.com/python/langchain-core/prompts/base/format_document)
- [`aformat_document()`](https://reference.langchain.com/python/langchain-core/prompts/base/aformat_document)
- [`jinja2_formatter()`](https://reference.langchain.com/python/langchain-core/prompts/string/jinja2_formatter)
- [`validate_jinja2()`](https://reference.langchain.com/python/langchain-core/prompts/string/validate_jinja2)
- [`mustache_formatter()`](https://reference.langchain.com/python/langchain-core/prompts/string/mustache_formatter)
- [`mustache_template_vars()`](https://reference.langchain.com/python/langchain-core/prompts/string/mustache_template_vars)
- [`mustache_schema()`](https://reference.langchain.com/python/langchain-core/prompts/string/mustache_schema)
- [`check_valid_template()`](https://reference.langchain.com/python/langchain-core/prompts/string/check_valid_template)
- [`get_template_variables()`](https://reference.langchain.com/python/langchain-core/prompts/string/get_template_variables)
- [`is_subsequence()`](https://reference.langchain.com/python/langchain-core/prompts/string/is_subsequence)
- [`is_caller_internal()`](https://reference.langchain.com/python/langchain-core/_api/internal/is_caller_internal)
- [`deprecated()`](https://reference.langchain.com/python/langchain-core/_api/deprecation/deprecated)
- [`suppress_langchain_deprecation_warning()`](https://reference.langchain.com/python/langchain-core/_api/deprecation/suppress_langchain_deprecation_warning)
- [`warn_deprecated()`](https://reference.langchain.com/python/langchain-core/_api/deprecation/warn_deprecated)
- [`surface_langchain_deprecation_warnings()`](https://reference.langchain.com/python/langchain-core/_api/deprecation/surface_langchain_deprecation_warnings)
- [`rename_parameter()`](https://reference.langchain.com/python/langchain-core/_api/deprecation/rename_parameter)
- [`beta()`](https://reference.langchain.com/python/langchain-core/_api/beta_decorator/beta)
- [`suppress_langchain_beta_warning()`](https://reference.langchain.com/python/langchain-core/_api/beta_decorator/suppress_langchain_beta_warning)
- [`warn_beta()`](https://reference.langchain.com/python/langchain-core/_api/beta_decorator/warn_beta)
- [`surface_langchain_beta_warnings()`](https://reference.langchain.com/python/langchain-core/_api/beta_decorator/surface_langchain_beta_warnings)
- [`get_relative_path()`](https://reference.langchain.com/python/langchain-core/_api/path/get_relative_path)
- [`as_import_path()`](https://reference.langchain.com/python/langchain-core/_api/path/as_import_path)
- [`maximal_marginal_relevance()`](https://reference.langchain.com/python/langchain-core/vectorstores/utils/maximal_marginal_relevance)
- [`wait_for_all_evaluators()`](https://reference.langchain.com/python/langchain-core/tracers/evaluation/wait_for_all_evaluators)
- [`try_json_stringify()`](https://reference.langchain.com/python/langchain-core/tracers/stdout/try_json_stringify)
- [`elapsed()`](https://reference.langchain.com/python/langchain-core/tracers/stdout/elapsed)
- [`tracing_v2_enabled()`](https://reference.langchain.com/python/langchain-core/tracers/context/tracing_v2_enabled)
- [`collect_runs()`](https://reference.langchain.com/python/langchain-core/tracers/context/collect_runs)
- [`register_configure_hook()`](https://reference.langchain.com/python/langchain-core/tracers/context/register_configure_hook)
- [`run_to_dict()`](https://reference.langchain.com/python/langchain-core/tracers/_compat/run_to_dict)
- [`run_copy()`](https://reference.langchain.com/python/langchain-core/tracers/_compat/run_copy)
- [`run_construct()`](https://reference.langchain.com/python/langchain-core/tracers/_compat/run_construct)
- [`pydantic_to_dict()`](https://reference.langchain.com/python/langchain-core/tracers/_compat/pydantic_to_dict)
- [`pydantic_copy()`](https://reference.langchain.com/python/langchain-core/tracers/_compat/pydantic_copy)
- [`log_error_once()`](https://reference.langchain.com/python/langchain-core/tracers/langchain/log_error_once)
- [`wait_for_all_tracers()`](https://reference.langchain.com/python/langchain-core/tracers/langchain/wait_for_all_tracers)
- [`get_client()`](https://reference.langchain.com/python/langchain-core/tracers/langchain/get_client)
- [`index()`](https://reference.langchain.com/python/langchain-core/indexing/api/index)
- [`aindex()`](https://reference.langchain.com/python/langchain-core/indexing/api/aindex)
- [`sorted_values()`](https://reference.langchain.com/python/langchain-core/example_selectors/semantic_similarity/sorted_values)
- [`dereference_refs()`](https://reference.langchain.com/python/langchain-core/utils/json_schema/dereference_refs)
- [`find_all_links()`](https://reference.langchain.com/python/langchain-core/utils/html/find_all_links)
- [`extract_sub_links()`](https://reference.langchain.com/python/langchain-core/utils/html/extract_sub_links)
- [`xor_args()`](https://reference.langchain.com/python/langchain-core/utils/utils/xor_args)
- [`raise_for_status_with_text()`](https://reference.langchain.com/python/langchain-core/utils/utils/raise_for_status_with_text)
- [`mock_now()`](https://reference.langchain.com/python/langchain-core/utils/utils/mock_now)
- [`guard_import()`](https://reference.langchain.com/python/langchain-core/utils/utils/guard_import)
- [`check_package_version()`](https://reference.langchain.com/python/langchain-core/utils/utils/check_package_version)
- [`get_pydantic_field_names()`](https://reference.langchain.com/python/langchain-core/utils/utils/get_pydantic_field_names)
- [`build_extra_kwargs()`](https://reference.langchain.com/python/langchain-core/utils/utils/build_extra_kwargs)
- [`convert_to_secret_str()`](https://reference.langchain.com/python/langchain-core/utils/utils/convert_to_secret_str)
- [`from_env()`](https://reference.langchain.com/python/langchain-core/utils/utils/from_env)
- [`secret_from_env()`](https://reference.langchain.com/python/langchain-core/utils/utils/secret_from_env)
- [`ensure_id()`](https://reference.langchain.com/python/langchain-core/utils/utils/ensure_id)
- [`get_color_mapping()`](https://reference.langchain.com/python/langchain-core/utils/input/get_color_mapping)
- [`get_colored_text()`](https://reference.langchain.com/python/langchain-core/utils/input/get_colored_text)
- [`get_bolded_text()`](https://reference.langchain.com/python/langchain-core/utils/input/get_bolded_text)
- [`print_text()`](https://reference.langchain.com/python/langchain-core/utils/input/print_text)
- [`py_anext()`](https://reference.langchain.com/python/langchain-core/utils/aiter/py_anext)
- [`tee_peer()`](https://reference.langchain.com/python/langchain-core/utils/aiter/tee_peer)
- [`abatch_iterate()`](https://reference.langchain.com/python/langchain-core/utils/aiter/abatch_iterate)
- [`uuid7()`](https://reference.langchain.com/python/langchain-core/utils/uuid/uuid7)
- [`tee_peer()`](https://reference.langchain.com/python/langchain-core/utils/iter/tee_peer)
- [`batch_iterate()`](https://reference.langchain.com/python/langchain-core/utils/iter/batch_iterate)
- [`parse_partial_json()`](https://reference.langchain.com/python/langchain-core/utils/json/parse_partial_json)
- [`parse_json_markdown()`](https://reference.langchain.com/python/langchain-core/utils/json/parse_json_markdown)
- [`parse_and_check_json_markdown()`](https://reference.langchain.com/python/langchain-core/utils/json/parse_and_check_json_markdown)
- [`merge_dicts()`](https://reference.langchain.com/python/langchain-core/utils/_merge/merge_dicts)
- [`merge_lists()`](https://reference.langchain.com/python/langchain-core/utils/_merge/merge_lists)
- [`merge_obj()`](https://reference.langchain.com/python/langchain-core/utils/_merge/merge_obj)
- [`is_interactive_env()`](https://reference.langchain.com/python/langchain-core/utils/interactive_env/is_interactive_env)
- [`stringify_value()`](https://reference.langchain.com/python/langchain-core/utils/strings/stringify_value)
- [`stringify_dict()`](https://reference.langchain.com/python/langchain-core/utils/strings/stringify_dict)
- [`comma_list()`](https://reference.langchain.com/python/langchain-core/utils/strings/comma_list)
- [`sanitize_for_postgres()`](https://reference.langchain.com/python/langchain-core/utils/strings/sanitize_for_postgres)
- [`env_var_is_set()`](https://reference.langchain.com/python/langchain-core/utils/env/env_var_is_set)
- [`get_from_dict_or_env()`](https://reference.langchain.com/python/langchain-core/utils/env/get_from_dict_or_env)
- [`get_from_env()`](https://reference.langchain.com/python/langchain-core/utils/env/get_from_env)
- [`get_pydantic_major_version()`](https://reference.langchain.com/python/langchain-core/utils/pydantic/get_pydantic_major_version)
- [`is_pydantic_v1_subclass()`](https://reference.langchain.com/python/langchain-core/utils/pydantic/is_pydantic_v1_subclass)
- [`is_pydantic_v2_subclass()`](https://reference.langchain.com/python/langchain-core/utils/pydantic/is_pydantic_v2_subclass)
- [`is_basemodel_subclass()`](https://reference.langchain.com/python/langchain-core/utils/pydantic/is_basemodel_subclass)
- [`is_basemodel_instance()`](https://reference.langchain.com/python/langchain-core/utils/pydantic/is_basemodel_instance)
- [`pre_init()`](https://reference.langchain.com/python/langchain-core/utils/pydantic/pre_init)
- [`get_fields()`](https://reference.langchain.com/python/langchain-core/utils/pydantic/get_fields)
- [`create_model()`](https://reference.langchain.com/python/langchain-core/utils/pydantic/create_model)
- [`create_model_v2()`](https://reference.langchain.com/python/langchain-core/utils/pydantic/create_model_v2)
- [`grab_literal()`](https://reference.langchain.com/python/langchain-core/utils/mustache/grab_literal)
- [`l_sa_check()`](https://reference.langchain.com/python/langchain-core/utils/mustache/l_sa_check)
- [`r_sa_check()`](https://reference.langchain.com/python/langchain-core/utils/mustache/r_sa_check)
- [`parse_tag()`](https://reference.langchain.com/python/langchain-core/utils/mustache/parse_tag)
- [`tokenize()`](https://reference.langchain.com/python/langchain-core/utils/mustache/tokenize)
- [`render()`](https://reference.langchain.com/python/langchain-core/utils/mustache/render)
- [`convert_to_openai_function()`](https://reference.langchain.com/python/langchain-core/utils/function_calling/convert_to_openai_function)
- [`convert_to_openai_tool()`](https://reference.langchain.com/python/langchain-core/utils/function_calling/convert_to_openai_tool)
- [`convert_to_json_schema()`](https://reference.langchain.com/python/langchain-core/utils/function_calling/convert_to_json_schema)
- [`tool_example_to_messages()`](https://reference.langchain.com/python/langchain-core/utils/function_calling/tool_example_to_messages)
- [`trace_as_chain_group()`](https://reference.langchain.com/python/langchain-core/callbacks/manager/trace_as_chain_group)
- [`atrace_as_chain_group()`](https://reference.langchain.com/python/langchain-core/callbacks/manager/atrace_as_chain_group)
- [`shielded()`](https://reference.langchain.com/python/langchain-core/callbacks/manager/shielded)
- [`handle_event()`](https://reference.langchain.com/python/langchain-core/callbacks/manager/handle_event)
- [`ahandle_event()`](https://reference.langchain.com/python/langchain-core/callbacks/manager/ahandle_event)
- [`adispatch_custom_event()`](https://reference.langchain.com/python/langchain-core/callbacks/manager/adispatch_custom_event)
- [`dispatch_custom_event()`](https://reference.langchain.com/python/langchain-core/callbacks/manager/dispatch_custom_event)
- [`get_usage_metadata_callback()`](https://reference.langchain.com/python/langchain-core/callbacks/usage/get_usage_metadata_callback)
- [`is_openai_data_block()`](https://reference.langchain.com/python/langchain-core/language_models/_utils/is_openai_data_block)
- [`generate_from_stream()`](https://reference.langchain.com/python/langchain-core/language_models/chat_models/generate_from_stream)
- [`agenerate_from_stream()`](https://reference.langchain.com/python/langchain-core/language_models/chat_models/agenerate_from_stream)
- [`create_base_retry_decorator()`](https://reference.langchain.com/python/langchain-core/language_models/llms/create_base_retry_decorator)
- [`get_prompts()`](https://reference.langchain.com/python/langchain-core/language_models/llms/get_prompts)
- [`aget_prompts()`](https://reference.langchain.com/python/langchain-core/language_models/llms/aget_prompts)
- [`update_cache()`](https://reference.langchain.com/python/langchain-core/language_models/llms/update_cache)
- [`aupdate_cache()`](https://reference.langchain.com/python/langchain-core/language_models/llms/aupdate_cache)
- [`get_tokenizer()`](https://reference.langchain.com/python/langchain-core/language_models/base/get_tokenizer)
- [`merge_chat_generation_chunks()`](https://reference.langchain.com/python/langchain-core/outputs/chat_generation/merge_chat_generation_chunks)
- [`droplastn()`](https://reference.langchain.com/python/langchain-core/output_parsers/list/droplastn)
- [`parse_tool_call()`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_tools/parse_tool_call)
- [`make_invalid_tool_call()`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_tools/make_invalid_tool_call)
- [`parse_tool_calls()`](https://reference.langchain.com/python/langchain-core/output_parsers/openai_tools/parse_tool_calls)
- [`nested_element()`](https://reference.langchain.com/python/langchain-core/output_parsers/xml/nested_element)
- [`is_uuid()`](https://reference.langchain.com/python/langchain-core/runnables/graph/is_uuid)
- [`node_data_str()`](https://reference.langchain.com/python/langchain-core/runnables/graph/node_data_str)
- [`node_data_json()`](https://reference.langchain.com/python/langchain-core/runnables/graph/node_data_json)
- [`coerce_to_runnable()`](https://reference.langchain.com/python/langchain-core/runnables/base/coerce_to_runnable)
- [`chain()`](https://reference.langchain.com/python/langchain-core/runnables/base/chain)
- [`draw_ascii()`](https://reference.langchain.com/python/langchain-core/runnables/graph_ascii/draw_ascii)
- [`gated_coro()`](https://reference.langchain.com/python/langchain-core/runnables/utils/gated_coro)
- [`gather_with_concurrency()`](https://reference.langchain.com/python/langchain-core/runnables/utils/gather_with_concurrency)
- [`accepts_run_manager()`](https://reference.langchain.com/python/langchain-core/runnables/utils/accepts_run_manager)
- [`accepts_config()`](https://reference.langchain.com/python/langchain-core/runnables/utils/accepts_config)
- [`accepts_context()`](https://reference.langchain.com/python/langchain-core/runnables/utils/accepts_context)
- [`asyncio_accepts_context()`](https://reference.langchain.com/python/langchain-core/runnables/utils/asyncio_accepts_context)
- [`coro_with_context()`](https://reference.langchain.com/python/langchain-core/runnables/utils/coro_with_context)
- [`get_function_first_arg_dict_keys()`](https://reference.langchain.com/python/langchain-core/runnables/utils/get_function_first_arg_dict_keys)
- [`get_lambda_source()`](https://reference.langchain.com/python/langchain-core/runnables/utils/get_lambda_source)
- [`get_function_nonlocals()`](https://reference.langchain.com/python/langchain-core/runnables/utils/get_function_nonlocals)
- [`indent_lines_after_first()`](https://reference.langchain.com/python/langchain-core/runnables/utils/indent_lines_after_first)
- [`add()`](https://reference.langchain.com/python/langchain-core/runnables/utils/add)
- [`aadd()`](https://reference.langchain.com/python/langchain-core/runnables/utils/aadd)
- [`get_unique_config_specs()`](https://reference.langchain.com/python/langchain-core/runnables/utils/get_unique_config_specs)
- [`is_async_generator()`](https://reference.langchain.com/python/langchain-core/runnables/utils/is_async_generator)
- [`is_async_callable()`](https://reference.langchain.com/python/langchain-core/runnables/utils/is_async_callable)
- [`identity()`](https://reference.langchain.com/python/langchain-core/runnables/passthrough/identity)
- [`aidentity()`](https://reference.langchain.com/python/langchain-core/runnables/passthrough/aidentity)
- [`set_config_context()`](https://reference.langchain.com/python/langchain-core/runnables/config/set_config_context)
- [`ensure_config()`](https://reference.langchain.com/python/langchain-core/runnables/config/ensure_config)
- [`get_config_list()`](https://reference.langchain.com/python/langchain-core/runnables/config/get_config_list)
- [`patch_config()`](https://reference.langchain.com/python/langchain-core/runnables/config/patch_config)
- [`merge_configs()`](https://reference.langchain.com/python/langchain-core/runnables/config/merge_configs)
- [`call_func_with_variable_args()`](https://reference.langchain.com/python/langchain-core/runnables/config/call_func_with_variable_args)
- [`acall_func_with_variable_args()`](https://reference.langchain.com/python/langchain-core/runnables/config/acall_func_with_variable_args)
- [`get_callback_manager_for_config()`](https://reference.langchain.com/python/langchain-core/runnables/config/get_callback_manager_for_config)
- [`get_async_callback_manager_for_config()`](https://reference.langchain.com/python/langchain-core/runnables/config/get_async_callback_manager_for_config)
- [`get_executor_for_config()`](https://reference.langchain.com/python/langchain-core/runnables/config/get_executor_for_config)
- [`run_in_executor()`](https://reference.langchain.com/python/langchain-core/runnables/config/run_in_executor)
- [`draw_mermaid()`](https://reference.langchain.com/python/langchain-core/runnables/graph_mermaid/draw_mermaid)
- [`draw_mermaid_png()`](https://reference.langchain.com/python/langchain-core/runnables/graph_mermaid/draw_mermaid_png)
- [`prefix_config_spec()`](https://reference.langchain.com/python/langchain-core/runnables/configurable/prefix_config_spec)
- [`make_options_spec()`](https://reference.langchain.com/python/langchain-core/runnables/configurable/make_options_spec)
- [`is_private_ip()`](https://reference.langchain.com/python/langchain-core/_security/_ssrf_protection/is_private_ip)
- [`is_cloud_metadata()`](https://reference.langchain.com/python/langchain-core/_security/_ssrf_protection/is_cloud_metadata)
- [`is_localhost()`](https://reference.langchain.com/python/langchain-core/_security/_ssrf_protection/is_localhost)
- [`validate_safe_url()`](https://reference.langchain.com/python/langchain-core/_security/_ssrf_protection/validate_safe_url)
- [`is_safe_url()`](https://reference.langchain.com/python/langchain-core/_security/_ssrf_protection/is_safe_url)
- [`default_init_validator()`](https://reference.langchain.com/python/langchain-core/load/load/default_init_validator)
- [`loads()`](https://reference.langchain.com/python/langchain-core/load/load/loads)
- [`load()`](https://reference.langchain.com/python/langchain-core/load/load/load)
- [`default()`](https://reference.langchain.com/python/langchain-core/load/dump/default)
- [`dumps()`](https://reference.langchain.com/python/langchain-core/load/dump/dumps)
- [`dumpd()`](https://reference.langchain.com/python/langchain-core/load/dump/dumpd)
- [`try_neq_default()`](https://reference.langchain.com/python/langchain-core/load/serializable/try_neq_default)
- [`to_json_not_implemented()`](https://reference.langchain.com/python/langchain-core/load/serializable/to_json_not_implemented)
- [`create_schema_from_function()`](https://reference.langchain.com/python/langchain-core/tools/base/create_schema_from_function)
- [`get_all_basemodel_annotations()`](https://reference.langchain.com/python/langchain-core/tools/base/get_all_basemodel_annotations)
- [`tool()`](https://reference.langchain.com/python/langchain-core/tools/convert/tool)
- [`convert_runnable_to_tool()`](https://reference.langchain.com/python/langchain-core/tools/convert/convert_runnable_to_tool)
- [`render_text_description()`](https://reference.langchain.com/python/langchain-core/tools/render/render_text_description)
- [`render_text_description_and_args()`](https://reference.langchain.com/python/langchain-core/tools/render/render_text_description_and_args)
- [`create_retriever_tool()`](https://reference.langchain.com/python/langchain-core/tools/retriever/create_retriever_tool)

## Types

- [`Annotation`](https://reference.langchain.com/python/langchain-core/messages/content/Annotation)
- [`DataContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/DataContentBlock)
- [`ToolContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/ToolContentBlock)
- [`ContentBlock`](https://reference.langchain.com/python/langchain-core/messages/content/ContentBlock)
- [`MessageLikeRepresentation`](https://reference.langchain.com/python/langchain-core/messages/utils/MessageLikeRepresentation)
- [`MessageLike`](https://reference.langchain.com/python/langchain-core/prompts/chat/MessageLike)
- [`MessageLikeRepresentation`](https://reference.langchain.com/python/langchain-core/prompts/chat/MessageLikeRepresentation)
- [`PathLike`](https://reference.langchain.com/python/langchain-core/documents/base/PathLike)
- [`Matrix`](https://reference.langchain.com/python/langchain-core/vectorstores/utils/Matrix)
- [`Listener`](https://reference.langchain.com/python/langchain-core/tracers/root_listeners/Listener)
- [`AsyncListener`](https://reference.langchain.com/python/langchain-core/tracers/root_listeners/AsyncListener)
- [`Scopes`](https://reference.langchain.com/python/langchain-core/utils/mustache/Scopes)
- [`Callbacks`](https://reference.langchain.com/python/langchain-core/callbacks/base/Callbacks)
- [`LanguageModelInput`](https://reference.langchain.com/python/langchain-core/language_models/base/LanguageModelInput)
- [`LanguageModelOutput`](https://reference.langchain.com/python/langchain-core/language_models/base/LanguageModelOutput)
- [`PydanticBaseModel`](https://reference.langchain.com/python/langchain-core/output_parsers/json/PydanticBaseModel)
- [`RunnableLike`](https://reference.langchain.com/python/langchain-core/runnables/base/RunnableLike)
- [`StreamEvent`](https://reference.langchain.com/python/langchain-core/runnables/schema/StreamEvent)
- [`AnyConfigurableField`](https://reference.langchain.com/python/langchain-core/runnables/utils/AnyConfigurableField)
- [`MessagesOrDictWithMessages`](https://reference.langchain.com/python/langchain-core/runnables/history/MessagesOrDictWithMessages)
- [`ArgsSchema`](https://reference.langchain.com/python/langchain-core/tools/base/ArgsSchema)
