Scorers

Create a scorer object.

post/v2/{entity}/{project}/scorers

Request

  • Base URL
    https://trace.wandb.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://trace.wandb.ai/v2/{entity}/{project}/scorers
  • Auth
    none declared

Path parameters

entitystring required
projectstring required

Request body

namestring required

The name of this scorer. Scorers with the same name will be versioned together.

descriptionstring nullable

A description of this scorer

op_source_codestring required

Complete source code for the Scorer.score op including imports

Response

Successful Response

digeststring required

The digest of the created scorer

object_idstring required

The ID of the created scorer

version_indexinteger required

The version index of the created scorer

scorerstring required

Full reference to the created scorer

Changes

    • info

      the endpoint scheme security HTTPBasic was removed from the API

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      endpoint added