Skip to content

Commit 2fe0369

Browse files
docs: fix typos in some files (#33867)
1 parent e023201 commit 2fe0369

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libs/cli/langchain_cli/integration_template/docs/vectorstores.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
"source": [
296296
"## TODO: Any functionality specific to this vector store\n",
297297
"\n",
298-
"E.g. creating a persisten database to save to your disk, etc."
298+
"E.g. creating a persistent database to save to your disk, etc."
299299
]
300300
},
301301
{

libs/core/langchain_core/messages/content.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ def _get_data_content_block_types() -> tuple[str, ...]:
867867
Example: ("image", "video", "audio", "text-plain", "file")
868868
869869
Note that old style multimodal blocks type literals with new style blocks.
870-
Speficially, "image", "audio", and "file".
870+
Specifically, "image", "audio", and "file".
871871
872872
See the docstring of `_normalize_messages` in `language_models._utils` for details.
873873
"""
@@ -906,7 +906,7 @@ def is_data_content_block(block: dict) -> bool:
906906

907907
# 'text' is checked to support v0 PlainTextContentBlock types
908908
# We must guard against new style TextContentBlock which also has 'text' `type`
909-
# by ensuring the presense of `source_type`
909+
# by ensuring the presence of `source_type`
910910
if block["type"] == "text" and "source_type" not in block: # noqa: SIM103 # This is more readable
911911
return False
912912

0 commit comments

Comments
 (0)