├── .env.sample ├── .gitignore ├── README.md ├── ai_makerspace.ipynb ├── aimakerspace ├── __init__.py ├── openai_utils │ ├── __init__.py │ ├── chatmodel.py │ ├── embedding.py │ └── prompts.py ├── text_utils.py └── vectordatabase.py ├── data └── KingLear.txt ├── images ├── docchain_img.png ├── raqaapp_img.png └── texsplitter_img.png └── requirements.txt /.env.sample: -------------------------------------------------------------------------------- 1 | OPENAI_API_KEY=sk-... -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | __pycache__/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/README.md -------------------------------------------------------------------------------- /ai_makerspace.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/ai_makerspace.ipynb -------------------------------------------------------------------------------- /aimakerspace/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aimakerspace/openai_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aimakerspace/openai_utils/chatmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/aimakerspace/openai_utils/chatmodel.py -------------------------------------------------------------------------------- /aimakerspace/openai_utils/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/aimakerspace/openai_utils/embedding.py -------------------------------------------------------------------------------- /aimakerspace/openai_utils/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/aimakerspace/openai_utils/prompts.py -------------------------------------------------------------------------------- /aimakerspace/text_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/aimakerspace/text_utils.py -------------------------------------------------------------------------------- /aimakerspace/vectordatabase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/aimakerspace/vectordatabase.py -------------------------------------------------------------------------------- /data/KingLear.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/data/KingLear.txt -------------------------------------------------------------------------------- /images/docchain_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/images/docchain_img.png -------------------------------------------------------------------------------- /images/raqaapp_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/images/raqaapp_img.png -------------------------------------------------------------------------------- /images/texsplitter_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/images/texsplitter_img.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI-Maker-Space/Build-Your-Own-RAG-System/HEAD/requirements.txt --------------------------------------------------------------------------------