Skip to main content

ask_with_database_and_provider

Function ask_with_database_and_provider 

Source
pub fn ask_with_database_and_provider<P: Provider>(
    db: &Database,
    question: &str,
    config: &AskConfig,
    provider: &P,
) -> Result<AskResponse, AskError>
Expand description

Lower-level entry taking &Database and a provider. Canonical inner function — the others reduce to this one.