Understand how to query your LLM application logs using HoneyHive’s Data Schema Language.
Field | Subfield | Type | Required | Description |
---|---|---|---|---|
project | String | Yes | The unique identifier or name of the project you want to query. | |
filters | List of filters | No | An array of filter objects to narrow down the results based on specific criteria. | |
field | String | Yes* | The name of the field you want to filter by, such as metadata.cost , inputs.chat_history.content . | |
value | SDK specific | Yes* | The value that the specified field should match or satisfy based on the operator. | |
operator | SDK specific | Yes* | The comparison operator for the filter. Supported operators include “is”, “is not”, “contains”, “not contains”, and “greater than”. | |
dateRange | Object | No | An object specifying the date range to filter the results by. | |
$gte | ISO 8601 DateTime String | No | The start of the date range filter, represented as an ISO 8601 formatted date-time string (e.g., 2024-04-01T22:38:19.000Z ). | |
$lte | ISO 8601 DateTime String | No | The end of the date range filter, represented as an ISO 8601 formatted date-time string (e.g., 2024-04-01T22:38:19.000Z ). | |
limit | Integer | No | The maximum number of results to return per page. Must be an integer between 1 and 1000 (inclusive). If not provided, the default limit is used. | |
page | Integer | No | The page number of the results to retrieve. Must be a positive integer. If not provided, the first page is returned. |
Context Relevance
evaluator running on them.
To retrieve all the ‘model’ events that have a Context Relevance
score above a specific threshold (e.g., 3), use the following query:
rating
on them.
To retrieve all the ‘model’ events that have a rating
score above a specific threshold (e.g., 3), use the following query:
metadata.experiment-id
.
To retrieve all the ‘model’ events that have a specific value for experiment-id
, use the following query: