Skip to content

The agent engineering platform.

Corrected some spelling mistakes and grammatical errors (#10791)

Aashish Saini1b050b98f5b9
diff --git a/docs/extras/_templates/integration.mdx b/docs/extras/_templates/integration.mdx
index 5e4b994ebf..addb12042b 100644
--- a/docs/extras/_templates/integration.mdx
+++ b/docs/extras/_templates/integration.mdx
@@ -1,4 +1,3 @@
-
[comment: Please, a reference example here "docs/integrations/arxiv.md"]::
[comment: Use this template to create a new .md file in "docs/integrations/"]::
@@ -7,26 +6,25 @@
[comment: Only one Tile/H1 is allowed!]::
>
-
[comment: Description: After reading this description, a reader should decide if this integration is good enough to try/follow reading OR]::
[comment: go to read the next integration doc. ]::
[comment: Description should include a link to the source for follow reading.]::
## Installation and Setup
-[comment: Installation and Setup: All necessary additional package installations and set ups for Tokens, etc]::
+[comment: Installation and Setup: All necessary additional package installations and setups for Tokens, etc]::
```bash
pip install package_name_REPLACE_ME
```
[comment: OR this text:]::
-There isn't any special setup for it.
+There isn't any special setup for it.
[comment: The next H2/## sections with names of the integration modules, like "LLM", "Text Embedding Models", etc]::
[comment: see "Modules" in the "index.html" page]::
-[comment: Each H2 section should include a link to an example(s) and a python code with import of the integration class]::
+[comment: Each H2 section should include a link to an example(s) and a Python code with the import of the integration class]::
[comment: Below are several example sections. Remove all unnecessary sections. Add all necessary sections not provided here.]::
## LLM
@@ -37,7 +35,6 @@ See a [usage example](/docs/integrations/llms/INCLUDE_REAL_NAME).
from langchain.llms import integration_class_REPLACE_ME
```
-
## Text Embedding Models
See a [usage example](/docs/integrations/text_embedding/INCLUDE_REAL_NAME)
@@ -46,7 +43,6 @@ See a [usage example](/docs/integrations/text_embedding/INCLUDE_REAL_NAME)
from langchain.embeddings import integration_class_REPLACE_ME
```
-
## Chat models
See a [usage example](/docs/integrations/chat/INCLUDE_REAL_NAME)
diff --git a/libs/experimental/langchain_experimental/sql/prompt.py b/libs/experimental/langchain_experimental/sql/prompt.py
index 5f4c9b8a4f..c4c57e5f37 100644
--- a/libs/experimental/langchain_experimental/sql/prompt.py
+++ b/libs/experimental/langchain_experimental/sql/prompt.py
@@ -63,7 +63,7 @@ CREATE TABLE "ChatPaper" (
ORDER BY id
PRIMARY KEY id
-Question: What is Feartue Pyramid Network?
+Question: What is Feature Pyramid Network?
SQLQuery: SELECT ChatPaper.title, ChatPaper.id, ChatPaper.authors FROM ChatPaper ORDER BY DISTANCE(vector, NeuralArray(PaperRank contribution)) LIMIT {top_k}
diff --git a/libs/experimental/langchain_experimental/tot/base.py b/libs/experimental/langchain_experimental/tot/base.py
index b423525e45..82f4f92aff 100644
--- a/libs/experimental/langchain_experimental/tot/base.py
+++ b/libs/experimental/langchain_experimental/tot/base.py
@@ -46,7 +46,7 @@ class ToTChain(Chain):
"""ToT Checker to use."""
output_key: str = "response" #: :meta private:
k: int = 10
- """The maximmum number of conversation rounds"""
+ """The maximum number of conversation rounds"""
c: int = 3
"""The number of children to explore at each node"""
tot_memory: ToTDFSMemory = ToTDFSMemory()
diff --git a/libs/experimental/langchain_experimental/tot/prompts.py b/libs/experimental/langchain_experimental/tot/prompts.py
index cd368933fe..e1832ee96c 100644
--- a/libs/experimental/langchain_experimental/tot/prompts.py
+++ b/libs/experimental/langchain_experimental/tot/prompts.py
@@ -126,7 +126,7 @@ CHECKER_PROMPT = PromptTemplate(
Evaluate the thoughts and respond with one word.
- Respond VALID if the last thought is a valid final solution to the
- poblem.
+ problem.
- Respond INVALID if the last thought is invalid.
- Respond INTERMEDIATE if the last thought is valid but not the final
solution to the problem.