diff --git a/src/content/docs/ai-gateway/evaluations/set-up-evaluations.mdx b/src/content/docs/ai-gateway/evaluations/set-up-evaluations.mdx index ec7db10020eb142..8fa842320959aff 100644 --- a/src/content/docs/ai-gateway/evaluations/set-up-evaluations.mdx +++ b/src/content/docs/ai-gateway/evaluations/set-up-evaluations.mdx @@ -24,6 +24,24 @@ Please keep in mind that datasets currently use `AND` joins, so there can only b ::: +### List of available filters + +| Filter category | Filter options | Filter by description | +| --------------- | ------------------------------------------------------------ | ----------------------------------------- | +| Status | error, status | error type or status. | +| Cache | cached, not cached | based on whether they were cached or not. | +| Provider | specific providers | the selected AI provider. | +| AI Models | specific models | the selected AI model. | +| Cost | less than, greater than | cost, specifying a threshold. | +| Request type | Universal, Workers AI Binding, WebSockets | the type of request. | +| Tokens | Total tokens, Tokens In, Tokens Out | token count (less than or greater than). | +| Duration | less than, greater than | request duration. | +| Feedback | equals, does not equal (thumbs up, thumbs down, no feedback) | feedback type. | +| Metadata Key | equals, does not equal | specific metadata keys. | +| Metadata Value | equals, does not equal | specific metadata values. | +| Log ID | equals, does not equal | a specific Log ID. | +| Event ID | equals, does not equal | a specific Event ID. | + ## 2. Select evaluators After creating a dataset, choose the evaluation parameters: diff --git a/src/content/docs/ai-gateway/observability/logging/index.mdx b/src/content/docs/ai-gateway/observability/logging/index.mdx index 32b577f7bdcf3c7..599975e783fa8a4 100644 --- a/src/content/docs/ai-gateway/observability/logging/index.mdx +++ b/src/content/docs/ai-gateway/observability/logging/index.mdx @@ -62,3 +62,21 @@ This setting is useful for maintaining continuous logging while staying within t ### Manual deletion To manually delete logs, navigate to the Logs tab in the dashboard. Use the available filters such as status, cache, provider, cost, or any other options in the dropdown to refine the logs you wish to delete. Once filtered, select Delete logs to complete the action. + +See full list of available filters and their descriptions below: + +| Filter category | Filter options | Filter by description | +| --------------- | ------------------------------------------------------------ | ----------------------------------------- | +| Status | error, status | error type or status. | +| Cache | cached, not cached | based on whether they were cached or not. | +| Provider | specific providers | the selected AI provider. | +| AI Models | specific models | the selected AI model. | +| Cost | less than, greater than | cost, specifying a threshold. | +| Request type | Universal, Workers AI Binding, WebSockets | the type of request. | +| Tokens | Total tokens, Tokens In, Tokens Out | token count (less than or greater than). | +| Duration | less than, greater than | request duration. | +| Feedback | equals, does not equal (thumbs up, thumbs down, no feedback) | feedback type. | +| Metadata Key | equals, does not equal | specific metadata keys. | +| Metadata Value | equals, does not equal | specific metadata values. | +| Log ID | equals, does not equal | a specific Log ID. | +| Event ID | equals, does not equal | a specific Event ID. |