Meng-V / smartchatbot

3 stars 1 forks source link

Error Handling : a proper response back when backend crashes. #45

Closed Aayog closed 8 months ago

dominhnhut01 commented 1 year ago

Error Handling Checklist. Check when done

Aayog commented 1 year ago

I think we should create a Menu classifer, instead of like an error handling to the Live agent classifier. So, we can trigger it if there's an error, but also if the user asks something like "What can you help me with?" or "What services do you provide?"

We can then start the conversation by triggering this Menu also, and whenever there's an error we can re-prompt this menu to the User.

Aayog commented 1 year ago

Not sure if its an error we can fix.. or we need to add more training keywords to the Cohere classifier, but when searching for an article it used the Googlesite search and not EBSCO.

Image

My input: "i'm researching in CS about Multi plane images in computer vision, help me find relevant articles"

dominhnhut01 commented 1 year ago

You can add more example in the file classifier_example.json.