Skip to content

Commit

Permalink
order should be same
Browse files Browse the repository at this point in the history
  • Loading branch information
sthakur369 committed Mar 5, 2024
1 parent 840d18d commit e3c659f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def add_training_data():

@app.route('/api/v0/generate_followup_questions', methods=['GET'])
@requires_cache(['df', 'question', 'sql'])
def generate_followup_questions(id: str, df, sql, question):
def generate_followup_questions(id: str, df, question, sql):
followup_questions = vn.generate_followup_questions(question=question, sql=sql, df=df)

cache.set(id=id, field='followup_questions', value=followup_questions)
Expand Down

0 comments on commit e3c659f

Please sign in to comment.