CatchTheTornado / doctor-dok

Doctor Dok is an AI based medical data framework and patient's med vault. Parse any health related PDF/Image to JSON and then use Chat GPT / LLama to discuss it! WARNING: Don't decide on your health based on AI Chat - it's just for Research purposes.
http://doctordok.com
MIT License
56 stars 10 forks source link

[feat] Validate and moderate chat with LLama #207

Open pkarw opened 1 month ago

pkarw commented 1 month ago

To ensure safety standards and make sure the conversation doesn't go out of control we could periodically send the conversation to local LLama prompting for example: "Check if the conversation doesn't contain any potentially harmful suggestions or is not replacing the doctors role; it should be informational only"

Then we can use similar prompt to verify if the diagnosis set in the original documents is in a line with the suggestions and if not to suggest a second opinion or something