Skip to content

Commit fb6e205

Browse files
committed
Update chat completions example to print dict object
1 parent a339b9c commit fb6e205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/inference/llm/chat_completions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
],
1919
)
2020

21-
print(completion)
21+
print(completion.model_dump_json())

0 commit comments

Comments
 (0)