From the uDemy course on LLM engineering.
https://www.udemy.com/course/llm-engineering-master-ai-and-large-language-models
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 months ago | |
---|---|---|
.. | ||
knowledge_base/mtsample_dictations | 3 months ago | |
README.md | 3 months ago | |
img.png | 3 months ago | |
run_rag_chat.py | 3 months ago | |
utils.py | 3 months ago |
README.md
Overview
This uses de-identified medical dictation data supplied by mtsamples. The data from the mtsamples website was download from kaggle. There are four sample notes in different directories (see knowledge_base/mtsamples_dictations) that will added to a chromaDb vector database and will be available during chat using RAG (Retrieval Augmented Generation).
How to run
- Run example
conda activate <your_environment>
cd <your_directory_where_script_lives>
python run_rag_chat.py
Chat example
Questions to ask?
- How old is Ms. Connor?
- What are Ms. Connor's vital signs?
- How old is Ms. Mouse?
- What is Ms. Mouse concerned about?
- What are Ms. Mouse's vital signs?
- How old is Mr. Duck?
- Why did Mr. Duck go to the doctor?
- How old is Ms. Barbara?
- Why did Ms. Barbara go to the doctor?
- Is Ms. Barbara allergic to anything?