Ch02:- Obstacles while creating chatbot
Making a chatbot 1)First of all, We have build a dummy database of medical summary in MySql. 2) We have then connected that MySQL server to the Flask server which we have build. 3) In the 3rd step , we have passed this data to the genai . 4)The genai is able to processed this data and can return it as json format (Because we asked this in prompt that we want this in json format). 5) But when we asked about our age or something like that related to medical test dataset. It's response is like we can't disobey the medical standard guidelines . It is coming something like this:- Completion(candidates=[], result=None, filters=[{'reason': <BlockedReason.SAFETY: 1>}], safety_feedback=[{'rating': {'category': <HarmCategory.HARM_CATEGORY_MEDICAL: 5>, ...