Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: small docs issues #19

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/nl_responder.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions docs/reference/views/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/dbally/nl_responder/nl_responder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading