This commit is contained in:
ishaan-jaff
2023-09-14 09:34:49 -07:00
parent 7c9779f0ac
commit d844ea7ae7
@@ -50,7 +50,7 @@ os.environ["AZURE_API_VERSION"] = "2023-05-15"
# openai call
response = completion(
model = "gpt-3.5-turbo",
messages= = [{ "content": "Hello, how are you?","role": "user"}],
messages = [{ "content": "Hello, how are you?","role": "user"}],
stream=True
)
@@ -81,7 +81,7 @@ os.environ["AZURE_API_VERSION"] = "2023-05-15"
# openai call
response = acompletion(
model = "gpt-3.5-turbo",
messages= = [{ "content": "Hello, how are you?","role": "user"}],
messages = [{ "content": "Hello, how are you?","role": "user"}],
stream=True
)