Demo: Government Procurement Compliance
How a Finnish government agency uses Pauhu® to search EU regulations, translate legal text, and verify procurement compliance — in 15 minutes.
Scenario: A procurement officer at Valtiokonttori (State Treasury of Finland) needs to verify that a planned IT procurement complies with current EU public procurement directives, the EU AI Act, and Finnish national transposition measures.
Goal: Find the applicable regulations, translate key provisions to Finnish, check cross-references to national law, and produce a compliance memo for the procurement team.
Time: ~15 minutes (vs. 2–4 hours of manual research)
Prerequisites
- A Pauhu account (free tier: 3 requests/day, or any paid tier)
- An API key — generate one at staging.pauhu.eu/keys
All examples below use curl. The same endpoints are available through the Pauhu search interface with no code required.
1 Search for the procurement directive
What we are looking for
Directive 2014/24/EU on public procurement — the main EU directive governing how public authorities purchase goods, services, and works. CELEX: 32014L0024.
Search by CELEX number for an exact match:
curl "https://staging.pauhu.eu/search?q=32014L0024" \
-H "Authorization: Bearer pk_..."
Or search by topic to discover related regulations:
curl -X POST https://staging.pauhu.eu/search \
-H "Authorization: Bearer pk_..." \
-H "Content-Type: application/json" \
-d '{
"query": "public procurement thresholds IT services",
"sources": ["eurlex", "ted"],
"lang": "en",
"limit": 10
}'
The search returns documents ranked by relevance, with topic annotations and cross-references:
{
"results": [
{
"celex": "32014L0024",
"title": "Directive 2014/24/EU on public procurement",
"source": "EUR-Lex",
"relevance": 0.96,
"topics": ["public procurement", "internal market", "public contracts"],
"languages_available": ["bg","cs","da","de","el","en","es","et","fi","fr","ga","hr","hu","it","lt","lv","mt","nl","pl","pt","ro","sk","sl","sv"],
"cross_references": [
{"celex": "32014L0025", "relation": "related", "title": "Directive 2014/25/EU (utilities)"},
{"celex": "32019R1780", "relation": "amends", "title": "Delegated Regulation (EU) 2019/1780 (eForms)"}
]
},
{
"celex": "32019R1780",
"title": "Commission Implementing Regulation (EU) 2019/1780 (eForms)",
"source": "EUR-Lex",
"relevance": 0.89,
"topics": ["public procurement", "electronic forms", "TED notices"]
}
],
"total": 47,
"query_time_ms": 124
}
Result: Found The procurement directive (32014L0024) and its key amendments, plus the eForms regulation that governs electronic notice submission to TED.
2 Find the EU AI Act requirements
Why this matters
If the IT procurement includes AI components, the EU AI Act (Regulation 2024/1689, CELEX 32024R1689) imposes additional requirements. Public authorities procuring high-risk AI systems must verify conformity assessments and CE marking.
Search for the AI Act and procurement-related provisions:
curl -X POST https://staging.pauhu.eu/search \
-H "Authorization: Bearer pk_..." \
-H "Content-Type: application/json" \
-d '{
"query": "artificial intelligence public authority procurement conformity",
"sources": ["eurlex"],
"lang": "en",
"limit": 5
}'
Key results include:
| CELEX | Title | Relevance |
|---|---|---|
32024R1689 | Regulation (EU) 2024/1689 — EU AI Act | 0.97 |
32014L0024 | Directive 2014/24/EU — Public Procurement | 0.82 |
32016R0679 | Regulation (EU) 2016/679 — GDPR | 0.71 |
Articles 6 and 26 of the AI Act are particularly relevant for procurement officers: they define the classification of high-risk AI systems and obligations for deployers (including public authorities).
3 Translate key provisions to Finnish
Why translate?
While EU regulations are published in all 24 official languages, procurement memos and internal communications at Finnish agencies are in Finnish. Translation ensures legal precision when quoting specific articles for the procurement committee.
Translate a specific article extract from English to Finnish:
curl -X POST https://staging.pauhu.eu/translate \
-H "Authorization: Bearer pk_..." \
-H "Content-Type: application/json" \
-d '{
"text": "Deployers of high-risk AI systems that are public authorities shall register in the EU database referred to in Article 71, except in cases of AI systems listed in point 2 of Annex III.",
"source": "en",
"target": "fi",
"domain": "legal",
"formality": "formal"
}'
Response:
{
"translated_text": "Korkean riskin teko\u00e4lyj\u00e4rjestelmi\u00e4 k\u00e4ytt\u00f6\u00f6nottavien julkisten viranomaisten on rekister\u00f6idytt\u00e4v\u00e4 71 artiklassa tarkoitettuun EU:n tietokantaan, lukuun ottamatta liitteen III 2 kohdassa lueteltuja teko\u00e4lyj\u00e4rjestelmi\u00e4.",
"source_lang": "en",
"target_lang": "fi",
"confidence": 0.94,
"terminology_applied": [
{"source": "high-risk AI systems", "target": "korkean riskin teko\u00e4lyj\u00e4rjestelm\u00e4t", "origin": "IATE"},
{"source": "deployers", "target": "k\u00e4ytt\u00f6\u00f6nottajat", "origin": "IATE"},
{"source": "public authorities", "target": "julkiset viranomaiset", "origin": "IATE"}
],
"cascade_stages_applied": 8,
"quality_score": 0.91
}
The translation uses IATE terminology automatically — official EU terms like korkean riskin tekoälyjärjestelmät (high-risk AI systems) are consistent with the Finnish language version of the AI Act.
4 Check terminology with IATE
Official terminology matters
Finnish procurement documents must use the official Finnish translations of EU legal concepts. IATE (Inter-Active Terminology for Europe) is the EU’s official terminology database with 2.4 million entries across 24 languages.
Look up key procurement terms in Finnish:
curl "https://staging.pauhu.eu/lookup?term=contracting+authority&lang=fi" \
-H "Authorization: Bearer pk_..."
Response:
{
"query": "contracting authority",
"found": true,
"count": 1,
"results": [
{
"iate_id": 1441764,
"source_term": "contracting authority",
"source_lang": "en",
"target_term": "hankintaviranomainen",
"target_lang": "fi",
"domain": "public procurement",
"reliability": 4,
"definition": "State, regional or local authorities, bodies governed by public law or associations formed by one or more such authorities or one or more such bodies governed by public law."
}
],
"source": "IATE"
}
Useful terms for the procurement memo:
| English | Finnish (IATE) | Context |
|---|---|---|
| contracting authority | hankintaviranomainen | Directive 2014/24/EU Art. 2 |
| above-threshold procurement | EU-kynnysarvon ylittävä hankinta | Directive 2014/24/EU Art. 4 |
| high-risk AI system | korkean riskin tekoälyjärjestelmä | AI Act Art. 6 |
| conformity assessment | vaatimustenmukaisuuden arviointi | AI Act Art. 43 |
| CE marking | CE-merkintä | AI Act Art. 48 |
| technical documentation | tekninen dokumentaatio | AI Act Annex IV |
| data protection impact assessment | tietosuojaa koskeva vaikutustenarviointi | GDPR Art. 35 |
5 Find Finnish national transposition
National law completes the picture
EU directives must be transposed into national law. The Finnish transposition of the Public Procurement Directive is Laki julkisista hankinnoista ja käyttöoikeussopimuksista (1397/2016). Pauhu tracks 290,000+ cross-references between EU directives and national measures.
Search for Finnish national transposition measures:
curl -X POST https://staging.pauhu.eu/search \
-H "Authorization: Bearer pk_..." \
-H "Content-Type: application/json" \
-d '{
"query": "32014L0024 national transposition Finland",
"sources": ["lex"],
"lang": "fi",
"limit": 5
}'
Result: the search returns Sector 7 cross-references linking the EU directive to Finnish law:
{
"results": [
{
"celex": "72014L0024FIN_2016397",
"title": "Laki julkisista hankinnoista ja k\u00e4ytt\u00f6oikeussopimuksista (1397/2016)",
"source": "National Law (Finland)",
"relation": "transposes",
"parent_directive": "32014L0024",
"language": "fi",
"url": "https://www.finlex.fi/fi/laki/ajantasa/2016/20161397"
}
]
}
Now the procurement officer has the complete legal chain: EU directive → Finnish national law → applicable thresholds and procedures.
6 Search TED for comparable procurements
Learn from others
TED (Tenders Electronic Daily) publishes all EU public procurement notices above the directive thresholds. Searching TED reveals how other government agencies have structured similar IT + AI procurements — useful for benchmarking requirements, estimating budgets, and identifying potential suppliers.
Search TED for recent IT procurement notices from Finnish public authorities:
curl -X POST https://staging.pauhu.eu/search \
-H "Authorization: Bearer pk_..." \
-H "Content-Type: application/json" \
-d '{
"query": "information technology artificial intelligence",
"sources": ["ted"],
"lang": "en",
"filters": {
"country": "FI",
"notice_type": ["contract-notice", "contract-award"],
"cpv": "72000000",
"date_from": "2025-01-01"
},
"limit": 10
}'
The cpv filter uses Common Procurement Vocabulary codes. 72000000 covers IT services; narrow further with 72260000 (software-related services) or 72322000 (data management).
Example result:
{
"results": [
{
"notice_id": "2025/S 042-123456",
"title": "AI-powered document management system",
"buyer": "Digi- ja v\u00e4est\u00f6tietovirasto",
"country": "FI",
"cpv_codes": ["72260000", "72322000"],
"estimated_value": {"amount": 850000, "currency": "EUR"},
"notice_type": "contract-notice",
"deadline": "2025-04-15",
"languages": ["fi", "en"],
"topics": ["artificial intelligence", "information technology", "public administration"],
"eforms_version": "1.10"
}
],
"total": 23,
"query_time_ms": 89
}
From these results a procurement officer can:
- Compare estimated values for similar IT + AI procurements across Finnish agencies
- Review technical requirements and award criteria used by other contracting authorities
- Identify framework agreements that Valtiokonttori could join or reference
- Check which suppliers have been awarded similar contracts
TED notices are available in eForms XML format via the API, or as structured JSON through the search endpoint shown above.
7 Set up a compliance monitoring recipe
Stay current automatically
Procurement rules change — thresholds are updated, new directives are adopted, and ECJ rulings can alter interpretation. A monitoring recipe delivers alerts when relevant changes are published.
Create a recipe that monitors procurement and AI Act developments:
curl -X POST https://staging.pauhu.eu/recipes \
-H "Authorization: Bearer pk_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Valtiokonttori Procurement Compliance",
"sources": ["eurlex", "ted", "oeil", "curia", "lex"],
"topics": ["public procurement", "artificial intelligence", "data protection"],
"languages": ["fi", "en", "sv"],
"countries": ["FI"],
"alert_method": "webhook",
"webhook_url": "https://internal.valtiokonttori.fi/pauhu-alerts",
"frequency": "daily"
}'
This recipe will notify the procurement team when:
- A new regulation or directive on public procurement is published in the Official Journal
- The European Parliament or Council advances a legislative proposal on AI or procurement
- The CURIA issues a ruling on public procurement interpretation
- Finland publishes a new national transposition measure
- TED publishes eForms notices relevant to the configured topics
See the Recipe Catalog for more pre-configured recipes.
8 Chat with your results
Ask follow-up questions
Ask follow-up questions about the regulations and notices retrieved in Steps 1–7. The chat is grounded in the retrieved documents — it won’t hallucinate.
Send a question together with context from your earlier results:
curl -X POST https://staging.pauhu.ai/v1/chat \
-H "Authorization: Bearer pk_..." \
-H "Content-Type: application/json" \
-d '{
"message": "Mitk\u00e4 ovat hankintaviranomaisen velvollisuudet teko\u00e4lyj\u00e4rjestelm\u00e4n k\u00e4ytt\u00f6\u00f6notossa?",
"context": [
{"celex": "32024R1689", "title": "EU AI Act", "articles": ["6", "26"]},
{"celex": "32014L0024", "title": "Public Procurement Directive"},
{"celex": "72014L0024FIN_2016397", "title": "Hankintalaki 1397/2016"}
],
"domain": "law",
"lang": "fi"
}'
Example response (Finnish, grounded in the retrieved documents):
{
"response": "Teko\u00e4lyasetuksen (2024/1689) 26 artiklan mukaan hankintaviranomaisen, joka ottaa k\u00e4ytt\u00f6\u00f6n korkean riskin teko\u00e4lyj\u00e4rjestelm\u00e4n, on: (1) varmistettava, ett\u00e4 j\u00e4rjestelm\u00e4\u00e4 k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6ohjeiden mukaisesti, (2) nimett\u00e4v\u00e4 luonnollinen henkil\u00f6 valvomaan j\u00e4rjestelm\u00e4\u00e4, (3) tiedotettava j\u00e4rjestelm\u00e4n k\u00e4yt\u00f6st\u00e4 niille, joihin se vaikuttaa, ja (4) rekister\u00f6idytt\u00e4v\u00e4 71 artiklan mukaiseen EU:n tietokantaan. Lis\u00e4ksi hankintalain (1397/2016) mukaan hankintaviranomaisen on noudatettava hankinnan kohteen kuvausta koskevia vaatimuksia.",
"sources_cited": ["32024R1689 Art. 26", "32014L0024 Art. 42", "72014L0024FIN_2016397"],
"model": "SmolLM-135M",
"grounded": true,
"confidence": 0.88
}
The response cites specific articles from the retrieved documents and uses IATE Finnish terminology (hankintaviranomainen, korkean riskin tekoälyjärjestelmä). For higher accuracy on legal questions, use the Domain 12 (Law) specialist model in Step 9.
9 Chat with the Domain 12 (Law) specialist model
Specialist model for legal analysis
The Domain 12 (Law) specialist is a BERT model fine-tuned on EU legal corpora. It runs entirely in your browser via ONNX Runtime Web — no data leaves your device. The model uses the DLC delta pack system: a shared backbone (~125 MB, cached once) plus a small law-specific delta (~18 MB).
Coming soon: The Domain 12 (Law) specialist model is currently being trained on EUR-Lex, CURIA, and national law corpora. Once available, it will download automatically when you select it in Settings > Models > Specialist Packs. The chat endpoint below will use it for improved legal reasoning.
Download the specialist model from Settings > Models > Specialist Packs, then select “Law (Domain 12)”. Once downloaded, repeat the query from Step 8 with the specialist model:
curl -X POST https://staging.pauhu.ai/v1/chat \
-H "Authorization: Bearer pk_..." \
-H "Content-Type: application/json" \
-d '{
"message": "Mitkä ovat hankintaviranomaisen velvollisuudet tekoälyjärjestelmän käyttöönotossa?",
"context": [
{"celex": "32024R1689", "title": "EU AI Act", "articles": ["6", "26"]},
{"celex": "32014L0024", "title": "Public Procurement Directive"},
{"celex": "72014L0024FIN_2016397", "title": "Hankintalaki 1397/2016"}
],
"domain": "law",
"lang": "fi",
"specialist": "specialist-12-law"
}'
With the specialist model, the response improves in three ways:
- Legal reasoning: The model understands hierarchical relationships between EU regulations, directives, and national transpositions, producing more precise citations
- Terminology precision: Domain-specific embeddings improve IATE term matching, reducing false positives in legal terminology
- Offline capability: The model runs in the browser via ONNX Runtime Web — the procurement officer can work on classified networks or in low-connectivity environments
Requires the Domain 12 (Law) specialist model — download via Settings > Models > Specialist Packs. The model is currently in training; this step will become fully functional when it ships.
10 Run everything sovereign (on-premises)
Sovereign FiD: both brains on your network
Pauhu uses a Fusion-in-Decoder (FiD) dual-brain architecture. The retrieval brain searches across 20 EU data sources. The generation brain produces answers grounded in retrieved passages. In sovereign mode, both brains run on your infrastructure — no data leaves your network.
Deploy the sovereign containerverse on your own server (requires Docker):
# 1. Set sovereign mode
export PAUHU_SOVEREIGN=true
export MODEL_PROVIDER=onnx-local
# 2. Start the containerverse
docker compose -f docker-compose.hetzner.yml --profile with-llm up -d
# 3. Verify sovereign mode (should return {"sovereign": true})
curl http://localhost:3000/health
In sovereign mode, the system changes in three ways:
| Component | Cloud mode | Sovereign mode |
|---|---|---|
| Retrieval brain | EU edge infrastructure (20 Vectorize indexes) | Local SQLite databases (IATE + EUR-Lex mounted as Docker volumes) |
| Generation brain | ONNX models in browser (ONNX Runtime Web) | ONNX models on server (ONNX Runtime, INT8 quantised) |
| Audit logging | Full query content logged | Only SHA-256 hash of query params logged (never plaintext) |
| Model API calls | Any OpenAI-compatible endpoint | Blocked if destination is outside localhost or pauhu-* (403 Forbidden) |
Repeat Steps 1–9 with the sovereign endpoint:
# Same search, now local
curl -X POST http://localhost:3000/v1/search \
-H "Content-Type: application/json" \
-d '{
"query": "public procurement AI Act Finland",
"sources": ["eurlex", "lex"],
"lang": "fi",
"limit": 5
}'
# Same chat, now local (both brains on-premises)
curl -X POST http://localhost:3000/v1/chat \
-H "Content-Type: application/json" \
-d '{
"message": "Mitkä ovat hankintaviranomaisen velvollisuudet?",
"context": [
{"celex": "32024R1689", "title": "EU AI Act"},
{"celex": "32014L0024", "title": "Public Procurement Directive"}
],
"domain": "law",
"lang": "fi"
}'
The sovereign deployment is ideal for:
- Classified environments: Government networks with no internet access
- Data sovereignty: Queries about sensitive procurements stay within your firewall
- Air-gapped compliance: GDPR Article 44 — no third-country data transfers
- IDE integration: Connect Claude Code or VS Code via the MCP server — sovereign MCP reference
For full FiD architecture details, see FiD Dual-Brain Architecture.
Next steps
For the procurement memo
With the data collected above, the procurement officer can now write a compliance memo covering:
- Legal basis: Directive 2014/24/EU (CELEX 32014L0024) as transposed by Finnish law 1397/2016
- AI Act obligations: If the procurement includes AI, verify classification under Regulation 2024/1689 Art. 6 and ensure the supplier provides conformity documentation per Art. 43
- Terminology: Use official IATE Finnish terms throughout (hankintaviranomainen, vaatimustenmukaisuuden arviointi, etc.)
- Market benchmarks: TED notices from comparable Finnish IT + AI procurements, with estimated values and CPV codes
- Monitoring: Recipe configured to alert on regulatory changes affecting this procurement
- Chat answers: Follow-up questions answered by grounded chat, citing specific articles and using official Finnish terminology
- Specialist model: Domain 12 (Law) specialist for improved legal reasoning, running offline in the browser (coming soon)
- Sovereign option: Deploy the full system on-premises for classified environments — both retrieval and generation run locally
Related demos
- Demo: Pharmaceutical EMA Compliance — EMA guidelines, ECHA substance checks, SmPC translation, CURIA rulings
Further reading
- FiD Dual-Brain Architecture — how retrieval and generation fuse across 20 data sources
- Compass Search — how the search infrastructure works, from collection to ranking
- MCP Sovereign Mode — API reference for air-gapped IDE integration
- Search Guide — full query syntax, filters, and boolean operators
- Translation Guide — 24 languages, batch translation, formality levels
- IATE API Reference — all 11 terminology endpoints
- Recipe Catalog — 6 pre-configured monitoring recipes
- Full API Reference — all endpoints, authentication, rate limits
Questions?
Contact support@pauhu.eu or your Pauhu account manager.