hamelsmu/honeycomb-2 📝🔢 → 📝

▶️ 183 runs 📅 Feb 2024 ⚙️ Cog 0.8.6 🔗 GitHub
honeycomb nl-to-query observability query-generation text-generation text-to-json

About

Honeycomb NLQ Generator

Example Output

Output

{'breakdowns': ['http.route'], 'calculations': [{'column': 'duration_ms', 'op': 'HEATMAP'}, {'column': 'duration_ms', 'op': 'MAX'}, {'op': 'COUNT_DISTINCT', 'column': 'trace.trace_id'}], 'filters': [{'column': 'trace.parent_id', 'op': 'does-not-exist'}, {'column': 'span.kind', 'op': '=', 'value': 'server'}], 'orders': [{'column': 'duration_ms', 'op': 'MAX', 'order': 'descending'}], 'time_range': 7200}

Performance Metrics

6.60s Prediction Time
6.64s Total Time
All Input Parameters
{
  "nlq": "EMISSING slowest traces",
  "cols": "['sli.latency', 'duration_ms', 'net.transport', 'http.method', 'error', 'http.target', 'http.route', 'rpc.method', 'ip', 'http.request_content_length', 'rpc.service', 'apdex', 'name', 'message.type', 'http.host', 'service.name', 'rpc.system', 'http.scheme', 'sli.platform-time', 'type', 'http.flavor', 'span.kind', 'dc.platform-time', 'library.version', 'status_code', 'net.host.port', 'net.host.ip', 'app.request_id', 'bucket_duration_ms', 'library.name', 'sli_product', 'message.uncompressed_size', 'rpc.grpc.status_code', 'net.peer.port', 'log10_duration_ms', 'http.status_code', 'status_message', 'http.user_agent', 'net.host.name', 'span.num_links', 'message.id', 'parent_name', 'app.cart_total', 'num_products', 'product_availability', 'revenue_at_risk', 'trace.trace_id', 'trace.span_id', 'ingest_timestamp', 'http.server_name', 'trace.parent_id']",
  "max_new_tokens": 1000
}
Input Parameters
nlq (required) Type: string
cols (required) Type: string
temperature Type: numberDefault: 0.7
The temperature to use when sampling from the model.
max_new_tokens Type: integerDefault: 1000
The maximum number of tokens the model should generate as output.
Output Schema

Output

Type: string

Example Execution Logs
=================
This is the prompt:
Honeycomb is an observability platform that allows you to write queries to inspect trace data. You are an assistant that takes a natural language query (NLQ) and a list of valid columns and produce a Honeycomb query.
### Instruction:
NLQ: "EMISSING slowest traces"
Columns: ['sli.latency', 'duration_ms', 'net.transport', 'http.method', 'error', 'http.target', 'http.route', 'rpc.method', 'ip', 'http.request_content_length', 'rpc.service', 'apdex', 'name', 'message.type', 'http.host', 'service.name', 'rpc.system', 'http.scheme', 'sli.platform-time', 'type', 'http.flavor', 'span.kind', 'dc.platform-time', 'library.version', 'status_code', 'net.host.port', 'net.host.ip', 'app.request_id', 'bucket_duration_ms', 'library.name', 'sli_product', 'message.uncompressed_size', 'rpc.grpc.status_code', 'net.peer.port', 'log10_duration_ms', 'http.status_code', 'status_message', 'http.user_agent', 'net.host.name', 'span.num_links', 'message.id', 'parent_name', 'app.cart_total', 'num_products', 'product_availability', 'revenue_at_risk', 'trace.trace_id', 'trace.span_id', 'ingest_timestamp', 'http.server_name', 'trace.parent_id']
### Response:
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.
Version Details
Version ID
453fb38babce2114a72c1eb8c03983610486b38c6872183687e43f18b432ffbb
Version Created
February 22, 2024
Run on Replicate →