evaluators

Create evaluator

Changed on

Create a new LLM or code evaluator for the current workspace.

post/api/v1/platform/evaluators

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/platform/evaluators
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Request body

namestring
type'llm' | 'code' | 'decision_model'

Response

Created

Changes

    • warning

      added the new decision_model enum value to the / response property for the response status

    • info

      added the new decision_model enum value to the request property

    • warning

      added the new trajectory enum value to the /////// response property for the response status

    • info

      added the new trajectory enum value to the request property //////