Skip to main content

build_chat_messages

Function build_chat_messages 

Source
pub fn build_chat_messages(sys: &str, user: &str) -> Vec<Value>
Expand description

Build OpenAI-compatible chat messages from optional system and required user strings.