Changes to Sample

POST /rl/training-sessions/{session_id}/operations/sample

Every recorded change to this endpoint, newest first. Back to the operation

Changed in 5 of the 15 revisions of this API.4415

  1. 3ad4ab32894812
  2. f26a23fab8e02
  3. ebd4756a41e41
  4. 9ccc57e5e4b9233
  5. 0c4fdad7743518

What changed

  • 3ad4ab32894812See the full diff
    • the response property output/results/items/sequences/items/routed_experts/data became optional for the status 200

      response-property-became-optional

    • added the new optional request property return_routed_experts_object_uri

      new-optional-request-property

    • added the optional property output/results/items/sequences/items/routed_experts/object_uri to the response with the 200 status

      response-optional-property-added

    • added the new optional request property return_routed_experts

      new-optional-request-property

    • added the optional property output/results/items/sequences/items/routed_experts to the response with the 200 status

      response-optional-property-added

    • added the new TRAINING_OPERATION_ERROR_CODE_NON_FINITE_LOSS enum value to the error/code response property for the response status 200

      response-property-enum-value-added

  • 9ccc57e5e4b9233See the full diff
    • added the new required request property model_inputs

      new-required-request-property

    • removed the required property output/rollouts from the response with the 200 status

      response-required-property-removed

    • removed the request property prompts

      request-property-removed

    • removed the request property sampling_params/return_prompt_logprobs

      request-property-removed

    • removed the optional property output/policy_segments from the response with the 200 status

      response-optional-property-removed

    • added the new optional request property prompt_logprobs

      new-optional-request-property

    • added the new optional request property topk_prompt_logprobs

      new-optional-request-property

    • added the required property output/results to the response with the 200 status

      response-required-property-added

    This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 0c4fdad7743518See the full diff
    • the output/rollouts/items/sequences/items/logprobs/items/ response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • added the new optional request property sampling_params/return_prompt_logprobs

      new-optional-request-property

    • the max_tokens request property default value changed from 100 to 512

      request-property-default-value-changed

    • the num_samples request property type/format was generalized from integer/int64 to integer/

      request-property-type-generalized

    • the sampling_params/max_tokens request property type/format was generalized from integer/int32 to integer/

      request-property-type-generalized

    • the sampling_params/temperature request property type/format was generalized from number/float to number/

      request-property-type-generalized

    • the sampling_params/top_k request property type/format was generalized from integer/int32 to integer/

      request-property-type-generalized

    • the sampling_params/top_p request property type/format was generalized from number/float to number/

      request-property-type-generalized

    • added the optional property output/rollouts/items/prompt_logprobs to the response with the 200 status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog