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
Hi! I Am Trying To Update Existing Models That Were Already Created By Some Model Registration Task. I Can Not Find In The Documentation If It Is Possible To Update The Model'S Tag Programmatically? There Is A Way To Update The Model'S Tag From The Web Pa

Hi! I am trying to update existing models that were already created by some model registration task.
I can not find in the documentation if it is possible to update the model's tag programmatically?
There is a way to update the model's tag from the web page like in the image below. But, I need to update multiple models and with different tags, so need to find a way to do it from SDK.
image

  
  
Posted one year ago
Votes Newest

Answers 6


@<1523701087100473344:profile|SuccessfulKoala55> The Model object does not seem to have the update method, is there a different version of SDK you are looking at?

  
  
Posted one year ago

Oh, I apologize, I was looking at the underlying implementation. For the model class, you can simply use the tags setter (which calls update under the hood)

  
  
Posted one year ago

Hi @<1523703652059975680:profile|ThickKitten19> , programmatically, you just need to load the model object and use the update() method

  
  
Posted one year ago

Oh, I see! Apparently, there are no tags setter in the documentation, even though it is in the source code itself. Thanks!

  
  
Posted one year ago

Is there a way we can update the docs webpage?

  
  
Posted one year ago

You can do that by loading the models yourself, or using the task's models property

  
  
Posted one year ago