Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM Chat Microservices

A microservices architecture for LLM chat application with image support.

Services

Service Port Purpose
Media 8003 Image upload/storage
Nonce 8001 Authentication nonces
Users 8002 User auth/management
Chats 8004 Chat/message handling

Quick Start

# Install dependencies
pip install -r requirements.txt

# Start services (from project root)
uvicorn services.media.main:app --host 185.106.95.104 --port 8003 &
uvicorn services.nonce.main:app --host 185.106.95.104 --port 8001 &
uvicorn services.users.main:app --host 185.106.95.104 --port 8002 &
uvicorn services.chats.main:app --host 185.106.95.104 --port 8004 &

Configuration

DATABASE_URL=postgresql://user:password@localhost:5432/llm_chat
S3_ENDPOINT=https://storage.clo.ru
S3_BUCKET=llm-chat-images
S3_ACCESS_KEY=your_key
S3_SECRET_KEY=your_secret
JWT_DEV_SECRET=your_jwt_secret

Testing

python tests/media_service_test.py
python tests/nonce_service_test.py
python tests/users_service_test.py
python tests/chats_service_test.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages