Skip to content
Navigation

Record run feedback

Record feedback for a run to LangSmith. Requires an authenticated caller.

This is a simple wrapper for the LangSmith create_feedback API, so the credentials can be stored and managed in the service rather than the client. See: https://api.smith.langchain.com/redoc#tag/feedback/operation/create_feedback_api_v1_feedback_post

POST
https://truememory-api.mvstg.com/feedback
View as Markdown

Authorization

  • HTTPBearerHTTPrequired

Header parameters

  • X-On-Behalf-Ofoptional

    One of the following:

    • string
    • null
  • X-External-User-Idoptional

    One of the following:

    • string
    • null
  • X-App-Idoptional

    One of the following:

    • string
    • null

Request bodyJSONrequired

  • run_idstringrequired

    Run ID to record feedback for.

  • keystringrequired

    Feedback key.

  • scorenumberrequired

    Feedback score.

  • kwargsoptionalobject

    Additional feedback kwargs, passed to LangSmith.

    default: {}

Returns

200

Successful Response

JSON
  • statusoptionalstring
    default: "success"

422

Validation Error
JSON
  • detailoptionalarray ofobject
    • locarray ofrequired

      One of the following:

      • string
      • integer
    • msgstringrequired
    • typestringrequired
    • inputoptionalunknown
    • ctxoptionalobject

Type to search…

↑↓ navigate↵ selectEsc close