diff --git a/reference/python/uv.lock b/reference/python/uv.lock index c652ef206..1fb390024 100644 --- a/reference/python/uv.lock +++ b/reference/python/uv.lock @@ -759,7 +759,7 @@ wheels = [ [[package]] name = "deepagents" version = "0.3.1" -source = { git = "https://github.com/langchain-ai/deepagents.git?subdirectory=libs%2Fdeepagents#ba95dab709c3ca4283655e121ae5544edf480f3b" } +source = { git = "https://github.com/langchain-ai/deepagents.git?subdirectory=libs%2Fdeepagents#bed960cc93c96d2c32093016bb66c445eedb6053" } dependencies = [ { name = "langchain", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-anthropic", marker = "platform_python_implementation != 'PyPy'" }, @@ -1803,7 +1803,7 @@ wheels = [ [[package]] name = "langchain" version = "1.2.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Flangchain_v1#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Flangchain_v1#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "langgraph", marker = "platform_python_implementation != 'PyPy'" }, @@ -1813,7 +1813,7 @@ dependencies = [ [[package]] name = "langchain-anthropic" version = "1.3.1" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fanthropic#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fanthropic#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "anthropic", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, @@ -1832,8 +1832,8 @@ dependencies = [ [[package]] name = "langchain-aws" -version = "1.1.1" -source = { git = "https://github.com/langchain-ai/langchain-aws.git?subdirectory=libs%2Faws#d369dbb84a49d81e2dea282452c1e251b3b530a8" } +version = "1.2.0" +source = { git = "https://github.com/langchain-ai/langchain-aws.git?subdirectory=libs%2Faws#0acbad4f2970fbdf30cb6f2545532049e4c3d3fd" } dependencies = [ { name = "boto3", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, @@ -1897,7 +1897,7 @@ dependencies = [ [[package]] name = "langchain-chroma" version = "1.1.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fchroma#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fchroma#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "chromadb", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, @@ -1907,7 +1907,7 @@ dependencies = [ [[package]] name = "langchain-classic" version = "1.0.1" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Flangchain#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Flangchain#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-text-splitters", marker = "platform_python_implementation != 'PyPy'" }, @@ -1951,7 +1951,7 @@ dependencies = [ [[package]] name = "langchain-core" version = "1.2.5" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fcore#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fcore#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "jsonpatch", marker = "platform_python_implementation != 'PyPy'" }, { name = "langsmith", marker = "platform_python_implementation != 'PyPy'" }, @@ -1976,7 +1976,7 @@ dependencies = [ [[package]] name = "langchain-deepseek" version = "1.1.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fdeepseek#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fdeepseek#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-openai", marker = "platform_python_implementation != 'PyPy'" }, @@ -1994,7 +1994,7 @@ dependencies = [ [[package]] name = "langchain-exa" version = "1.0.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fexa#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fexa#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "exa-py", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, @@ -2003,7 +2003,7 @@ dependencies = [ [[package]] name = "langchain-fireworks" version = "1.1.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Ffireworks#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Ffireworks#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "aiohttp", marker = "platform_python_implementation != 'PyPy'" }, { name = "fireworks-ai", marker = "platform_python_implementation != 'PyPy'" }, @@ -2015,7 +2015,7 @@ dependencies = [ [[package]] name = "langchain-google-community" version = "3.0.2" -source = { git = "https://github.com/langchain-ai/langchain-google.git?subdirectory=libs%2Fcommunity#cb74e0da6728f320b964ea62897149e595eeed3f" } +source = { git = "https://github.com/langchain-ai/langchain-google.git?subdirectory=libs%2Fcommunity#dd9dadf2507610306bfd3048281c28d900c0878f" } dependencies = [ { name = "google-api-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "google-api-python-client", marker = "platform_python_implementation != 'PyPy'" }, @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "langchain-google-genai" version = "4.1.2" -source = { git = "https://github.com/langchain-ai/langchain-google.git?subdirectory=libs%2Fgenai#cb74e0da6728f320b964ea62897149e595eeed3f" } +source = { git = "https://github.com/langchain-ai/langchain-google.git?subdirectory=libs%2Fgenai#dd9dadf2507610306bfd3048281c28d900c0878f" } dependencies = [ { name = "filetype", marker = "platform_python_implementation != 'PyPy'" }, { name = "google-genai", marker = "platform_python_implementation != 'PyPy'" }, @@ -2040,7 +2040,7 @@ dependencies = [ [[package]] name = "langchain-google-vertexai" version = "3.2.0" -source = { git = "https://github.com/langchain-ai/langchain-google.git?subdirectory=libs%2Fvertexai#cb74e0da6728f320b964ea62897149e595eeed3f" } +source = { git = "https://github.com/langchain-ai/langchain-google.git?subdirectory=libs%2Fvertexai#dd9dadf2507610306bfd3048281c28d900c0878f" } dependencies = [ { name = "bottleneck", marker = "platform_python_implementation != 'PyPy'" }, { name = "google-cloud-aiplatform", marker = "platform_python_implementation != 'PyPy'" }, @@ -2057,7 +2057,7 @@ dependencies = [ [[package]] name = "langchain-groq" version = "1.1.1" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fgroq#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fgroq#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "groq", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, @@ -2066,7 +2066,7 @@ dependencies = [ [[package]] name = "langchain-huggingface" version = "1.2.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fhuggingface#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fhuggingface#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "huggingface-hub", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, @@ -2104,7 +2104,7 @@ dependencies = [ [[package]] name = "langchain-mistralai" version = "1.1.1" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fmistralai#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fmistralai#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "httpx", marker = "platform_python_implementation != 'PyPy'" }, { name = "httpx-sse", marker = "platform_python_implementation != 'PyPy'" }, @@ -2127,7 +2127,7 @@ dependencies = [ [[package]] name = "langchain-nomic" version = "1.0.1" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fnomic#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fnomic#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "nomic", marker = "platform_python_implementation != 'PyPy'" }, @@ -2147,7 +2147,7 @@ dependencies = [ [[package]] name = "langchain-ollama" version = "1.0.1" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Follama#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Follama#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "ollama", marker = "platform_python_implementation != 'PyPy'" }, @@ -2156,7 +2156,7 @@ dependencies = [ [[package]] name = "langchain-openai" version = "1.1.6" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fopenai#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fopenai#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "openai", marker = "platform_python_implementation != 'PyPy'" }, @@ -2178,7 +2178,7 @@ dependencies = [ [[package]] name = "langchain-perplexity" version = "1.1.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fperplexity#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fperplexity#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "perplexityai", marker = "platform_python_implementation != 'PyPy'" }, @@ -2201,7 +2201,7 @@ dependencies = [ [[package]] name = "langchain-prompty" version = "1.0.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fprompty#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fprompty#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "pyyaml", marker = "platform_python_implementation != 'PyPy'" }, @@ -2210,7 +2210,7 @@ dependencies = [ [[package]] name = "langchain-qdrant" version = "1.1.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fqdrant#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fqdrant#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "pydantic", marker = "platform_python_implementation != 'PyPy'" }, @@ -2389,8 +2389,8 @@ requires-dist = [ [[package]] name = "langchain-tavily" -version = "0.2.15" -source = { git = "https://github.com/tavily-ai/langchain-tavily.git#880ab23870120eeffe7064a906ab3b8d08e91d0f" } +version = "0.2.16" +source = { git = "https://github.com/tavily-ai/langchain-tavily.git#23da3944a23348e5cad68f22c5a038f481ce745d" } dependencies = [ { name = "aiohttp", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain", marker = "platform_python_implementation != 'PyPy'" }, @@ -2401,7 +2401,7 @@ dependencies = [ [[package]] name = "langchain-tests" version = "1.1.2" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fstandard-tests#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fstandard-tests#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "httpx", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, @@ -2419,7 +2419,7 @@ dependencies = [ [[package]] name = "langchain-text-splitters" version = "1.1.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Ftext-splitters#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Ftext-splitters#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, ] @@ -2458,8 +2458,8 @@ dependencies = [ [[package]] name = "langchain-xai" -version = "1.1.0" -source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fxai#03ae39747b96486c7a8c77e62f456a444ecd83a6" } +version = "1.2.0" +source = { git = "https://github.com/langchain-ai/langchain.git?subdirectory=libs%2Fpartners%2Fxai#a7aad60989581d80283ed2a13e19b41706daaec3" } dependencies = [ { name = "aiohttp", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, @@ -2470,7 +2470,7 @@ dependencies = [ [[package]] name = "langgraph" version = "1.0.5" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Flanggraph#eec823cbd6deace32825ac21f7488ca631ba6c47" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Flanggraph#0acd5decf82751cf6f97d1bec8b30188ce316ff6" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "langgraph-checkpoint", marker = "platform_python_implementation != 'PyPy'" }, @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "langgraph-checkpoint" version = "3.0.1" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint#eec823cbd6deace32825ac21f7488ca631ba6c47" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint#0acd5decf82751cf6f97d1bec8b30188ce316ff6" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "ormsgpack", marker = "platform_python_implementation != 'PyPy'" }, @@ -2492,7 +2492,7 @@ dependencies = [ [[package]] name = "langgraph-checkpoint-aws" version = "1.0.2" -source = { git = "https://github.com/langchain-ai/langchain-aws.git?subdirectory=libs%2Flanggraph-checkpoint-aws#d369dbb84a49d81e2dea282452c1e251b3b530a8" } +source = { git = "https://github.com/langchain-ai/langchain-aws.git?subdirectory=libs%2Flanggraph-checkpoint-aws#0acbad4f2970fbdf30cb6f2545532049e4c3d3fd" } dependencies = [ { name = "boto3", marker = "platform_python_implementation != 'PyPy'" }, { name = "langgraph", marker = "platform_python_implementation != 'PyPy'" }, @@ -2502,7 +2502,7 @@ dependencies = [ [[package]] name = "langgraph-checkpoint-postgres" version = "3.0.2" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint-postgres#eec823cbd6deace32825ac21f7488ca631ba6c47" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint-postgres#0acd5decf82751cf6f97d1bec8b30188ce316ff6" } dependencies = [ { name = "langgraph-checkpoint", marker = "platform_python_implementation != 'PyPy'" }, { name = "orjson", marker = "platform_python_implementation != 'PyPy'" }, @@ -2513,7 +2513,7 @@ dependencies = [ [[package]] name = "langgraph-checkpoint-sqlite" version = "3.0.1" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint-sqlite#eec823cbd6deace32825ac21f7488ca631ba6c47" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint-sqlite#0acd5decf82751cf6f97d1bec8b30188ce316ff6" } dependencies = [ { name = "aiosqlite", marker = "platform_python_implementation != 'PyPy'" }, { name = "langgraph-checkpoint", marker = "platform_python_implementation != 'PyPy'" }, @@ -2523,7 +2523,7 @@ dependencies = [ [[package]] name = "langgraph-prebuilt" version = "1.0.5" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fprebuilt#eec823cbd6deace32825ac21f7488ca631ba6c47" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fprebuilt#0acd5decf82751cf6f97d1bec8b30188ce316ff6" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "langgraph-checkpoint", marker = "platform_python_implementation != 'PyPy'" }, @@ -2532,7 +2532,7 @@ dependencies = [ [[package]] name = "langgraph-sdk" version = "0.3.1" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fsdk-py#eec823cbd6deace32825ac21f7488ca631ba6c47" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fsdk-py#0acd5decf82751cf6f97d1bec8b30188ce316ff6" } dependencies = [ { name = "httpx", marker = "platform_python_implementation != 'PyPy'" }, { name = "orjson", marker = "platform_python_implementation != 'PyPy'" }, @@ -2559,8 +2559,8 @@ dependencies = [ [[package]] name = "langsmith" -version = "0.5.1" -source = { git = "https://github.com/langchain-ai/langsmith-sdk.git?subdirectory=python#68d8f4a32a524c39d55587a46e5f3c4f40b0331b" } +version = "0.5.2" +source = { git = "https://github.com/langchain-ai/langsmith-sdk.git?subdirectory=python#1482c9c3f689680e448da66e75c377a8f5bb00ae" } dependencies = [ { name = "httpx", marker = "platform_python_implementation != 'PyPy'" }, { name = "orjson", marker = "platform_python_implementation != 'PyPy'" }, diff --git a/src/oss/langchain/messages.mdx b/src/oss/langchain/messages.mdx index d6269faad..d32fdd228 100644 --- a/src/oss/langchain/messages.mdx +++ b/src/oss/langchain/messages.mdx @@ -668,10 +668,8 @@ human_message = HumanMessage(content_blocks=[ ``` - -Specifying `content_blocks` when initializing a message will still populate message -`content`, but provides a type-safe interface for doing so. - + Specifying `content_blocks` when initializing a message will still populate message + `content`, but provides a type-safe interface for doing so. ::: @@ -1181,11 +1179,11 @@ Content blocks are represented (either when creating a message or accessing the - Reference ID to an externally stored image (e.g., in a provider's file system or in a bucket). + Unique identifier for this content block (either generated by the provider or by LangChain). - Image [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#image) (e.g., `image/jpeg`, `image/png`) + Image [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#image) (e.g., `image/jpeg`, `image/png`). Required for base64 data. @@ -1204,11 +1202,11 @@ Content blocks are represented (either when creating a message or accessing the - Reference ID to an externally stored audio file (e.g., in a provider's file system or in a bucket). + Unique identifier for this content block (either generated by the provider or by LangChain). - Audio [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#audio) (e.g., `audio/mpeg`, `audio/wav`) + Audio [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#audio) (e.g., `audio/mpeg`, `audio/wav`). Required for base64 data. @@ -1227,11 +1225,11 @@ Content blocks are represented (either when creating a message or accessing the - Reference ID to an externally stored video file (e.g., in a provider's file system or in a bucket). + Unique identifier for this content block (either generated by the provider or by LangChain). - Video [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#video) (e.g., `video/mp4`, `video/webm`) + Video [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#video) (e.g., `video/mp4`, `video/webm`). Required for base64 data. @@ -1250,11 +1248,11 @@ Content blocks are represented (either when creating a message or accessing the - Reference ID to an externally stored file (e.g., in a provider's file system or in a bucket). + Unique identifier for this content block (either generated by the provider or by LangChain). - File [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) (e.g., `application/pdf`) + File [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) (e.g., `application/pdf`). Required for base64 data. @@ -1511,11 +1509,11 @@ Content blocks are represented (either when creating a message or accessing the - Reference ID to an externally stored image (e.g., in a provider's file system or in a bucket). + Reference to the image in an external file storage system (e.g., OpenAI or Anthropic's Files API). - Image [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#image) (e.g., `image/jpeg`, `image/png`) + Image [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#image) (e.g., `image/jpeg`, `image/png`). Required for base64 data. @@ -1534,11 +1532,11 @@ Content blocks are represented (either when creating a message or accessing the - Reference ID to an externally stored audio file (e.g., in a provider's file system or in a bucket). + Reference to the audio file in an external file storage system (e.g., OpenAI or Anthropic's Files API). - Audio [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#audio) (e.g., `audio/mpeg`, `audio/wav`) + Audio [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#audio) (e.g., `audio/mpeg`, `audio/wav`). Required for base64 data. @@ -1557,11 +1555,11 @@ Content blocks are represented (either when creating a message or accessing the - Reference ID to an externally stored video file (e.g., in a provider's file system or in a bucket). + Reference to the video file in an external file storage system (e.g., OpenAI or Anthropic's Files API). - Video [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#video) (e.g., `video/mp4`, `video/webm`) + Video [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml#video) (e.g., `video/mp4`, `video/webm`). Required for base64 data. @@ -1580,11 +1578,11 @@ Content blocks are represented (either when creating a message or accessing the - Reference ID to an externally stored file (e.g., in a provider's file system or in a bucket). + Reference to the file in an external file storage system (e.g., OpenAI or Anthropic's Files API). - File [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) (e.g., `application/pdf`) + File [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) (e.g., `application/pdf`). Required for base64 data.