fix(azure.py): use openai client sdk for handling sync+async calling

This commit is contained in:
Krrish Dholakia 2023-11-16 12:08:04 -08:00
parent 3285113d2d
commit bf0f8b824c
7 changed files with 136 additions and 167 deletions

View file

@ -20,7 +20,7 @@ def test_openai_embedding():
# print(f"response: {str(response)}")
except Exception as e:
pytest.fail(f"Error occurred: {e}")
test_openai_embedding()
# test_openai_embedding()
def test_openai_azure_embedding_simple():
try: