Skip to main content

encode_response_with_model

Function encode_response_with_model 

Source
pub fn encode_response_with_model(
    wire: Wire,
    events: &[IrStreamEvent],
    model: &str,
) -> Result<Value, MapError>
Expand description

Same as encode_response, with dest model for Chat, Messages, Gemini, and Responses.