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
46 stars 8 forks source link

[feat] Optimize context sending by using vector database #98

Open pkarw opened 2 months ago

pkarw commented 2 months ago

Right now we're sending all records to chatgpt to have full context - and it's super token consuming. Would be way better to dynamically send only those records which are relevant to current chat query

pkarw commented 2 months ago

https://github.com/nitaiaharoni1/vector-storage