Status Trio
Status Trio는 macOS 메뉴바 앱으로 Wi‑Fi·배터리·볼륨을 하나의 아이콘에 통합합니다
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
"Ask your question about the new framework agreement between Switzerland and the EU." Answers are neutral, factual, and exclusively based on official treaty texts – no opinions, interpretations, or speculation.
README 전체를 불러오는 중입니다.
README 전문 보기 ↗"Ask your question about the new framework agreement between Switzerland and the EU." Answers are neutral, factual, and exclusively based on official treaty texts – no opinions, interpretations, or speculation.
This app allows users to ask natural-language questions about the "Rahmenabkommen/Bilaterale III" (framework agreement) between Switzerland and the EU. It retrieves passages from official PDFs (e.g., Bilaterale III documents), indexes them as embeddings, and provides fact-based answers using a combination of semantic search and prompt completion.
api/bin/| Script | Description |
|---|---|
activate.sh | Activates a Python virtual environment from the project root. Must be run via source or . so the environment stays active in the current terminal session. |
setup.sh | Complete backend setup script if you are using a virtual environment for Python. Checks for Python, creates and activates a virtual environment, installs Python dependencies, and initializes or upgrades the SQLite database with Flask-Migrate. |
migrate.sh | Creates a new DB migration. First applies all existing migrations, then creates a new one with a provided description.Usage: ./migrate.sh "Add table xyz" |
preprocess.sh | Runs the Python preprocessing script vector/preprocess.py to extract, chunk, and prepare text data from PDFs for vector embedding. Must be run with the Python virtual environment activated. |
server.sh | Starts the Flask app with Gunicorn for production: 4 workers, bound to port 8000, loading main:app. Uses PYTHONPATH to run in project root. |
ui/bin/| Script | Description |
|---|---|
setup.sh | Installs all Node.js dependencies using npm install. Run this once before development or after cloning. |
server.sh | Starts the local Remix development server via npm run dev. Hot-reloads changes and serves the frontend. |
git clone https://github.com/nicolaric/rahmenabkommen-gpt.git
cd rahmenabkommen-gpt
cd api
source bin/activate.sh # Activate Python virtualenv
bin/setup.sh # Full install + DB setup
bin/server.sh # Start API server
cd ui
bin/setup.sh # Install UI dependencies
bin/server.sh # Start Remix dev server
┌──────────────────────────────┐
│ Remix / React │
│ (UI frontend) │
└─────────────┬────────────────┘
│ HTTP (API)
┌─────────────▼────────────────┐
│ Flask (REST backend) │
│ + Gunicorn + Flask-Migrate │
└───────┬─────────────┬────────┘
│ │
SQLite DB FAISS index
(queries, logs) (PDF embeddings)
All contributors must follow this simple Git workflow:
Create a new branch
git checkout -b feature/your-description
Make your changes and commit.
Push and open a Pull Request
git push origin feature/your-description
Request review, make any updates, and merge once approved.
pytestMIT License. See LICENSE.
This project is inspired by the need for transparency and neutrality in presenting legal frameworks to the public, especially concerning the evolving Switzerland–EU relationship.