Skip to content
Closed
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
12 changes: 3 additions & 9 deletions python-package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Imagine typing questions like these directly into your Shiny dashboard, and seei
## Installation

```bash
pip install "querychat @ git+https://github.com/posit-dev/querychat?subdirectory=python-package"
pip install "querychat @ git+https://github.com/posit-dev/querychat#subdirectory=python-package"
```

## How to use
Expand Down Expand Up @@ -93,15 +93,9 @@ You can configure which LLM provider to use through chatlas:
```python
import chatlas

my_chat_func = lambda system: chatlas.Chat(
provider="anthropic",
model="claude-3-5-sonnet",
system=system
)

querychat_config = querychat.init(
df=my_dataframe,
create_chat_func=my_chat_func
create_chat_func=lambda x: chatlas.ChatAnthropic(system_prompt=x)
)
```

Expand All @@ -115,4 +109,4 @@ querychat works by:
4. Processing natural language to SQL queries
5. Returning filtered data to your Shiny app

See the `examples/` directory for more complete examples.
See the `examples/` directory for more complete examples.