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 what is saved is what was said. What a request sends is a view of them: a long conversation goes out trimmed to a size, with a note standing in where something was left out. Nothing kept is translated on the way.

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.