Skip to content

Commit

Permalink
feat: encourage ai to explain query
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 4, 2024
1 parent 0eca7d6 commit 95c5a85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/wasm-binding/src/rpc_proto_prompt_functions_generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ Additional metadata for {{ reference.model_name }}:
{% endfor %}
Provide the SQL query that would retrieve the data based on the natural language request. The SQL query should be valid for the database type {{ database_type }}.
Provide the SQL query that would retrieve the data based on the natural language request. In addition to generating the SQL code,
please provide a brief explanation of the query. The SQL query should be valid for the database type {{ database_type }}.
The provided tables are available in the `q.` schema. To access tehm use the `q.` prefix, for example `q.table_name`.
A few general rules about the SQL queries you generate:
Expand Down

0 comments on commit 95c5a85

Please sign in to comment.