hamelsmu/honeycomb 📝🔢 → 📝

▶️ 42 runs 📅 Jan 2024 ⚙️ Cog 0.8.6 🔗 GitHub
analytics honeycomb nlq query-generation text-generation text-to-json

About

Honeycomb NLQ Generator

Example Output

Output

{"breakdowns": ["api.endpoint"], "calculations": [{"op": "COUNT"}], "filters": [{"column": "api.endpoint", "op": "=", "value": "analytics.service.com", "join_column": ""}, {"column": "err", "op": "=", "value": true, "join_column": ""}], "orders": [{"op": "COUNT", "order": "descending"}], "time_range": 7200}

Performance Metrics

9.01s Prediction Time
210.61s Total Time
All Input Parameters
{
  "nlq": "EMISSING endpoint analytics.service.com",
  "cols": "['net.transport', 'nodejs_eventloop_lag_p99_seconds', 'nodejs_eventloop_lag_p90_seconds', 'nodejs_version_info', 'http.url', 'nodejs_eventloop_lag_seconds', 'laneId', 'nodejs_eventloop_lag_p50_seconds', 'organization.id', 'workspace.id', 'service.name', 'nodejs_eventloop_lag_min_seconds', 'nodejs_eventloop_lag_max_seconds', 'peer.ipv4', 'nodejs_active_requests', 'nodejs_active_requests_total', 'nodejs_eventloop_lag_mean_seconds', 'err', 'nodejs_active_resources', 'telemetry.sdk.name', 'net.host.port', 'http.host', 'cloud.region', 'cloud.platform', 'nodejs_external_memory_bytes', 'link', 'net.host.name', 'api.endpoint', 'error', 'net.host.ip', 'span_id', 'nodejs_heap_space_size_available_bytes', 'net.peer.name', 'aws.region', 'cloud.account.id', 'net.peer.port', 'aws.ecs.cluster.arn', 'service.instance.id', 'searchResponse', 'nodejs_active_resources_total', 'workspaceId', 'nodejs_heap_space_size_total_bytes', 'span.kind', 'space', 'telemetry.instrumentation_library', 'net.peer.ip', 'container.cpu.onlines', 'cloud.availability_zone', 'telemetry.sdk.version', 'nodejs_active_handles', 'duration_ms', 'http.status_code', 'db.statement', 'http.route', 'parent_name', 'exception.message', 'name', 'trace.parent_id']",
  "max_new_tokens": 5000
}
Input Parameters
nlq (required) Type: string
cols (required) Type: string
max_new_tokens Type: integerDefault: 5000
The maximum number of tokens the model should generate as output.
Output Schema

Output

Type: arrayItems Type: string

Example Execution Logs
=================
This is the prompt:
[INST] <<SYS>>
Honeycomb AI suggests queries based on user input and candidate columns.
<</SYS>>
User Input: EMISSING endpoint analytics.service.com
Candidate Columns: ['net.transport', 'nodejs_eventloop_lag_p99_seconds', 'nodejs_eventloop_lag_p90_seconds', 'nodejs_version_info', 'http.url', 'nodejs_eventloop_lag_seconds', 'laneId', 'nodejs_eventloop_lag_p50_seconds', 'organization.id', 'workspace.id', 'service.name', 'nodejs_eventloop_lag_min_seconds', 'nodejs_eventloop_lag_max_seconds', 'peer.ipv4', 'nodejs_active_requests', 'nodejs_active_requests_total', 'nodejs_eventloop_lag_mean_seconds', 'err', 'nodejs_active_resources', 'telemetry.sdk.name', 'net.host.port', 'http.host', 'cloud.region', 'cloud.platform', 'nodejs_external_memory_bytes', 'link', 'net.host.name', 'api.endpoint', 'error', 'net.host.ip', 'span_id', 'nodejs_heap_space_size_available_bytes', 'net.peer.name', 'aws.region', 'cloud.account.id', 'net.peer.port', 'aws.ecs.cluster.arn', 'service.instance.id', 'searchResponse', 'nodejs_active_resources_total', 'workspaceId', 'nodejs_heap_space_size_total_bytes', 'span.kind', 'space', 'telemetry.instrumentation_library', 'net.peer.ip', 'container.cpu.onlines', 'cloud.availability_zone', 'telemetry.sdk.version', 'nodejs_active_handles', 'duration_ms', 'http.status_code', 'db.statement', 'http.route', 'parent_name', 'exception.message', 'name', 'trace.parent_id']
[/INST]
Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.
Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.
Version Details
Version ID
668ff1dcc7963acc136a93297422612fd2c35b206bc8c3ce1554c31769ba418f
Version Created
January 5, 2024
Run on Replicate →