pub async fn get_message<T>(
config: &Config,
provider_name: &str,
system_prompt: &str,
user_prompt: &str,
) -> Result<T>where
T: DeserializeOwned + JsonSchema,
Expand description
Generates a message using the given configuration