Spelling fixes

This commit is contained in:
H-jj-R
2023-04-17 13:25:49 +01:00
parent f41febd3ae
commit 8dadf79614
9 changed files with 11 additions and 11 deletions

View File

@@ -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)