feedback

Create Feedback Formula Ep

Changed on

Create a new feedback formula

Deprecated: use POST /api/v1/feedback/composite-evaluators instead to create a code evaluator from the feedback formula.

post/api/v1/feedback/formulas

Request

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

Request body

dataset_idstring uuid nullable
session_idstring uuid nullable
feedback_keystring required
aggregation_type'sum' | 'avg' required

Response

Successful Response

dataset_idstring uuid nullable
session_idstring uuid nullable
feedback_keystring required
aggregation_type'sum' | 'avg' required
idstring uuid required
created_atstring date-time required
modified_atstring date-time required

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • info

      endpoint deprecated