Skip to content

Commit 150e550

Browse files
committed
fix for github actions
1 parent 9e53ca3 commit 150e550

File tree

5 files changed

+7
-56
lines changed

5 files changed

+7
-56
lines changed

pkg-py/src/querychat/querychat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from dataclasses import dataclass
66
from functools import partial
77
from pathlib import Path
8-
from typing import TYPE_CHECKING, Any, Callable, Protocol, Union, Optional
8+
from typing import TYPE_CHECKING, Any, Callable, Optional, Protocol, Union
99

1010
import chatlas
1111
import chevron

pkg-py/tests/test_datasource.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
def test_db_engine():
1212
"""Create a temporary SQLite database with test data."""
1313
# Create temporary database file
14-
temp_db = tempfile.NamedTemporaryFile(delete=False, suffix=".db") #noqa: SIM115
14+
temp_db = tempfile.NamedTemporaryFile(delete=False, suffix=".db") # noqa: SIM115
1515
temp_db.close()
1616

1717
# Connect and create test table with various data types
@@ -103,7 +103,7 @@ def test_get_schema_categorical_values(test_db_engine):
103103
# Category column should be treated as categorical (3 unique values: A, B, C)
104104
assert "- category (TEXT)" in schema
105105
assert "Categorical values:" in schema
106-
assert "'A'" in schema and "'B'" in schema and "'C'" in schema #noqa: PT018
106+
assert "'A'" in schema and "'B'" in schema and "'C'" in schema # noqa: PT018
107107

108108

109109
def test_get_schema_non_categorical_text(test_db_engine):

pkg-r/R/querychat.R

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,9 @@
1010
#' @param greeting A string in Markdown format, containing the initial message
1111
#' to display to the user upon first loading the chatbot. If not provided, the
1212
#' LLM will be invoked at the start of the conversation to generate one.
13-
#' @param ... Additional arguments passed to the `querychat_system_prompt()`
14-
#' function, such as `categorical_threshold`. If a
15-
#' `system_prompt` argument is provided, the `...` arguments will be silently
16-
#' ignored.
17-
#' @inheritParams querychat_system_prompt
1813
#' @param system_prompt A string containing the system prompt for the chat model.
19-
#' The default uses `create_system_prompt()` to generate a generic prompt,
20-
#' which you can enhance via the `data_description` and `extra_instructions`
14+
#' The default generates a generic prompt, which you can enhance via the `data_description` and
15+
#' `extra_instructions`
2116
#' arguments.
2217
#' @param auto_close_data_source Should the data source connection be automatically
2318
#' closed when the shiny app stops? Defaults to TRUE.

pkg-r/man/df_to_schema.Rd

Lines changed: 0 additions & 29 deletions
This file was deleted.

pkg-r/man/querychat_init.Rd

Lines changed: 2 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)