match_tenders
Match company profiles to relevant public procurement tenders using semantic similarity search. Filter results by CPV codes, procurement methods, value ranges, deadlines, and buyer criteria to identify suitable opportunities.
Instructions
Match a company profile against tenders using semantic similarity. The profile's embedding is sent to the REST API for KNN cosine search against all tender chunks. Results are enriched with release metadata from the API and can be post-filtered by CPV prefix, category, method, value range, buyer name, deadline, and status. Deduplicates by OCID (keeps highest score).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer_name | No | Filter by buyer name (case-insensitive substring match) | |
| cpv_prefix | No | Filter by CPV code prefix (e.g. '45' for construction, '72' for IT) | |
| deadline_after | No | Only include tenders with deadline on or after this ISO-8601 datetime | |
| deadline_before | No | Only include tenders with deadline on or before this ISO-8601 datetime | |
| eu_funded | No | Filter by EU funding status (true = EU funded) | |
| has_awards | No | Filter by whether the release has awards with suppliers (true/false) | |
| k | No | Number of matching tenders to return (default: 10) | |
| location_nuts | No | Filter by delivery location NUTS code prefix (e.g. 'DE3' for Berlin) | |
| main_procurement_category | No | Filter by main procurement category (e.g. 'works', 'goods', 'services') | |
| procurement_method | No | Filter by procurement method (e.g. 'open', 'selective', 'limited') | |
| profile_id | Yes | The UUID of the company profile to match against tenders | |
| status | No | Filter by tender status (e.g. 'active', 'complete', 'cancelled') | |
| tag | No | Filter by lifecycle tag (e.g. 'tender', 'award', 'planning') | |
| value_max | No | Maximum tender value | |
| value_min | No | Minimum tender value |