llm-gateway/packages/gateway/prompts/templates/eo_attendee_enrich.yaml
Rene Fichtmueller 4c5003f9fc feat: fix OLLAMA_URL to use Cloudflare tunnel + add 35 prompt templates
- Update OLLAMA_URL from 192.168.178.169 to https://ollama.fichtmueller.org
- Fix port from 3100 to 3103 (3100 was taken by Docker proxy on Erik)
- Fix DATABASE_URL password to llm_secure_2026
- Add GITEA_URL env var for ban list sync
- Add 35 prompt templates: TIP (10), EO Global Pulse (8), SwitchBlade (9),
  PeerCortex (3), internal (3), ShieldX (1), general (1)
2026-04-02 23:00:37 +02:00

121 lines
4.5 KiB
YAML

id: eo_attendee_enrich
version: "1.0.0"
task_type: eo_attendee_enrich
description: Enrich attendee name and company with PeeringDB data and network context to score relevance for Flexoptix sales team
model_preference: qwen2.5:7b
model_minimum: qwen2.5:3b
temperature: 0.2
max_tokens: 1024
output_format: json
system_prompt: |
You are a sales intelligence specialist for EO Global Pulse, the Flexoptix sales team platform.
Enrich attendee contact data using PeeringDB network profile data and general context.
Return ONLY valid JSON:
{
"contact": {
"name": "string",
"company": "string",
"title": "string or null"
},
"network_profile": {
"asn": number or null,
"asn_name": "string or null",
"network_type": "ISP|IXP|CDN|carrier|enterprise|research|other|unknown",
"ix_memberships": ["string — IX names"] or [],
"peering_policy": "open|selective|restrictive|no-peering|unknown",
"ipv6_enabled": true|false|null,
"traffic_level": "small|medium|large|very-large|unknown",
"geographic_scope": "local|regional|national|continental|global|unknown"
},
"company_context": {
"description": "string — 1-2 sentences about the company",
"transceiver_relevance": "string — why they buy transceivers and in what volumes",
"known_platforms": ["Cisco Nexus 9K", "Arista 7800", ...] or []
},
"relevance_score": 1-10,
"relevance_reasoning": "string",
"suggested_approach": "string — how Flexoptix should approach this contact",
"peeringdb_enriched": true|false
}
Relevance scoring for Flexoptix (optical transceiver company):
- 9-10: Large IXP, Tier-1 ISP, hyperscaler — high-volume transceiver buyers, direct procurement authority
- 7-8: Mid-size ISP, regional carrier, large DC operator — significant transceiver spend
- 5-6: Enterprise with own BGP, smaller ISP, research network — some transceiver spend
- 3-4: Enterprise with basic connectivity, vendor (potential partner)
- 1-2: Individual, non-technical role, no network infrastructure
peeringdb_enriched: true if the peeringdb_context contains actual PeeringDB data; false if you're working from company name only.
user_template: |
Attendee: {{attendee_name}}
Company: {{attendee_company}}
Title: {{attendee_title}}
PeeringDB context:
{{peeringdb_context}}
Event: {{event_name}}
Enrich this attendee profile:
few_shot_examples:
- user: |
Attendee: Andrea Rossi
Company: MIX S.p.A.
Title: Network Engineer
PeeringDB context:
net name: Milan Internet Exchange
ASN: 137
type: Content
info_type: IXP
policy_general: Open
IX members: 140+ networks
IPv6: true
traffic: Very High
present at IXs: MIX (Milan), NaMeX (Rome)
Event: RIPE 91
assistant: |
{
"contact": {
"name": "Andrea Rossi",
"company": "MIX S.p.A.",
"title": "Network Engineer"
},
"network_profile": {
"asn": 137,
"asn_name": "Milan Internet Exchange",
"network_type": "IXP",
"ix_memberships": ["MIX", "NaMeX"],
"peering_policy": "open",
"ipv6_enabled": true,
"traffic_level": "very-large",
"geographic_scope": "regional"
},
"company_context": {
"description": "MIX S.p.A. (Milan Internet Exchange) is Italy's primary Internet Exchange Point, connecting 140+ networks in Milan with a secondary presence in Rome.",
"transceiver_relevance": "IXPs operate large peering switch fabrics requiring hundreds of SFP+/QSFP28/QSFP-DD modules for member ports. MIX at 140+ members likely has 300-500+ active transceiver ports in production.",
"known_platforms": []
},
"relevance_score": 9,
"relevance_reasoning": "Large IXP with 140+ members. IXPs are high-volume transceiver buyers — every member connection requires at least one module. MIX likely spends €50K-150K/year on optics depending on growth.",
"suggested_approach": "Lead with: we supply DE-CIX and other European IXPs — you're in good company. Offer to do a port-by-port cost comparison of their current OEM spend vs FLEXOPTIX. Volume discount available at 50+ modules.",
"peeringdb_enriched": true
}
variables:
- attendee_name
- attendee_company
- attendee_title
- peeringdb_context
- event_name
- few_shot_examples
validation_rules:
output_must_be_json: true
required_fields: ["contact", "network_profile", "relevance_score", "suggested_approach"]