Update llm_utils.py

Fix trailing whitespace
This commit is contained in:
BillSchumacher
2023-04-15 15:03:03 -05:00
committed by GitHub
parent f67b81e200
commit 93b3e8428c

View File

@@ -115,7 +115,7 @@ def create_chat_completion(
return response.choices[0].message["content"]
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"""
num_retries = 10
for attempt in range(num_retries):