Given the mapping delimited by triple backticks [code] translate the text delimited by…
- User
Given the mapping delimited by triple backticks
"adv-pixel-2022.12": { "mappings": { "dynamic": "false", "properties": { "app_startup": { "type": "keyword" }, "asset_id": { "type": "keyword" }, "billing_type": { "type": "keyword" }, "campaign_id": { "type": "integer" }, "campaign_limit": { "type": "integer" }, "campaign_type": { "type": "keyword" }, "creativity_download_url": { "type": "keyword" }, "creativity_id": { "type": "integer" }, "creativity_vast_url": { "type": "keyword" }, "date": { "type": "date" }, "display_area_id": { "type": "integer" }, "domain_id": { "type": "integer" }, "empty_vast": { "type": "boolean" }, "event_name": { "type": "keyword" }, "event_type": { "type": "keyword" }, "host": { "type": "keyword" }, "online": { "type": "boolean" }, "ots": { "type": "float" }, "pacing": { "type": "keyword" }, "pixel_uuid": { "type": "keyword" }, "price": { "type": "float" }, "pricing_type": { "type": "keyword" }, "priority": { "type": "integer" }, "region": { "type": "keyword" }, "revenue": { "type": "float" }, "schedule_id": { "type": "integer" }, "subject_id": { "type": "integer" }, "subject_type": { "type": "keyword" } } } } }``` translate the text delimited by triple quotes in a valid Elasticsearch DSL query """Get the sum of 'revenue' field for each campaign for yesterday's documents.""" billing_type can be 'execution' or 'ots', campaign_type can be 'reservation', 'filler' or 'programmatic', event_type can be 'OPPORTUNITY' or 'IMPRESSION', pacing can be 'even', 'asap,' and 'loop', pricing_type can be 'cpm' or 'bundle' Give me only the json code part of the answer. Compress the json output removing spaces.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.