diff --git a/docs/reference/nl_responder.md b/docs/reference/nl_responder.md index 4a2ee080..dd5f1445 100644 --- a/docs/reference/nl_responder.md +++ b/docs/reference/nl_responder.md @@ -27,6 +27,6 @@ Otherwise, a response is generated using a `nl_responder_prompt_template`. ::: dbally.nl_responder.nl_responder.NLResponder -::: dbally.data_models.prompts.iql_explainer_prompt_template.default_iql_explainer_template +::: dbally.data_models.prompts.query_explainer_prompt_template ::: dbally.data_models.prompts.nl_responder_prompt_template.default_nl_responder_template diff --git a/docs/reference/views/index.md b/docs/reference/views/index.md index c0360494..4e6910e3 100644 --- a/docs/reference/views/index.md +++ b/docs/reference/views/index.md @@ -4,11 +4,11 @@ * To understand the general idea better, visit [Views concept page](../../concepts/views.md). * To learn how to support custom data sources, visit [How-to: create your custom view page](../../how-to/custom_views.md) -::: dbally.views.base.BaseStructuredView +::: dbally.views.structured.BaseStructuredView -::: dbally.views.base.ExposedFunction +::: dbally.views.exposed_functions.ExposedFunction -::: dbally.views.base.MethodParamWithTyping +::: dbally.views.exposed_functions.MethodParamWithTyping ::: dbally.views.methods_base.MethodsBaseView diff --git a/src/dbally/nl_responder/nl_responder.py b/src/dbally/nl_responder/nl_responder.py index 7cec3cd9..90524bb0 100644 --- a/src/dbally/nl_responder/nl_responder.py +++ b/src/dbally/nl_responder/nl_responder.py @@ -34,7 +34,7 @@ def __init__( Args: llm_client: LLM client used to generate natural language response query_explainer_prompt_template: template for the prompt used to generate the iql explanation\ - if not set defaults to `default_iql_explainer_template` + if not set defaults to `default_query_explainer_template` nl_responder_prompt_template: template for the prompt used to generate the NL response\ if not set defaults to `nl_responder_prompt_template` max_tokens_count: maximum number of tokens that can be used in the prompt