Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix typos (#3998)

minfeng-ai23e1e1ed53d0
diff --git a/autogpt/processing/text.py b/autogpt/processing/text.py
index 9391e0a0c2..4687fb710c 100644
--- a/autogpt/processing/text.py
+++ b/autogpt/processing/text.py
@@ -30,10 +30,10 @@ def split_text(
Raises:
ValueError: If the text is longer than the maximum length
"""
- flatened_paragraphs = " ".join(text.split("\n"))
+ flattened_paragraphs = " ".join(text.split("\n"))
nlp = spacy.load(CFG.browse_spacy_language_model)
nlp.add_pipe("sentencizer")
- doc = nlp(flatened_paragraphs)
+ doc = nlp(flattened_paragraphs)
sentences = [sent.text.strip() for sent in doc.sents]
current_chunk = []
diff --git a/docs/challenges/introduction.md b/docs/challenges/introduction.md
index 1d4041000a..63f570f268 100644
--- a/docs/challenges/introduction.md
+++ b/docs/challenges/introduction.md
@@ -1,4 +1,4 @@
-indroduction.md
+introduction.md
# Introduction to Challenges
Welcome to the Auto-GPT Challenges page! This is a space where we encourage community members to collaborate and contribute towards improving Auto-GPT by identifying and solving challenges that Auto-GPT is not yet able to achieve.
diff --git a/tests/integration/goal_oriented/goal_oriented_tasks.md b/tests/integration/goal_oriented/goal_oriented_tasks.md
index 02e3c34369..b06b371b20 100644
--- a/tests/integration/goal_oriented/goal_oriented_tasks.md
+++ b/tests/integration/goal_oriented/goal_oriented_tasks.md
@@ -6,5 +6,5 @@ To know which one, you can run the following command:
```bash
pytest -s -k tests/integration/goal_oriented
-If the test is successul, it will record new cassettes in VCR. Then you can just push these to your branch and the pipeline
+If the test is successful, it will record new cassettes in VCR. Then you can just push these to your branch and the pipeline
will pass
diff --git a/tests/vcr/vcr_filter.py b/tests/vcr/vcr_filter.py
index 38e4cea674..892b8021fb 100644
--- a/tests/vcr/vcr_filter.py
+++ b/tests/vcr/vcr_filter.py
@@ -34,7 +34,7 @@ def replace_timestamp_in_request(request: Any) -> Any:
return request
body[
"max_tokens"
- ] = 0 # this field is incosistent between requests and not used at the moment.
+ ] = 0 # this field is inconsistent between requests and not used at the moment.
for message in body["messages"]:
if "content" in message and "role" in message:
if message["role"] == "system":