Skip to content

Commit

Permalink
Merge pull request Significant-Gravitas#2168 from H-jj-R/master
Browse files Browse the repository at this point in the history
Spelling Fixes
  • Loading branch information
richbeales authored Apr 17, 2023
2 parents ee224c3 + a0b0a4c commit d4b7466
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ By following these guidelines, your PRs are more likely to be merged quickly aft

<!-- If you haven't added tests, please explain why. If you have, check the appropriate box. If you've ensured your PR is atomic and well-documented, check the corresponding boxes. -->

<!-- By submitting this, I agree that my pull request should be closed if I do not fill this out or follow the guide lines. -->
<!-- By submitting this, I agree that my pull request should be closed if I do not fill this out or follow the guidelines. -->
4 changes: 2 additions & 2 deletions autogpt/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def execute_command(command_name: str, arguments):


def get_text_summary(url: str, question: str) -> str:
"""Return the results of a google search
"""Return the results of a Google search
Args:
url (str): The url to scrape
Expand All @@ -240,7 +240,7 @@ def get_text_summary(url: str, question: str) -> str:


def get_hyperlinks(url: str) -> Union[str, List[str]]:
"""Return the results of a google search
"""Return the results of a Google search
Args:
url (str): The url to scrape
Expand Down
2 changes: 1 addition & 1 deletion autogpt/commands/git_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def clone_repository(repo_url: str, clone_path: str) -> str:
"""Clone a github repository locally
"""Clone a GitHub repository locally
Args:
repo_url (str): The URL of the repository to clone
Expand Down
4 changes: 2 additions & 2 deletions autogpt/commands/google_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


def google_search(query: str, num_results: int = 8) -> str:
"""Return the results of a google search
"""Return the results of a Google search
Args:
query (str): The search query.
Expand All @@ -35,7 +35,7 @@ def google_search(query: str, num_results: int = 8) -> str:


def google_official_search(query: str, num_results: int = 8) -> str | list[str]:
"""Return the results of a google search using the official Google API
"""Return the results of a Google search using the official Google API
Args:
query (str): The search query.
Expand Down
2 changes: 1 addition & 1 deletion autogpt/llm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def create_chat_completion(


def create_embedding_with_ada(text) -> list:
"""Create a embedding with text-ada-002 using the OpenAI SDK"""
"""Create an embedding with text-ada-002 using the OpenAI SDK"""
num_retries = 10
for attempt in range(num_retries):
backoff = 2 ** (attempt + 2)
Expand Down
2 changes: 1 addition & 1 deletion autogpt/memory/milvus.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, cfg) -> None:
self.collection.load()

def add(self, data) -> str:
"""Add a embedding of data into memory.
"""Add an embedding of data into memory.
Args:
data (str): The raw text to construct embedding index.
Expand Down
2 changes: 1 addition & 1 deletion autogpt/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Setup the AI and its goals"""
"""Set up the AI and its goals"""
from colorama import Fore, Style
from autogpt import utils
from autogpt.config.ai_config import AIConfig
Expand Down
2 changes: 1 addition & 1 deletion autogpt/speech/eleven_labs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ElevenLabsSpeech(VoiceBase):
"""ElevenLabs speech class"""

def _setup(self) -> None:
"""Setup the voices, API key, etc.
"""Set up the voices, API key, etc.
Returns:
None: None
Expand Down
2 changes: 1 addition & 1 deletion outputs/logs/message-log-1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ How to Become a Freelance Artificial Intelligence Engineer

Springboard
https://www.springboard.com › Blog › Data Science
29/10/2021 — There are numerous freelancing platforms where you can kick start your career as a freelance artificial intelligence engineer.
29/10/2021 — There are numerous freelancing platforms where you can kick-start your career as a freelance artificial intelligence engineer.
More to ask
Is AI good for freelancing?
What business can I start with AI?
Expand Down

0 comments on commit d4b7466

Please sign in to comment.