Making Legal Aid Accessible to Everyone, see the service at
lagen.fi
Orange Soft Biscuit is a project dedicated to democratizing access to legal assistance through the power of fine-tuned large language models (LLMs) specialized in Finnish law and legislation.
Our goal is to bridge the gap in legal accessibility by leveraging AI technology to provide accurate, timely, and understandable legal guidance in Finnish. We believe that everyone deserves access to reliable legal information, regardless of their background or financial situation.
The platform utilizes a fine-tuned language model trained on Finnish legislation and legal frameworks to deliver contextual legal guidance through an intuitive chat interface. Users can ask questions about Finnish law in their own language and receive clear, actionable responses.
graph TD
A[User] -->|Interacts with| B[Frontend: Rust WASM]
B -->|Hosted on| C[Cloudflare Pages]
B -->|API Requests| D[Cloudflare Workers]
D -->|LLM Queries| E[Fine-tuned LLM<br/>Finnish Law]
D -->|Auth & User Data| F[Cloudflare D1]
D -->|Anonymous Feedback| G[Supabase]
A -->|Authentication| F
E -->|Returns| D
D -->|Responses| B
B -->|Displays| A
style A fill:#ff99ff,stroke:#333,stroke-width:2px,color:#000
style E fill:#99ff99,stroke:#333,stroke-width:2px,color:#000
style C fill:#0099ff,stroke:#333,stroke-width:2px,color:#fff
style D fill:#0099ff,stroke:#333,stroke-width:2px,color:#fff
style F fill:#0099ff,stroke:#333,stroke-width:2px,color:#fff
style G fill:#ff9900,stroke:#333,stroke-width:2px,color:#000
style B fill:#e8e8e8,stroke:#333,stroke-width:2px,color:#000
Orange Soft Biscuit is built on a modern, performant stack:
- Frontend: Rust compiled to WebAssembly (WASM) for fast, efficient client-side execution
- Hosting: Cloudflare Pages for global edge delivery and static site hosting
- Backend: Cloudflare Workers for serverless, high-performance API endpoints
- Database: Cloudflare D1 for edge-distributed data storage
- User Data: Supabase for authentication and additional data persistence
This architecture ensures low-latency responses, scalability, and cost efficiency while maintaining user privacy and data security.
We envision a world where legal knowledge is not a privilege, but a fundamental right. By combining cutting-edge AI with accessible technology, Orange Soft Biscuit aims to empower Finnish citizens and organizations with the legal insights they need to navigate complex legislative landscapes with confidence.