SSWConsulting / SSW.SophieBot

Business grade bots that empower you on enterprise data searching and entering using advanced artificial intelligence.
https://sswsophie.com/sophiebot/
MIT License
6 stars 3 forks source link

🐛 Fix UniFi related queries #664

Closed AttackOnMorty closed 6 months ago

AttackOnMorty commented 10 months ago

Hi team,

Based on the email chain:

From: @GordonBeeming Date: Tuesday, 16 January 2024 at 16:36 To: @AttackOnMorty Cc: @adamcogan, @jimmidier, @william-liebenberg Subject: Sophie Bot - Seems to be broken at the moment

Describe the Bug

The two queries below are not working.

Tasks

Acceptance Criteria

Screenshots

Image Figure: Should return people works in Brisbane

Image Figure: Should return people in the office today

Thanks!

AttackOnMorty commented 6 months ago

✅ Done

For the query - "who is in the Brisbane office?", the bug is being fixed.

Image

For the query - "who is in the Brisbane office now?", it does query the data with data range. The problem is the response message for no one is found. With "at this time", it seems to check if people are in the office now.

So I changed the response message to reduce misunderstanding.

From

I couldn't find anyone in the Brisbane office at this time.

To

I couldn't find anyone in the Brisbane office.

Image Figure: Enhanced message when no one is found

Image Figure: Response is correct if people exist