The ats boards only read companies someone listed, and the seed list is US-centred: 31 of 29,000 open roles were in Denmark. A `search` plugin runs saved queries on boards that span companies, pulled in the same task as the boards: Jobindex (Denmark, RSS, no key) and Adzuna (UK and most of the EU, free key, built to its documented API). Jobnet and Jooble were checked and left out. `country` is now filled from the board's location line by a lookup, with EU for Europe-wide roles, so country gates work without extract. `app companies prune --in` unsubscribes boards with no open role in a region. The starter agents and searches are Copenhagen and Europe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
83 lines
3.2 KiB
YAML
83 lines
3.2 KiB
YAML
# roledesk configuration. The app reads --config, else $APP_CONFIG, else
|
|
# config.yaml beside the checkout (committed: these defaults plus the starter
|
|
# agents). Every value below is the default, so a copy with nothing changed
|
|
# behaves exactly like no file at all. An unknown key is an error, not a
|
|
# shrug; see app/config.py.
|
|
|
|
server:
|
|
# 0.0.0.0 in a container -- the proxy is what is in front of it.
|
|
host: 127.0.0.1
|
|
port: 8790
|
|
|
|
# The SQLite file: roles, companies, subscriptions, applications, agents and
|
|
# scores, the job queue and its schedules, the notice log, and auth's
|
|
# sessions. Not shared with newsdesk.
|
|
database: roledesk.db
|
|
|
|
# What a clock on screen means, and what `daily at 06:00` is 06:00 in.
|
|
timezone: Europe/Berlin
|
|
|
|
log_level: INFO
|
|
|
|
# One password on a public hostname; see auth/README.md and
|
|
# docs/password-protection.md. The password is never in this file.
|
|
auth:
|
|
enabled: auto # auto: open on loopback, locked on anything else
|
|
session_days: 30
|
|
secure_cookie: auto # always, behind a TLS-terminating proxy
|
|
rp_id: "" # roledesk.example.com -- passkeys are bound to it
|
|
rp_name: app # what the authenticator shows you
|
|
origin: "" # https://roledesk.example.com
|
|
password_env: APP_PASSWORD
|
|
cookie: app_session # unique per app sharing a hostname
|
|
|
|
# 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; needs the
|
|
# `agent` extra.
|
|
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 the `embeddings` extra; 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
|
|
|
|
# One block per plugin, keyed by the plugin's name. The ats and search plugins
|
|
# read their boards and searches from the subscriptions table, so they need
|
|
# none, except the key an adzuna search needs (or ADZUNA_APP_ID and
|
|
# ADZUNA_APP_KEY in the environment, which keeps it out of this file).
|
|
sources: {}
|
|
# search:
|
|
# adzuna: {app_id: "...", app_key: "..."}
|
|
|
|
# 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}. A
|
|
# country is an ISO code, filled from the board's location line; EU is a role
|
|
# open anywhere in Europe.
|
|
agents: []
|
|
|
|
# Starter searches, imported once while there are no `search` subscriptions.
|
|
# provider is jobindex (Denmark, no key: q, area, pages) or adzuna (the UK and
|
|
# most of the EU, a free key: q, country, where, pages). See plugins/search.py.
|
|
searches: []
|