Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 4.75 KB

assistantmessage.md

File metadata and controls

11 lines (8 loc) · 4.75 KB

AssistantMessage

Fields

Field Type Required Description
content OptionalNullable[str] N/A
tool_calls List[models.ToolCall] N/A
prefix Optional[bool] Set this to true when adding an assistant message as prefix to condition the model response. The role of the prefix message is to force the model to start its answer by the content of the message.
role Optional[models.AssistantMessageRole] N/A