davidberenstein1957 HF staff commited on
Commit
65b5961
·
1 Parent(s): bde0dbe

feat: update system prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def query_dataset(hub_repo_id, features, query):
49
  messages = [
50
  {
51
  "role": "system",
52
- "content": "You are a helpful assistant that returns a DuckDB SQL query based on the user's query and dataset features. Only return the SQL query, no other text.",
53
  },
54
  {
55
  "role": "user",
 
49
  messages = [
50
  {
51
  "role": "system",
52
+ "content": "You are a helpful assistant that returns a DuckDB SQL query based on the user's query and dataset features. You might need to use DuckDB functions for lists and aggregations, given the features. Only return the SQL query, no other text.",
53
  },
54
  {
55
  "role": "user",