Skip to main content

Module conversation

Module conversation 

Source
Expand description

A conversation with the model, kept in the Messages shape it is sent in.

The messages are kept exactly as the API reads them, so sending the conversation is writing it out and nothing is translated on the way. What the screen shows is read from the same messages.

Structs§

Call
A tool call the model made.
Conversation
The messages of one conversation.

Functions§

blocks
The blocks of message.
result
A tool_result block for the call id.