Have you ever come across the thin piece of folded paper that is part of every drug prescription box. Usually the text is in very small print and typically provides information about dosages, side effects, storage instructions and much more. They are hard to read and understand and requires some effort to get answers to common questions that you as a patient might have.
Create a product that answers these questions and actually makes the medical information more accessible and easier to understand - enter PillPal💊
A Retrieval Augmented Generation (RAG) based chatbot that answers questions based on the PDF document.
python -V
# Output: Python 3.12.1
# create a environment named -> samba-ai
python -m venv samba-ai
# activate the environment
source samba-ai/bin/activate
# deactivate the virtual environment
deactivate
# create a Jupyter Notebook kernel
pip install jupyter ipykernel
# add the virtual environment as a kernel for the jupyter notebook
python -m ipykernel install --user --name=samba-ai --display-name="Py3.12-samba-ai"
# verify kernel installation
jupyter kernelspec list
jupyter kernelspec uninstall samba-ai
- Model ID:
Meta-Llama-3.2-3B-Instruct
- Developed by:
META
- Model Card
- LlamaIndex Docs
- Model ID:
jina-embeddings-v3
- Developed by:
JINA AI
- Max Input Tokens:
8192
- Max Output Dimensions:
1024
- Model Card
- LlamaIndex Docs
- Model ID:
jina-reranker-v2-base-multilingual
- Model Size:
278 M
- Developed by:
JINA AI
- Model Card
- LlamaIndex Docs
- Model ID:
llama-guard-3-8b
- Developed by:
META
- Context Window:
8,192 tokens
- Model Card
- Groq Docs
Ideal Chunk Size of a RAG System
export PYTHONPATH=$(pwd)
gradio frontend/app.py --demo-name=pillpal_bot