victor7246 commited on
Commit
96f2e73
·
verified ·
1 Parent(s): 914fcbb

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +3 -1
utils.py CHANGED
@@ -123,7 +123,9 @@ def extract_table_name(llm, query):
123
 
124
  def extract_question_list(llm, query):
125
  sys_prompt = """You are an AI assistant that determines if multiple questions are stacked in a single question and split the question into sub questions and return a list of them. Make sure the response is a valid Python list.
126
- If the question is a single question and return the original question."""
 
 
127
 
128
  messages = [
129
  (
 
123
 
124
  def extract_question_list(llm, query):
125
  sys_prompt = """You are an AI assistant that determines if multiple questions are stacked in a single question and split the question into sub questions and return a list of them. Make sure the response is a valid Python list.
126
+ If the question is a single question and return the original question.
127
+
128
+ Please do not add any additional text, only return the final response."""
129
 
130
  messages = [
131
  (