Skip to content

Commit

Permalink
replace retired model
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengfeiwang committed Jun 18, 2024
1 parent 604f4a4 commit c9b09df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def completion(connection: AzureOpenAIConnection, prompt: str, stream: bool) ->
if IS_LEGACY_OPENAI:
completion = openai.Completion.create(
prompt=prompt,
engine="text-ada-001",
engine="gpt-35-turbo-instruct",
max_tokens=256,
temperature=0.8,
top_p=1.0,
Expand All @@ -40,7 +40,7 @@ def completion(connection: AzureOpenAIConnection, prompt: str, stream: bool) ->
else:
completion = get_client(connection).completions.create(
prompt=prompt,
model="text-ada-001",
model="gpt-35-turbo-instruct",
max_tokens=256,
temperature=0.8,
top_p=1.0,
Expand Down

0 comments on commit c9b09df

Please sign in to comment.