feat: add extraction schema, sidebar nav, few-shot prompting, and prompt settings
Overhaul extraction pipeline with new TradeItem model, conversation flow, and dedicated extraction endpoint. Add sidebar navigation with NavMenu component and landing page. Introduce few-shot prompting service and tests. Add prompt settings and email upload specs. Update OpenSpec tooling with improved export-spec and extract-feature commands. Archive completed changes and export full specs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
20
examples/extraction/few-shot/03/output.json
Normal file
20
examples/extraction/few-shot/03/output.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"valuedate": "01/06/2025",
|
||||
"counterparty": "Barclays Bank PLC",
|
||||
"trade_id": 77890112,
|
||||
"display_ccy": "EUR",
|
||||
"pv": 8421300,
|
||||
"breakclause": "Y"
|
||||
},
|
||||
{
|
||||
"valuedate": "01/06/2025",
|
||||
"counterparty": "Barclays Bank PLC",
|
||||
"trade_id": 77890113,
|
||||
"display_ccy": "EUR",
|
||||
"pv": 22105800,
|
||||
"breakclause": "Y"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user