metadata
title: YourAI - LightRAG Powered
emoji: π₯
colorFrom: red
colorTo: yellow
sdk: docker
pinned: false
license: mit
app_port: 7860
YourAI - LightRAG Powered
A sophisticated AI assistant powered by LightRAG (Retrieval-Augmented Generation) with conversation memory and custom AI creation capabilities.
Features
π₯ Fire Safety AI - Specialized AI for fire safety regulations and codes π€ General AI - General-purpose conversational AI with memory π οΈ Custom AI Builder - Create your own AI with uploaded knowledge π¬ Conversation Memory - Maintains context within conversations π Knowledge Management - Advanced GraphRAG for better information retrieval
How to Use
- Chat with Fire Safety AI - Ask questions about fire safety regulations
- General Chat - Have conversations with context awareness
- Create Custom AI - Upload documents to create specialized AI assistants
- Manage Conversations - View and manage your chat history
Technology Stack
- LightRAG: Advanced retrieval-augmented generation
- Cloudflare Workers AI: LLM and embedding models
- FastAPI: High-performance API framework
- NetworkX: Graph storage for knowledge relationships
- NanoVectorDB: Vector storage for embeddings
API Endpoints
POST /chat/fire-safety- Chat with fire safety AIPOST /chat/general- General conversationPOST /chat/custom/{ai_id}- Chat with custom AIPOST /create-custom-ai- Create custom AIPOST /upload- Upload knowledge filesGET /conversations- Get user conversations
Models Used
- LLM:
@cf/meta/llama-3.2-3b-instruct - Embedding:
@cf/baai/bge-m3
License
MIT License - Feel free to use and modify!