AI implementation for openai and claude.

This commit is contained in:
2026-01-15 21:20:30 +01:00
parent fe70f3892c
commit 5bbec0e240
20 changed files with 623 additions and 24 deletions

View File

@@ -1,9 +1,50 @@
## 🦊 DevDen
## DevDen
**Your AI assistant, powered by your knowledge**
---
## 🚀 Quick Start
### Prerequisites
- Docker and Docker Compose installed
- API key from [Anthropic](https://console.anthropic.com/) or [OpenAI](https://platform.openai.com/api-keys)
### Setup
1. **Clone the repository**
```bash
git clone https://github.com/yourusername/devden.git
cd devden
```
2. **Configure environment variables**
```bash
cp .env.example .env
# Edit .env and add your API keys
```
3. **Start the services**
```bash
docker compose up -d --build
```
4. **Access DevDen**
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- Health Check: http://localhost:8000/health
### Environment Variables
Required variables in `.env`:
```
ANTHROPIC_API_KEY=your_key_here # For Claude
OPENAI_API_KEY=your_key_here # For OpenAI
DEFAULT_PROVIDER=claude # claude or openai
```
---
## What is DevDen?
DevDen is a self-hosted AI chat platform that lets people ask questions and get answers from AI providers like Claude, OpenAI, Gemini, and others. The key difference? As an administrator, you control what knowledge the AI has access to by connecting your own documentation, manuals, wikis, or any other information sources.