Skip to content

yuki-2025/Ai-hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Hackathon 2024 @ UChicago DSI – 2nd Place

Ai-hackathon for Uchicago DSI

We built Genesis.AI, a retrieval-augmented chatbot that securely accesses patient records and answers general medical questions. To enable a seamless, end-to-end medical Q&A chatbot using entirely open-source tools. Our stack includes:

  • LangChain for orchestration
  • PostgreSQL (with vector embeddings) as both relational and vector databases
  • Streamlit for the front-end
  • Google Cloud Vertex AI to host and fine-tune Llama 3-8B

Key innovations:

  1. Dynamic SQL Generation
    • Fine-tuned Llama 3-8B to translate natural-language medical queries into SQL on the fly.
    • Executes those SQL queries against patient tables and metadata.
  2. Vector Retrieval
    • Indexes medical reports in PostgreSQL’s vector store.
    • Uses the same SQL-driven pipeline to retrieve relevant unstructured data.
  3. Accurate Response Generation
    • Further fine-tuned Llama 3-8B to synthesize structured and vector-retrieved information into precise, context-aware answers.

image

Demo:

Video_2024-07-07_222911

Video_2024-07-07_223634

WhatsApp-Video-2024-07-07-at-11 50 22-PM

WhatsApp-Video-2024-07-07-at-11 50 24-PM

About

AI Hackathon 2024 @ UChicago DSI – 2nd Place

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages