Skip to content

Commit

Permalink
Update text model to text-davinci-003
Browse files Browse the repository at this point in the history
  • Loading branch information
athyuttamre committed Nov 29, 2022
1 parent 353c6ae commit a306af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def index():
if request.method == "POST":
animal = request.form["animal"]
response = openai.Completion.create(
model="text-davinci-002",

This comment has been minimized.

Copy link
@EXO-JUAN

EXO-JUAN Apr 9, 2023

003

This comment has been minimized.

Copy link
@EXO-JUAN

EXO-JUAN Apr 9, 2023

update model="text-davinci-003",

model="text-davinci-003",
prompt=generate_prompt(animal),
temperature=0.6,
)
Expand Down

0 comments on commit a306af0

Please sign in to comment.