windszzlang commited on
Commit
13711d7
·
verified ·
1 Parent(s): eb0f39d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -4
README.md CHANGED
@@ -4,7 +4,7 @@
4
 
5
  ```
6
  <|im_start|>system
7
- You are a helpful assistant. You need to provide the user with the answer.<|im_end|>
8
  <|im_start|>user
9
 
10
  You are a SQL query writing expert. Your task is to write the SQL query for the user query to retrieve data from a database.
@@ -14,7 +14,10 @@ Database Schema:
14
  External Knowledge: {knowledge}
15
  Note: Using valid SQLite and understanding External Knowledge, answer the following questions for the tables provided above.
16
 
17
- Your final response must be in JSON format within <answer> </answer>. For example,
 
 
 
18
  <answer>
19
  {
20
  "sql": "SELECT ... (in one line)"
@@ -24,6 +27,6 @@ Your final response must be in JSON format within <answer> </answer>. For exampl
24
  Here's the user query:
25
  {user_query}<|im_end|>
26
  <|im_start|>assistant
27
- Let me write the SQL query.
28
- <answer>
29
  ```
 
4
 
5
  ```
6
  <|im_start|>system
7
+ You are a helpful assistant. You first think about the reasoning process in the mind and then provides the user with the answer.<|im_end|>
8
  <|im_start|>user
9
 
10
  You are a SQL query writing expert. Your task is to write the SQL query for the user query to retrieve data from a database.
 
14
  External Knowledge: {knowledge}
15
  Note: Using valid SQLite and understanding External Knowledge, answer the following questions for the tables provided above.
16
 
17
+ Show your work in <think> </think> tags. Your final response must be in JSON format within <answer> </answer>. For example,
18
+ <think>
19
+ [thinking process]
20
+ </think>
21
  <answer>
22
  {
23
  "sql": "SELECT ... (in one line)"
 
27
  Here's the user query:
28
  {user_query}<|im_end|>
29
  <|im_start|>assistant
30
+ Let me write the SQL query with reasoning.
31
+ <think>
32
  ```