How do i show only the ai message #336
-
res.choices.first.message |
Beta Was this translation helpful? Give feedback.
Answered by
davidmigloz
Feb 19, 2024
Replies: 1 comment 1 reply
-
Hello @Leo-Bon , I guess you are talking about If so, there's a langchain_dart/packages/openai_dart/example/openai_dart_example.dart Lines 22 to 36 in c55fe50 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Leo-Bon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @Leo-Bon ,
I guess you are talking about
openai_dart
client?If so, there's a
content
field in the `ChatCompletionAssistantMessagelangchain_dart/packages/openai_dart/example/openai_dart_example.dart
Lines 22 to 36 in c55fe50