docs
This commit is contained in:
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
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user