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
Good Evening! For Agent Work Please Tell Me If It Is Possible To Specify The Location Of Requirements.Txt In Tack.Init(), Because I Have Correctly Identified The Versions Of The Libraries Used In The Project

Good evening!

for agent work
Please tell me if it is possible to specify the location of requirements.txt in tack.init(), because I have correctly identified the versions of the libraries used in the project

  
  
Posted 2 years ago
Votes Newest

Answers 7


Hi CheerfulGorilla72
the "installed packages" section is used as "requirements.txt for the agent.
Are you saying the autodetection fails to detect all packages? You can specify in "manual execution" (i.e not when the agent is running the code), to just take the requirements.txt locally:` Task.force_requirements_env_freeze(requirements_file="./requirements.txt")

notice the above call should be executed Before Task.init

task = Task.init(...) `3. If you clear all the "installed packages" section in the UI, the agent will revert to using requirements.txt from the git repository itself.
wdyt?

  
  
Posted 2 years ago

great, point 2 sounds like the right thing!)

  
  
Posted 2 years ago

please tell me, is it possible to somehow make it so that costomous fakets, which are not in the public domain, would be used?

for example, if I somehow start the execution of an agent task in a specific docker container?)

  
  
Posted 2 years ago

Thank you very much for your help and for such a convenient product!)
I haven't figured out the alents yet, but it already looks amazing!)

  
  
Posted 2 years ago

for example, if I somehow start the execution of an agent task in a specific docker container?)

You mean to specify the container from code? or to make sure the agent can access private docker container registry ? Or is it for private pypi container repository ?

  
  
Posted 2 years ago

  1. specify container from UI

  2. libraries in the ubuntu repository have not yet reached their pip / pypi repository

  
  
Posted 2 years ago

In the UI you can edit the base container image + add "SETUP SHELL SCRIPT", with any missing "apt update && apt-get install -y ..."

  
  
Posted 2 years ago
1K Views
7 Answers
2 years ago
one year ago
Tags