The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: fix some spelling mistakes caught by newest version of code spell (#22090)
Eugene Yurtsev2d693c484e60
diff --git a/docs/docs/integrations/providers/langchain_decorators.mdx b/docs/docs/integrations/providers/langchain_decorators.mdxindex 1c80bcc2bf..d719f90b29 100644--- a/docs/docs/integrations/providers/langchain_decorators.mdx+++ b/docs/docs/integrations/providers/langchain_decorators.mdx@@ -205,7 +205,7 @@ For chat models is very useful to define prompt as a set of message templates...def simulate_conversation(human_input:str, agent_role:str="a pirate"):"""## System message- - note the `:system` sufix inside the <prompt:_role_> tag+ - note the `:system` suffix inside the <prompt:_role_> tag```<prompt:system>diff --git a/libs/community/langchain_community/retrievers/google_cloud_documentai_warehouse.py b/libs/community/langchain_community/retrievers/google_cloud_documentai_warehouse.pyindex e0a403b87e..b989cef5b0 100644--- a/libs/community/langchain_community/retrievers/google_cloud_documentai_warehouse.py+++ b/libs/community/langchain_community/retrievers/google_cloud_documentai_warehouse.py@@ -32,7 +32,7 @@ class GoogleDocumentAIWarehouseRetriever(BaseRetriever):Documents should be created and documents should be uploadedin a separate flow, and this retriever uses only Document AI- schema_id provided to search for revelant documents.+ schema_id provided to search for relevant documents.More info: https://cloud.google.com/document-ai-warehouse."""diff --git a/libs/community/langchain_community/vectorstores/milvus.py b/libs/community/langchain_community/vectorstores/milvus.pyindex 28d1dcc0f8..30a7d4cc40 100644--- a/libs/community/langchain_community/vectorstores/milvus.py+++ b/libs/community/langchain_community/vectorstores/milvus.py@@ -62,7 +62,7 @@ class Milvus(VectorStore):primary_field (str): Name of the primary key field. Defaults to "pk".text_field (str): Name of the text field. Defaults to "text".vector_field (str): Name of the vector field. Defaults to "vector".- metadata_field (str): Name of the metadta field. Defaults to None.+ metadata_field (str): Name of the metadata field. Defaults to None.When metadata_field is specified,the document's metadata will store as json.diff --git a/libs/community/tests/unit_tests/callbacks/fake_callback_handler.py b/libs/community/tests/unit_tests/callbacks/fake_callback_handler.pyindex 66b5425692..be164fdf23 100644--- a/libs/community/tests/unit_tests/callbacks/fake_callback_handler.py+++ b/libs/community/tests/unit_tests/callbacks/fake_callback_handler.py@@ -21,7 +21,7 @@ class BaseFakeCallbackHandler(BaseModel):ignore_retriever_: bool = Falseignore_chat_model_: bool = False- # to allow for similar callback handlers that are not technicall equal+ # to allow for similar callback handlers that are not technically equalfake_id: Union[str, None] = None# add finer-grained counters for easier debugging of failing testsdiff --git a/libs/core/tests/unit_tests/fake/callbacks.py b/libs/core/tests/unit_tests/fake/callbacks.pyindex b2bef343ff..db66f2acc9 100644--- a/libs/core/tests/unit_tests/fake/callbacks.py+++ b/libs/core/tests/unit_tests/fake/callbacks.py@@ -22,7 +22,7 @@ class BaseFakeCallbackHandler(BaseModel):ignore_retriever_: bool = Falseignore_chat_model_: bool = False- # to allow for similar callback handlers that are not technicall equal+ # to allow for similar callback handlers that are not technically equalfake_id: Union[str, None] = None# add finer-grained counters for easier debugging of failing testsdiff --git a/libs/langchain/langchain/evaluation/scoring/prompt.py b/libs/langchain/langchain/evaluation/scoring/prompt.pyindex 99f899824d..259cded396 100644--- a/libs/langchain/langchain/evaluation/scoring/prompt.py+++ b/libs/langchain/langchain/evaluation/scoring/prompt.py@@ -1,6 +1,6 @@"""Prompts for scoring the outputs of a models for a given question.-This prompt is used to socre the responses and evaluate how it follows the instructions+This prompt is used to score the responses and evaluate how it follows the instructionsand answers the question. The prompt is based on the paper fromZheng, et. al. https://arxiv.org/abs/2306.05685"""diff --git a/libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py b/libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.pyindex 2a2af92269..4f92aa8bbe 100644--- a/libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py+++ b/libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py@@ -21,7 +21,7 @@ class BaseFakeCallbackHandler(BaseModel):ignore_retriever_: bool = Falseignore_chat_model_: bool = False- # to allow for similar callback handlers that are not technicall equal+ # to allow for similar callback handlers that are not technically equalfake_id: Union[str, None] = None# add finer-grained counters for easier debugging of failing testsdiff --git a/libs/partners/anthropic/tests/unit_tests/_utils.py b/libs/partners/anthropic/tests/unit_tests/_utils.pyindex 3c053d2cc4..a39f31fc0f 100644--- a/libs/partners/anthropic/tests/unit_tests/_utils.py+++ b/libs/partners/anthropic/tests/unit_tests/_utils.py@@ -19,7 +19,7 @@ class BaseFakeCallbackHandler(BaseModel):ignore_retriever_: bool = Falseignore_chat_model_: bool = False- # to allow for similar callback handlers that are not technicall equal+ # to allow for similar callback handlers that are not technically equalfake_id: Union[str, None] = None# add finer-grained counters for easier debugging of failing testsdiff --git a/libs/partners/openai/tests/unit_tests/fake/callbacks.py b/libs/partners/openai/tests/unit_tests/fake/callbacks.pyindex b2bef343ff..db66f2acc9 100644--- a/libs/partners/openai/tests/unit_tests/fake/callbacks.py+++ b/libs/partners/openai/tests/unit_tests/fake/callbacks.py@@ -22,7 +22,7 @@ class BaseFakeCallbackHandler(BaseModel):ignore_retriever_: bool = Falseignore_chat_model_: bool = False- # to allow for similar callback handlers that are not technicall equal+ # to allow for similar callback handlers that are not technically equalfake_id: Union[str, None] = None# add finer-grained counters for easier debugging of failing testsdiff --git a/libs/partners/prompty/tests/unit_tests/fake_callback_handler.py b/libs/partners/prompty/tests/unit_tests/fake_callback_handler.pyindex 86569fd0a3..fd68bebd2d 100644--- a/libs/partners/prompty/tests/unit_tests/fake_callback_handler.py+++ b/libs/partners/prompty/tests/unit_tests/fake_callback_handler.py@@ -22,7 +22,7 @@ class BaseFakeCallbackHandler(BaseModel):ignore_retriever_: bool = Falseignore_chat_model_: bool = False- # to allow for similar callback handlers that are not technicall equal+ # to allow for similar callback handlers that are not technically equalfake_id: Union[str, None] = None# add finer-grained counters for easier debugging of failing tests