Sidreds06 commited on
Commit
18569f1
Β·
1 Parent(s): a3c7b61

Docker & Readme

Browse files
Files changed (2) hide show
  1. Dockerfile +27 -0
  2. README.md +35 -27
Dockerfile ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use Python 3.10 slim image as base
2
+ FROM python:3.10-slim
3
+
4
+ # Install system dependencies
5
+ RUN apt-get update && \
6
+ apt-get install -y --no-install-recommends \
7
+ ffmpeg \
8
+ git \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ # Set working directory
12
+ WORKDIR /code
13
+
14
+ # Copy requirements file
15
+ COPY requirements.txt .
16
+
17
+ # Install Python dependencies
18
+ RUN pip install --no-cache-dir -r requirements.txt
19
+
20
+ # Copy all application code
21
+ COPY . .
22
+
23
+ # Expose the port
24
+ EXPOSE 7860
25
+
26
+ # Run the FastAPI server
27
+ CMD ["python", "server.py"]
README.md CHANGED
@@ -1,27 +1,35 @@
1
- # Steps to run the python server
2
-
3
- # Create and activate a virtual environment
4
- # On Windows PowerShell (Inside the agent-server-python directory):
5
-
6
- python -m venv venv
7
-
8
- .\venv\Scripts\Activate
9
-
10
- # On macOS/Linux:
11
-
12
- python3 -m venv venv
13
-
14
- source venv/bin/activate
15
-
16
- # Install requirements
17
-
18
- pip install -r requirements.txt
19
-
20
- # Create a .env file and add your API keys (edit with your editor of choice)
21
-
22
- echo OPENAI_API_KEY=your_openai_key_here > .env
23
-
24
- echo DEEPSEEK_API_KEY=your_deepseek_key_here >> .env
25
-
26
- # Run the server
27
- python server.py
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Tabi AI Agent Server
3
+ emoji: 🌱
4
+ colorFrom: green
5
+ colorTo: blue
6
+ sdk: docker
7
+ app_port: 7860
8
+ pinned: false
9
+ license: mit
10
+ ---
11
+
12
+ # Tabi - AI Wellness Assistant Server
13
+
14
+ A FastAPI-based voice and text chat server for the Tabi wellness assistant. This server provides personalized wellness guidance across multiple domains through both text and voice interactions.
15
+
16
+ ## 🌟 Features
17
+
18
+ - **Voice Chat**: Real-time speech-to-text and text-to-speech processing
19
+ - **Text Chat**: Traditional text-based conversations
20
+ - **Multi-Domain Routing**: Intelligent routing to specialized wellness areas:
21
+ - Mental health and stress management
22
+ - Physical fitness and nutrition
23
+ - Financial wellness
24
+ - Vocational/career guidance
25
+ - Social relationships
26
+ - Spiritual wellness
27
+ - Environmental health
28
+ - Intellectual development
29
+ - **Personalized Responses**: Context-aware responses based on user profiles and history
30
+ - **Smart Caching**: Optimized performance with intelligent caching systems
31
+ - **Goal Management**: Help users set and track wellness goals
32
+
33
+ ## πŸš€ API Endpoints
34
+
35
+ ### Text Chat