Skip to main content

chat_request

Function chat_request 

Source
pub fn chat_request(model: &str, body: &Value) -> Value
Expand description

A Jev request as one chat completion: the state and the questions in the user turn, the answer shape in the system turn, JSON mode on.