nemo_microservices.types.evaluation.target_list_params#

Module Contents#

Classes#

API#

class nemo_microservices.types.evaluation.target_list_params.TargetListParams#

Bases: typing_extensions.TypedDict

filter: nemo_microservices.types.evaluation_target_filter_param.EvaluationTargetFilterParam#

None

Filter targets on various criteria.

page: int#

None

Page number.

page_size: int#

None

Page size.

search: nemo_microservices.types.evaluation.evaluation_target_search_param.EvaluationTargetSearchParam#

None

Search evaluation targets using substring matching.

You can combine multiple search fields and filters.

For example:

  • ?search[name]=llama-eval: searches all targets with ‘llama-eval’ in the name.

  • ?search[type]=model: searches all targets with ‘model’ in the type.

  • ?search[model]=llama: searches all targets with ‘llama’ in the model field.

  • ?search[dataset]=validation: searches all targets with ‘validation’ in the dataset field.

  • ?search[name]=llama-eval&search[type]=model: searches all targets with ‘llama-eval’ in the name AND ‘model’ in the type.

  • ?search[updated_at][start]=2024-01-01T00:00:00 finds all targets updated on or after the start date

  • ?search[created_at][start]=2022-01-01&search[updated_at][end]=2024-01-01 finds all targets created from start date up to and including end date

sort: nemo_microservices.types.shared.generic_sort_field.GenericSortField#

None

The field to sort by.

To sort in decreasing order, use - in front of the field name.