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