Spaces:
Sleeping
Sleeping
Placebo Deploy commited on
Commit ·
2e7cd2a
1
Parent(s): 9442f5a
Update README with Cloud Architecture details
Browse files123456789101112---title: Placebo AIemoji: 🏥colorFrom: bluecolorTo: indigosdk: dockerpinned: falseapp_port: 7860---# Placebo AIThis is the Placebo AI chatbot deployed on Hugging Face Spaces.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253# Placebo AI - Medical Intelligence PlatformPlacebo AI is a high-performance, cloud-native medical artificial intelligence platform. It provides instant, medically grounded answers utilizing a massive database of over 1.3 million medical text vectors, powered by a completely serverless and lightweight architecture.## 🚀 Cloud-Native ArchitectureThis project was recently migrated from a heavy local-dataset architecture to a **100% Serverless Cloud-Native infrastructure**, ensuring zero memory crashes (OOM) and lightning-fast global deployments.- **Vector Database:** [DataStax Astra DB](https://astra.datastax.com/) (Serverless Cloud Vector Search)- **LLM Inference Engine:** [Groq](https://groq.com/) (Llama-3.1-8b-instant for hyper-fast token generation)- **Asset Storage:** [HuggingFace Datasets](https://huggingface.co/) (Serverless Image & Document retrieval)- **Backend Framework:** FastAPI (Python)- **Authentication:** Supabase Auth## ⚡ Key Features- **Zero Local Footprint:** The 17GB vector database and 88GB image database have been entirely offloaded to Astra DB and HuggingFace. The application requires virtually zero local disk space to run.- **Lightning Fast:** Uses Groq's LPU architecture to stream LLM responses instantly.- **Dynamic Frontend:** A beautiful, responsive, clinical UI built with modern CSS animations and glassmorphism.## 🛠️ Installation & Setup1. **Clone the repository:**```bashgit clone https://github.com/labstrinetra/placebo.ai.gitcd placebo.ai```2. **Install dependencies:**```bashpip install -r requirements.txt```3. **Set Environment Variables:**Create a `.env` file and add your credentials:```envGROQ_API_KEY=your_groq_api_keyASTRA_DB_API_ENDPOINT=your_astra_endpointASTRA_DB_APPLICATION_TOKEN=your_astra_tokenSUPABASE_URL=your_supabase_urlSUPABASE_ANON_KEY=your_supabase_key```4. **Run the Application:**```bashpython src/app.py```The application will be available at `http://localhost:8000`## 📦 DeploymentBecause Placebo AI is completely serverless, you can deploy this exact repository directly to free platforms like **Render**, **Railway**, or **Heroku** without worrying about disk space or RAM limitations.---*Developed by Trinetra Labs*
README.md+52-11