eaglelandsonce commited on
Commit
27e4ecc
·
verified ·
1 Parent(s): c08c651

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -152,8 +152,14 @@ def crewai_process(research_topic):
152
  )
153
 
154
  task4 = Task(
155
- description=f"""From {research_topic} analyze groundedness, hallucination and give the HIN number which is groundedness times hallucination. For groundedness: If a sensor is not working give it a 0, if a sensor is working give it a 1, if a sensor needs to be tunend is partially working give it a .5. Add up the numbers and divide by the total number of sensors. For hallucination: If sensor is not working give it a 0, if a sensor is working give it a 1, if sensor needs to be tuned give or is partially working give it a .2 Add up the numbers and divide by the total number of sensors. Calculate HIN which is groundedness times halluciation. Use Anthropic and Gemini to propose other sensors needed or fixes to sensors. BE VERBOSE.""",
156
- expected_output='HIN, Total Groundedness, Total Hallucination and suggestion on how to fix sensors and what new sensors need to be added',
 
 
 
 
 
 
157
  agent=HINAnalyst,
158
  )
159
 
 
152
  )
153
 
154
  task4 = Task(
155
+ description=f"""From {research_topic} analyze groundedness, hallucination and give the HIN number
156
+ which is groundedness times hallucination. For groundedness score: If a sensor is not working give
157
+ it a 0, if a sensor is working give it a 1, if a sensor needs to be tunend is partially working give
158
+ it a .5. Add up the numbers and divide by the total number of sensors. For hallucination score:
159
+ If sensor is not working give it a 0, if a sensor is working give it a 1, if sensor needs to be tuned
160
+ give or is partially working give it a .2 Add up the numbers and divide by the total number of sensors.
161
+ Calculate HIN score: which is groundedness score times halluciation score. Use Anthropic and Gemini to propose other sensors needed or fixes to sensors. BE VERBOSE.""",
162
+ expected_output='HIN score, Groundedness score, Hallucination score and suggestion on how to fix sensors and what new sensors need to be added to alleviate described issues',
163
  agent=HINAnalyst,
164
  )
165