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
Is It Possible To Add Just A String Or Some Other Object As An Artifact? If Yes, Then How?

Is it possible to add just a string or some other object as an artifact? if yes, then how?

Posted 2 years ago
Votes Newest

Answers 5

Yes & Yes.
task.upload_artifact('test_artifact', artifact_object='foobar')
You can save a string, however please note that in the end it will be saved as a file and not a pythonic object. If you want to keep your object, you can pickle it 🙂

Posted 2 years ago

Hi VexedCat68

txt file or pkl file?

If this is a string , it just stored it (not as a file, this is considered a "link")

Posted 2 years ago

AgitatedDove14 Just wanted to confirm in what kind of file is the string artifact stored in? txt file or pkl file?

Posted 2 years ago

Alright, but is it saved as a text file or pickle file?

Posted 2 years ago

in case of a string and incase of an object?

Posted 2 years ago
5 Answers
2 years ago
one year ago