pub async fn get_message_with_provider<T>(
provider: Box<dyn LLMProvider + Send + Sync>,
user_prompt: &str,
provider_type: &str,
) -> Result<T>where
T: DeserializeOwned + JsonSchema,
Expand description
Generates a message using the given provider (mainly for testing purposes)