Skip to content

whyzhow/Claude-Personal-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude-Personal-AI

Production-ready Claude AI backend using FastAPI, Docker, and GitHub Actions.πŸš€

πŸ“ Project Structure

claude-personql-ai/
β”‚
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ api/
β”‚   β”œβ”€β”€ services/
β”‚   β”‚   β”œβ”€β”€ claude_service.py
β”‚   β”‚   β”œβ”€β”€ embedding_service.py
β”‚   β”‚   β”œβ”€β”€ vector_store.py
β”‚   β”‚   └── rag_pipeline.py
β”‚   β”‚
β”‚   β”œβ”€β”€ knowledge/
β”‚   β”‚   β”œβ”€β”€ loader.py
β”‚   β”‚   └── chunker.py
β”‚   β”‚
β”‚   β”œβ”€β”€ prompts/
β”‚   β”‚   └── rag_prompt.py
β”‚   β”‚
β”‚   └── main.py
β”‚
β”œβ”€β”€ data/                 # ε­˜ζ”ΎηŸ₯θ―†ζ–‡ζ‘£
β”œβ”€β”€ vector_db/            # ζœ¬εœ°ε‘ι‡εΊ“ε­˜ε‚¨
β”œβ”€β”€ scripts/
β”‚   └── ingest.py         # ζž„ε»Ίε‘ι‡εΊ“
β”‚
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ docker-compose.yml
└── README.md

πŸ“¦ Dependencies

fastapi
uvicorn
anthropic
sentence-transformers
faiss-cpu
python-dotenv

πŸš€ Quick Start Guide

1️⃣ Clone Repository

git clone https://github.com/yourname/claude-rag-ai
cd claude-rag-ai

2️⃣ Install Dependencies

pip install -r requirements.txt

3️⃣ Configure Environment

cp .env.example .env

4️⃣ Add Documents

Place your private documents into:
data/

5️⃣ Build Vector Index

python scripts/ingest.py

6️⃣ Run Server

uvicorn app.main:app --reload

πŸ” Security Best Practices

β€’	Never commit .env
β€’	Store API keys in GitHub Secrets
β€’	Validate file uploads
β€’	Protect vector DB access
β€’	Enable HTTPS in production
β€’	Filter prompts against injection attacks

πŸ“š Academic reference

  1. Edward, S. G., Bhattacharya, R., & Sinha, V. (2025). Enterprise Guide for Implementing Generative AI and Agentic AI. Springer. https://link.springer.com/chapter/10.1007/979-8-8688-1603-1
    2. Edward, S. G., Bhattacharya, R., & Sinha, V. (2025). Evaluation and Deployment. Springer. https://link.springer.com/chapter/10.1007/979-8-8688-1603-1_6
    3. Huang, K., & Hughes, C. (2025). Deploying Agentic AI in Enterprise Environments. Springer. https://link.springer.com/chapter/10.1007/978-3-032-02130-4_10
    4. Serafim de Oliveira, M. C. (2025). A Comparative Analysis of LLM-Based Multi-Agent Frameworks. https://www.doria.fi/handle/10024/193122
    5. Sahu, S. K. (2025). Generative AI-Driven Application Development. Springer.
    6. More, P., et al. (2025). Leveraging CI/CD to Operationalize LLM Chatbots. IEEE.
    7. Mittal, A., & Venkatesan, V. (2025). Integration of LLMs into Enterprise CI/CD Pipelines. IEEE.
    8. Xu, R., & Yan, Y. (2026). Agent Skills for Large Language Models. arXiv:2602.12430 https://arxiv.org/abs/2602.12430

About

Production-ready Claude AI backend using FastAPI, Docker, and GitHub Actions.πŸš€

Topics

Resources

Stars

Watchers

Forks

Contributors