med.ai

Inspiration

We got the inspiration from the challenge of KI group, which wasn't full, but we fully defined in our own scope.

What it does

It is a multi-agent chatbot, built on top of chatGPT, who takes some question about healthcare or some medicine etc. while possibly being able to upload its medical history and get close-to-expert answer.

How we built it

From the software perspective we build Front-end of a chatbot and Back-end with several endpoints. From AI perspective we built a multi-agent system with 3 models and altogether 8 pre-trained or pre-prompted chatGPT models. It consists of

  1. Donatello: main creative model, which has three to five agents inside of it: * First is looking for the information in the RAG database and if the haven't found anything than the second one is doing general reasoning and is the main source of LLM hallucination inside of Donatello * Then from one to three others they do some expertise check and reduce hallucination.
  2. Leonardo: model which hallucination check according to recently developed FactSelfCheck, which is ran on knowledge graphs and sampling, with feedback loop to Donatello, which is prompted to regenerate in case it hallucinates
    ## Challenges we ran into
  3. hallucinations of the model
  4. knowledge graph creation and kg-fusion
  5. multi-agent communication orchestration
  6. optimization of the execution time of each part of the model
  7. uploading and processing pdf by the openai model
  8. showing status message on the front-end side ## Accomplishments that we're proud of
  9. we trained very complex multi-agent system with knowledge graphs and fact checking
  10. we created decent front-end - back-end infrastructure ## What we learned
  11. how to build multi-agent systems
  12. how to extensively interact with openai API

What's next for med.AI

  • Development and technological growths

Built With

Share this project:

Updates