@labelbox/rl-sdk 0.0.149 → 0.0.150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8381,7 +8381,7 @@ export type ManagedAgentsCreateVaultRequest = {
8381
8381
  */
8382
8382
  export type ManagedAgentsDefineOutcomeRequest = {
8383
8383
  /**
8384
- * The task the agent works toward. This starts the session.
8384
+ * The objective the agent works toward, and the statement of it the grader is given. It opens the session when the start request carries no message.
8385
8385
  */
8386
8386
  description: string;
8387
8387
  /**
@@ -8389,7 +8389,7 @@ export type ManagedAgentsDefineOutcomeRequest = {
8389
8389
  */
8390
8390
  grader_model_ref_id?: string;
8391
8391
  /**
8392
- * Revision passes allowed before the loop stops. Defaults to 3, maximum 20.
8392
+ * Ceiling on grader passes before the outcome ends as max_iterations_reached. Omit it, or send 0, to revise until the grader is satisfied, which is the default. Set a number only to cap a rubric you are not sure can be met.
8393
8393
  */
8394
8394
  max_iterations?: number;
8395
8395
  /**
@@ -9948,7 +9948,7 @@ export type ManagedAgentsOutcome = {
9948
9948
  */
9949
9949
  defined_by_event_id?: string;
9950
9950
  /**
9951
- * Task the agent works toward, in prose. Supplied at session start in place of an opening message.
9951
+ * Objective the agent works toward, in prose, and the statement of it quoted to the grader. Opens the session when the start request carries no message.
9952
9952
  */
9953
9953
  description?: string;
9954
9954
  /**
@@ -9964,7 +9964,7 @@ export type ManagedAgentsOutcome = {
9964
9964
  */
9965
9965
  grader_model_ref_id?: string;
9966
9966
  /**
9967
- * Ceiling on grader passes before the outcome ends as max_iterations_reached. Defaults to 3; 20 is the maximum accepted.
9967
+ * Ceiling on grader passes before the outcome ends as max_iterations_reached. Zero means unbounded, which is the default: the loop runs until the grader is satisfied.
9968
9968
  */
9969
9969
  max_iterations?: number;
9970
9970
  /**
@@ -11061,7 +11061,7 @@ export type ManagedAgentsSkillVersionListResponse = {
11061
11061
  skill_versions?: unknown;
11062
11062
  };
11063
11063
  /**
11064
- * Request body for starting a session: which agent to run, the environment to run it in, the vault grants it receives, and the opening message or outcome that gives it work.
11064
+ * Request body for starting a session: which agent to run, the environment to run it in, the vault grants it receives, and the opening message and/or outcome that gives it work.
11065
11065
  */
11066
11066
  export type ManagedAgentsStartSessionRequest = {
11067
11067
  /**
@@ -11089,7 +11089,7 @@ export type ManagedAgentsStartSessionRequest = {
11089
11089
  */
11090
11090
  idempotency_key?: string;
11091
11091
  /**
11092
- * Opening user message for the session.
11092
+ * Opening user message for the session, and the context the agent works from. Send it alongside an outcome to supply facts the agent needs without making them part of what the grader measures; the grader never sees it. Kept in the session's system prompt for the whole run, so context compaction cannot summarize it away.
11093
11093
  */
11094
11094
  message?: string;
11095
11095
  outcome?: ManagedAgentsDefineOutcomeRequest;
@@ -47212,7 +47212,7 @@ export const SDK_REFERENCE = {
47212
47212
  in: 'body',
47213
47213
  required: true,
47214
47214
  type: 'string',
47215
- description: 'The task the agent works toward. This starts the session.',
47215
+ description: 'The objective the agent works toward, and the statement of it the grader is given. It opens the session when the start request carries no message.',
47216
47216
  },
47217
47217
  {
47218
47218
  name: 'grader_model_ref_id',
@@ -47226,7 +47226,7 @@ export const SDK_REFERENCE = {
47226
47226
  in: 'body',
47227
47227
  required: false,
47228
47228
  type: 'integer',
47229
- description: 'Revision passes allowed before the loop stops. Defaults to 3, maximum 20.',
47229
+ description: 'Ceiling on grader passes before the outcome ends as max_iterations_reached. Omit it, or send 0, to revise until the grader is satisfied, which is the default. Set a number only to cap a rubric you are not sure can be met.',
47230
47230
  format: 'int64',
47231
47231
  },
47232
47232
  {
@@ -47264,7 +47264,7 @@ export const SDK_REFERENCE = {
47264
47264
  name: 'description',
47265
47265
  required: false,
47266
47266
  type: 'string',
47267
- description: 'Task the agent works toward, in prose. Supplied at session start in place of an opening message.',
47267
+ description: 'Objective the agent works toward, in prose, and the statement of it quoted to the grader. Opens the session when the start request carries no message.',
47268
47268
  },
47269
47269
  {
47270
47270
  name: 'ended_at',
@@ -47461,7 +47461,7 @@ export const SDK_REFERENCE = {
47461
47461
  name: 'max_iterations',
47462
47462
  required: false,
47463
47463
  type: 'integer',
47464
- description: 'Ceiling on grader passes before the outcome ends as max_iterations_reached. Defaults to 3; 20 is the maximum accepted.',
47464
+ description: 'Ceiling on grader passes before the outcome ends as max_iterations_reached. Zero means unbounded, which is the default: the loop runs until the grader is satisfied.',
47465
47465
  format: 'int64',
47466
47466
  },
47467
47467
  {
@@ -54523,20 +54523,20 @@ export const SDK_REFERENCE = {
54523
54523
  in: 'body',
54524
54524
  required: false,
54525
54525
  type: 'string',
54526
- description: 'Opening user message for the session.',
54526
+ description: "Opening user message for the session, and the context the agent works from. Send it alongside an outcome to supply facts the agent needs without making them part of what the grader measures; the grader never sees it. Kept in the session's system prompt for the whole run, so context compaction cannot summarize it away.",
54527
54527
  },
54528
54528
  {
54529
54529
  name: 'outcome',
54530
54530
  in: 'body',
54531
54531
  required: false,
54532
54532
  type: 'ManagedAgentsDefineOutcomeRequest',
54533
- description: "Optional definition of done, graded against a rubric. Its description is the task, so send an outcome or a message, not both. Omit to inherit the agent version's default_rubric when it defines one, graded against this request's message; an outcome sent here is used as given and the agent default is ignored entirely.",
54533
+ description: "Optional definition of done, graded against a rubric. Its description is the objective and is quoted to the grader; send a message alongside it for context the grader should not see. With no message the description opens the session. Omit to inherit the agent version's default_rubric when it defines one, graded against this request's message; an outcome sent here is used as given and the agent default is ignored entirely.",
54534
54534
  fields: [
54535
54535
  {
54536
54536
  name: 'description',
54537
54537
  required: true,
54538
54538
  type: 'string',
54539
- description: 'The task the agent works toward. This starts the session.',
54539
+ description: 'The objective the agent works toward, and the statement of it the grader is given. It opens the session when the start request carries no message.',
54540
54540
  },
54541
54541
  {
54542
54542
  name: 'grader_model_ref_id',
@@ -54548,7 +54548,7 @@ export const SDK_REFERENCE = {
54548
54548
  name: 'max_iterations',
54549
54549
  required: false,
54550
54550
  type: 'integer',
54551
- description: 'Revision passes allowed before the loop stops. Defaults to 3, maximum 20.',
54551
+ description: 'Ceiling on grader passes before the outcome ends as max_iterations_reached. Omit it, or send 0, to revise until the grader is satisfied, which is the default. Set a number only to cap a rubric you are not sure can be met.',
54552
54552
  format: 'int64',
54553
54553
  },
54554
54554
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@labelbox/rl-sdk",
3
- "version": "0.0.149",
3
+ "version": "0.0.150",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",