Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey, I Have One Query.

Hey, I have one query.
model = Model.query_models(project_name = global_config.PROJECT_NAME, model_name="model training",max_results=1)

is there any way it can be done using task id. Right now it is fetching the top most model of that project?

  
  
Posted 10 months ago
Votes Newest

Answers 2


Hi @<1585078763312386048:profile|ArrogantButterfly10> , you can fetch a task using it's id. Then with the task object in hand you can find the model in the artifacts section. For ease of use I suggest playing with dir(task) in python

  
  
Posted 10 months ago

Also it is returning empty list if I am using tags
model = Model.query_models(project_name = global_config.PROJECT_NAME, model_name="model training", tags = ['$all','best'])

  
  
Posted 10 months ago
555 Views
2 Answers
10 months ago
10 months ago
Tags