Skip to content

Commit d1c18a0

Browse files
oumizxmdrxy
authored andcommitted
Fixed typos. (#277)
Fixed typos. Co-authored-by: Mason Daugherty <[email protected]>
1 parent d851918 commit d1c18a0

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/scripts/get_min_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if sys.version_info >= (3, 11):
77
import tomllib
88
else:
9-
# For Python 3.10 and below, which doesnt have stdlib tomllib
9+
# For Python 3.10 and below, which doesn't have stdlib tomllib
1010
import tomli as tomllib
1111

1212
import re

libs/community/langchain_community/chat_models/litellm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def bind_tools(
579579
formatted_tools = [convert_to_openai_tool(tool) for tool in tools]
580580

581581
# In case of openai if tool_choice is `any` or if bool has been provided we
582-
# change it to `required` as that is suppored by openai.
582+
# change it to `required` as that is supported by openai.
583583
if (
584584
(self.model is not None and "azure" in self.model)
585585
or (self.model_name is not None and "azure" in self.model_name)

libs/community/langchain_community/vectorstores/falkordb_vector.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def process_index_data(data: List[List[Any]]) -> List[Dict[str, Any]]:
177177
178178
Args:
179179
data (List[List[Any]]): A nested list containing
180-
details about entitys, their properties, index
180+
details about entities, their properties, index
181181
types, and configuration information.
182182
183183
Returns:
@@ -209,7 +209,7 @@ def process_index_data(data: List[List[Any]]) -> List[Dict[str, Any]]:
209209
- If the index type includes 'VECTOR', additional
210210
details such as dimension and similarity function
211211
are extracted from the entity configuration.
212-
- The function handles cases where entitys have
212+
- The function handles cases where entities have
213213
multiple index types (e.g., both 'FULLTEXT' and 'VECTOR').
214214
"""
215215

@@ -276,7 +276,7 @@ class FalkorDBVector(VectorStore):
276276
pre_delete_collection: If True, will delete
277277
existing data if it exists.(default:
278278
False). Useful for testing.
279-
search_type: Similiarity search type to use.
279+
search_type: Similarity search type to use.
280280
Could be either SearchType.VECTOR or
281281
SearchType.HYBRID (default:
282282
SearchType.VECTOR)

libs/community/tests/unit_tests/document_loaders/parsers/test_pdf_parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ def test_parsers(
9292
parser = parser_class()
9393
_assert_with_parser(parser, **params)
9494
except ModuleNotFoundError:
95-
pytest.skip(f"{parser_factory} skiped. Require '{require}'")
95+
pytest.skip(f"{parser_factory} skipped. Require '{require}'")

libs/community/tests/unit_tests/vectorstores/test_azure_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def __init__(self) -> None:
244244
def mock_upload_documents(
245245
self: SearchClient, documents: List[object]
246246
) -> List[Response]:
247-
# assume all documents uploaded successfuly
247+
# assume all documents uploaded successfully
248248
response = [Response() for _ in documents]
249249
return response
250250

0 commit comments

Comments
 (0)