support-pvelocity commited on
Commit
c718614
·
1 Parent(s): 7b763f7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -65,7 +65,7 @@ question = 'Find the salesperson who made the most sales.'
65
  prompt = f"[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: {table} Question: {question} [/INST] Here is the SQLite query to answer to the question: {question}: ``` "
66
 
67
  output = model(prompt)
68
- output = output.split('```')[2]
69
  print(output)
70
  ```
71
 
 
65
  prompt = f"[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: {table} Question: {question} [/INST] Here is the SQLite query to answer to the question: {question}: ``` "
66
 
67
  output = model(prompt)
68
+ output = output.split('```')[0]
69
  print(output)
70
  ```
71