Skip to content

Commit

Permalink
fix openai example
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Nov 24, 2023
1 parent 95a1c3d commit 7afe335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import openai

openai.chat.completions.create(messages=[
{"role": "assistant", "message": "Welcome to PyCon China 2023!"},
{"role": "assistant", "content": "Welcome to PyCon China 2023!"},
])
</pre>
<div class="flex justify-center space-x-2 lg:space-x-4 py-2 text-4xl font-bold">
Expand Down

0 comments on commit 7afe335

Please sign in to comment.