You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg-py/docs/index.qmd
+5-15Lines changed: 5 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -138,7 +138,7 @@ This dataset contains information about Titanic passengers, collected for predic
138
138
which you can then pass via:
139
139
140
140
```python
141
-
querychat_config= querychat.init(
141
+
qc_config= querychat.init(
142
142
titanic,
143
143
"titanic",
144
144
data_description=Path("data_description.md")
@@ -152,7 +152,7 @@ querychat doesn't need this information in any particular format; just put whate
152
152
You can add additional instructions of your own to the end of the system prompt, by passing `extra_instructions` into `querychat.init`.
153
153
154
154
```python
155
-
querychat_config= querychat.init(
155
+
qc_config= querychat.init(
156
156
titanic,
157
157
"titanic",
158
158
extra_instructions=[
@@ -172,23 +172,13 @@ You can also put these instructions in a separate file and use `Path("instructio
172
172
By default, querychat uses GPT-4o via the OpenAI API. If you want to use a different model, you can provide a `create_chat_callback` function that takes a `system_prompt` parameter, and returns a chatlas Chat object:
0 commit comments