diff --git a/python-package/README.md b/python-package/README.md index aaa08e3de..e3e6b4c83 100644 --- a/python-package/README.md +++ b/python-package/README.md @@ -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 @@ -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) ) ``` @@ -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. \ No newline at end of file +See the `examples/` directory for more complete examples.