The boilerplate's rule: the deploy kit's Dockerfile, the APP_CONFIG, APP_PASSWORD and APP_DATA variables and its commands all assume a package called app, so a project renames its display title and nothing else. The console script is `app`, and the launch entry runs `uv run app serve --port 8790`. The domain noun stays `role`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
49 lines
1.8 KiB
YAML
49 lines
1.8 KiB
YAML
# roledesk configuration. `roles.yaml` is the one the app reads by default
|
|
# (or $ROLEDESK_CONFIG, or `app -c path`). Every key here is optional.
|
|
|
|
# The SQLite file: roles, companies, subscriptions, applications, and the
|
|
# job queue's own table. Not shared with newsdesk.
|
|
database: roledesk.db
|
|
|
|
# Any .py file in these directories defining a desk `Source` subclass is a
|
|
# plugin. A plugin imports `desk` only.
|
|
plugin_paths:
|
|
- plugins
|
|
|
|
# Workers per resource class. `http` is wide because a fetch is mostly waiting.
|
|
workers:
|
|
llm: 4
|
|
http: 8
|
|
cpu: 1
|
|
|
|
# Who answers when a job needs a model. See desk/tools/agent.py in ../news.
|
|
agent:
|
|
backend: auto # auto | api | claude_code | off
|
|
|
|
# Title and description in, gate columns out (app/jobs/extract.py). Off by
|
|
# default: on the API backend every batch of 20 roles is a paid call.
|
|
extract:
|
|
enabled: false
|
|
model: claude-haiku-4-5-20251001
|
|
|
|
# A role and each agent's intent as vectors, for the fit term of a score
|
|
# (app/jobs/embed.py). Needs sentence-transformers; without it `embed`
|
|
# posts a notice and scores leave fit out. Changing the model re-embeds.
|
|
embed:
|
|
model: sentence-transformers/all-MiniLM-L6-v2
|
|
per_run: 50000
|
|
|
|
# Starter search agents, imported once into an empty `agents` table. Each gate
|
|
# is {field, values, mode: require|prefer, weight}; fields are place, country,
|
|
# remote, seniority, function, salary_min, currency, permit, languages and
|
|
# company. weights default to {fit: 0.6, recency: 0.2, affinity: 0.2}.
|
|
agents:
|
|
- name: Berlin backend
|
|
intent: Senior backend engineer, Python services and PostgreSQL.
|
|
gates:
|
|
- {field: place, values: [Berlin], mode: require}
|
|
- {field: remote, values: [hybrid, remote], mode: prefer, weight: 0.2}
|
|
|
|
# One block per plugin. Empty until the ats plugin lands.
|
|
sources: {}
|