cyberandy commited on
Commit
95b17ab
1 Parent(s): 2ea4fdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def sentiment_analysis(text):
72
  # Advanced Analysis
73
  # ---------------------------------------------------------------------------- #
74
 
75
- def advanced_analysis(query, response_message):
76
  analysis_prompt = f"Analyze the question of the user '{query}', analyze the response '{response_message}' and provide a JSON that includes: the user's intent, up to four follow-up questions, the entities in the response."
77
  analysis_response = ai.prompt(message=analysis_prompt)
78
  return analysis_response
 
72
  # Advanced Analysis
73
  # ---------------------------------------------------------------------------- #
74
 
75
+ def advanced_analysis(query, response_message):
76
  analysis_prompt = f"Analyze the question of the user '{query}', analyze the response '{response_message}' and provide a JSON that includes: the user's intent, up to four follow-up questions, the entities in the response."
77
  analysis_response = ai.prompt(message=analysis_prompt)
78
  return analysis_response