End‑to‑end chatbot solution for Microsoft Copilot Studio with FastAPI, Azure OpenAI (GPT‑4o mini), Azure Cosmos DB vector search, and Azure Blob Storage. Includes secure REST APIs, retrieval‑augmented generation (RAG), adaptive cards, and deployment via Docker/Jenkins.
-
RAG pipeline: chunking, embeddings, vector search on Azure Cosmos DB for NoSQL
-
File ingestion: PDF upload to Azure Blob Storage with metadata
-
Chat service: FastAPI endpoints for chat, history, and file upload
-
Models: Azure OpenAI GPT‑4o mini (chat) + text-embedding-3-large (embeddings)
-
Copilot Studio integration: topics for intent routing, and citation rendering
-
Security: JWT auth, CORS, API key optional, request logging, rate‑limit hooks
-
DevOps: Docker image, Jenkins pipeline (Optional)
- Azure Subscription with access to Azure OpenAI, Azure Cosmos DB, and Azure Blob Storage
- Copilot Studio access
- Python installation (3.8+)
- Azure Virtual Machine - Ubuntu Server
- In progress ...
-
Create and activiate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Run the FastAPI app:
python app.py
-
Access the API at
http://localhost:8001.
MIT License. See LICENSE file for details.