Files
jobboard/config.yaml
T
WolfandClaude Sonnet b560cdce2a Switch the embed model to multilingual-e5-small for the European corpus
Measured on the live roles against the "Copenhagen engineering" agent's
intent: the English-only all-MiniLM-L6-v2 separates engineering from
non-engineering roles with an AUC of 0.68 overall but only 0.74 restricted
to Danish-country roles (a Danish engineering role beats the rest's
non-engineering median only 68% of the time). multilingual-e5-small reaches
0.70 overall and 1.00 on Danish-country roles, for about 3x the CPU time.
paraphrase-multilingual-MiniLM-L12-v2 measured worse than the English-only
baseline (AUC 0.60) and was dropped.

e5 needs "query: "/"passage: " prefixes; app/jobs/embed.py adds them by
matching the model name so a model change can't leave a stale prefix
setting behind. Added tests for the prefixing and for the two invariants
the model change relies on: embed drops the old model's vectors before
re-embedding, and an agent's cached intent vector is keyed by model so a
model change is a cache miss, never a stale-dimension read.

Co-Authored-By: Claude Sonnet <noreply@anthropic.com>
2026-09-29 13:59:47 +02:00

57 lines
2.1 KiB
YAML

# roledesk's default config, committed. config.example.yaml documents every
# key; anything left out here takes the default written there.
server:
host: 127.0.0.1
port: 8790
database: roledesk.db
timezone: Europe/Berlin
auth:
rp_name: roledesk
cookie: roledesk_session
plugin_paths:
- plugins
workers:
llm: 4
http: 8
cpu: 1
extract:
enabled: false
model: claude-haiku-4-5-20251001
summarise:
enabled: false
model: claude-haiku-4-5-20251001
embed:
model: intfloat/multilingual-e5-small
sources: {}
# The starter ranking, imported once into an empty table. Edit it under
# Settings, Ranking afterwards; this list is not read again. EU in a country
# gate is a role open anywhere in Europe ("Remote - Europe", "EMEA"). How deep
# into the ranking extract and summarise read is each agent's `limits`, see
# config.example.yaml, which has two more agents.
agents:
- name: Copenhagen engineering
intent: >-
Senior backend or platform engineer. Python and Go services, PostgreSQL,
event-driven systems, APIs and data pipelines on Kubernetes in the cloud.
Wants ownership of production systems in a product company.
gates:
- {field: country, values: [DK], mode: require}
- {field: remote, values: [hybrid, remote], mode: prefer, weight: 0.05}
# Starter searches, imported once while there are none. Each is a query on a
# job board that spans companies (plugins/search.py); `app searches add` adds
# more. area 1 is Jobindex's Region Hovedstaden. An adzuna search needs a key:
# - {name: Berlin backend, provider: adzuna, params: {q: backend, country: de, where: Berlin}}
searches:
- name: Copenhagen backend
provider: jobindex
params: {q: backend, area: 1, pages: 10}
- name: Copenhagen software engineer
provider: jobindex
params: {q: '"software engineer" "software developer" softwareudvikler', area: 1, pages: 10}
- name: Copenhagen platform
provider: jobindex
params: {q: 'devops "platform engineer" kubernetes', area: 1, pages: 10}
- name: Copenhagen data engineer
provider: jobindex
params: {q: '"data engineer"', area: 1, pages: 10}