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:
@@ -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.
|
||||||
|
|||||||
@@ -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