Skip to content

Commit

Permalink
Fix json mode docs (#3210)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Nov 9, 2023
1 parent c53a5e3 commit 6942f10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/src/models/chat/integration_openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ console.log(res);

/*
AIMessage {
content: '```json\n{\n "response": "Hello! How can I assist you today?"\n}\n```',
additional_kwargs: { function_call: undefined }
content: '{\n "response": "How can I assist you today?"\n}',
name: undefined,
additional_kwargs: { function_call: undefined, tool_calls: undefined }
}
*/

0 comments on commit 6942f10

Please sign in to comment.