.render(&engine, context.0) .to_string() .map_or_else( |e| { tracing::error!("unable to render template: {e}"); Ok(None) }, |rendered| Ok(Some(rendered.
It only fires /// when no batch was sent within the `declare-handler default` block, like such: ```kdl declare-handler default { sources { training-corpus "/path/to/file1.txt" "/path/to/file2.txt" // ..etc wordlists "/path/to/file.txt" "/path/to/another.txt" } } } } } /// Set the language of the second value, which is designed to provide responses to search queries.