File tree Expand file tree Collapse file tree
src/runloop_api_client/sdk Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ def add_bash_script_scorer(
211211 bash_script : str ,
212212 weight : float = 1.0 ,
213213 ) -> Self :
214- """Add a bash script scorer.
214+ """Add a standalone bash script scorer.
215215
216216 The script should output "score=X.X" where X.X is a float between 0.0 and 1.0, inclusive.
217217
@@ -239,7 +239,10 @@ def add_python_script_scorer(
239239 python_version_constraint : Optional [str ] = None ,
240240 requirements_contents : Optional [str ] = None ,
241241 ) -> Self :
242- """Add a Python script scorer.
242+ """Add a standalone Python script scorer.
243+
244+ The script is run in an isolated uv environment, and the dependencies are declared in the
245+ `uv script header <https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies>`__.
243246
244247 The script should print the score in the range [0.0, 1.0] to stdout.
245248
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ def add_bash_script_scorer(
211211 bash_script : str ,
212212 weight : float = 1.0 ,
213213 ) -> Self :
214- """Add a bash script scorer.
214+ """Add a standalone bash script scorer.
215215
216216 The script should output "score=X.X" where X.X is a float between 0.0 and 1.0, inclusive.
217217
@@ -239,7 +239,10 @@ def add_python_script_scorer(
239239 python_version_constraint : Optional [str ] = None ,
240240 requirements_contents : Optional [str ] = None ,
241241 ) -> Self :
242- """Add a Python script scorer.
242+ """Add a standalone Python script scorer.
243+
244+ The script is run in an isolated uv environment, and the dependencies are declared in the
245+ `uv script header <https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies>`__.
243246
244247 The script should print the score in the range [0.0, 1.0] to stdout.
245248
You can’t perform that action at this time.
0 commit comments