Skip to main content

tool_call_output_message

Function tool_call_output_message 

Source
fn tool_call_output_message(
    conversation_id: Uuid,
    tool_call: ChatbotConversationMessageToolCall,
    output: String,
    client_answer: Option<Value>,
) -> ChatbotConversationMessage
Expand description

The output message that answers tool_call, inheriting the kind and the response id of the call. An output we author has no Azure response of its own, and inventing an id would collide with the citation re-pointing that matches on response_id.