Skip to main content

parse_response

Function parse_response 

Source
pub fn parse_response(body: &Value) -> Result<Message>
Expand description

Extract the first choice’s message from a chat-completions response body.