Spaces:
Sleeping
Sleeping
metadata
license: mit
title: 'Suomoto.AI '
sdk: docker
emoji: 🏢
colorFrom: blue
colorTo: indigo
pinned: false
short_description: AI based Legal Assistant with Agentic workflow
#README.md
Legal AI Assistant
Configuration
This Space requires the following secrets to be configured:
ANTHROPIC_API_KEY: Your Anthropic API keyHF_TOKEN: Your Hugging Face access token
To configure:
- Go to Space Settings
- Under "Repository Secrets"
- Add both secrets with your API keys
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Legal AI Assistant for Hugging Face Spaces
A Docker-based legal research assistant powered by AI, designed for deployment on Hugging Face Spaces.
Setup Instructions
Create a new Space on Hugging Face:
- Select "Docker" as the template
- Add required secrets:
- ANTHROPIC_API_KEY
- HF_TOKEN
Clone and push code:
git clone https://huggingface.co/spaces/username/space-name
# Copy all files into the cloned directory
git add .
git commit -m "Initial commit"
git push
- The Space will automatically build and deploy the Docker container.
Features
- Document processing with OCR
- Vector database for document storage
- Legal research assistance
- Document drafting
- Case analysis
Local Development
- Build Docker image:
docker build -t legal-ai-app .
- Run container:
docker run -p 7860:7860 \
-e ANTHROPIC_API_KEY=your_key \
-e HF_TOKEN=your_token \
legal-ai-app
Notes
- The app uses port 7860 as required by Hugging Face Spaces
- Persistent storage is maintained in /code/data
- System dependencies are installed for OCR and PDF processing