Skip to main content

call_openai_model

Function call_openai_model 

Source
pub async fn call_openai_model(
    endpoint: &str,
    model: &str,
    prompt: &str,
) -> Result<String, Error>