mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-22 00:14:23 +01:00
Spelling fixes
This commit is contained in:
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -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. -->
|
<!-- 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. -->
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ def execute_command(command_name: str, arguments):
|
|||||||
|
|
||||||
|
|
||||||
def get_text_summary(url: str, question: str) -> str:
|
def get_text_summary(url: str, question: str) -> str:
|
||||||
"""Return the results of a google search
|
"""Return the results of a Google search
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
url (str): The url to scrape
|
url (str): The url to scrape
|
||||||
@@ -227,7 +227,7 @@ def get_text_summary(url: str, question: str) -> str:
|
|||||||
|
|
||||||
|
|
||||||
def get_hyperlinks(url: str) -> Union[str, List[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:
|
Args:
|
||||||
url (str): The url to scrape
|
url (str): The url to scrape
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ CFG = Config()
|
|||||||
|
|
||||||
|
|
||||||
def clone_repository(repo_url: str, clone_path: str) -> str:
|
def clone_repository(repo_url: str, clone_path: str) -> str:
|
||||||
"""Clone a github repository locally
|
"""Clone a GitHub repository locally
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
repo_url (str): The URL of the repository to clone
|
repo_url (str): The URL of the repository to clone
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ CFG = Config()
|
|||||||
|
|
||||||
|
|
||||||
def google_search(query: str, num_results: int = 8) -> str:
|
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:
|
Args:
|
||||||
query (str): The search query.
|
query (str): The search query.
|
||||||
@@ -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]:
|
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:
|
Args:
|
||||||
query (str): The search query.
|
query (str): The search query.
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ def create_chat_completion(
|
|||||||
|
|
||||||
|
|
||||||
def create_embedding_with_ada(text) -> list:
|
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
|
num_retries = 10
|
||||||
for attempt in range(num_retries):
|
for attempt in range(num_retries):
|
||||||
backoff = 2 ** (attempt + 2)
|
backoff = 2 ** (attempt + 2)
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class MilvusMemory(MemoryProviderSingleton):
|
|||||||
self.collection.load()
|
self.collection.load()
|
||||||
|
|
||||||
def add(self, data) -> str:
|
def add(self, data) -> str:
|
||||||
"""Add a embedding of data into memory.
|
"""Add an embedding of data into memory.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
data (str): The raw text to construct embedding index.
|
data (str): The raw text to construct embedding index.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
"""Setup the AI and its goals"""
|
"""Set up the AI and its goals"""
|
||||||
from colorama import Fore, Style
|
from colorama import Fore, Style
|
||||||
from autogpt import utils
|
from autogpt import utils
|
||||||
from autogpt.config.ai_config import AIConfig
|
from autogpt.config.ai_config import AIConfig
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ class ElevenLabsSpeech(VoiceBase):
|
|||||||
"""ElevenLabs speech class"""
|
"""ElevenLabs speech class"""
|
||||||
|
|
||||||
def _setup(self) -> None:
|
def _setup(self) -> None:
|
||||||
"""Setup the voices, API key, etc.
|
"""Set up the voices, API key, etc.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
None: None
|
None: None
|
||||||
|
|||||||
@@ -483,7 +483,7 @@ How to Become a Freelance Artificial Intelligence Engineer
|
|||||||
|
|
||||||
Springboard
|
Springboard
|
||||||
https://www.springboard.com › Blog › Data Science
|
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
|
More to ask
|
||||||
Is AI good for freelancing?
|
Is AI good for freelancing?
|
||||||
What business can I start with AI?
|
What business can I start with AI?
|
||||||
|
|||||||
Reference in New Issue
Block a user