35 lines
1004 B
TypeScript
35 lines
1004 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { InferenceFilter } from "./InferenceFilter";
|
|
import type { InferenceOutputSource } from "./InferenceOutputSource";
|
|
|
|
/**
|
|
* Request to count inferences matching the given parameters.
|
|
*/
|
|
export type CountInferencesRequest = {
|
|
/**
|
|
* Optional function name to filter inferences by.
|
|
*/
|
|
function_name?: string;
|
|
/**
|
|
* Optional variant name to filter inferences by.
|
|
*/
|
|
variant_name?: string;
|
|
/**
|
|
* Optional episode ID to filter inferences by.
|
|
*/
|
|
episode_id?: string;
|
|
/**
|
|
* Source of the inference output. When set to "demonstration", only inferences
|
|
* with demonstration feedback will be counted.
|
|
*/
|
|
output_source?: InferenceOutputSource;
|
|
/**
|
|
* Optional filter to apply when counting inferences.
|
|
*/
|
|
filters?: InferenceFilter;
|
|
/**
|
|
* Experimental: search query to filter inferences by.
|
|
*/
|
|
search_query_experimental?: string;
|
|
};
|