Prompts

✨ List few-shot examples

Changed on

CRUD API for managing few-shot examples on a ThirdPartyModelVersion.

get/api/prompts/{prompt_id}/versions/{version_id}/few-shot-examples

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/prompts/{prompt_id}/versions/{version_id}/few-shot-examples
  • Auth
    API key in header Authorization

Path parameters

prompt_idinteger required
version_idinteger required

Query parameters

orderingstring

Which field to use when ordering the results.

Response

annotationinteger required
annotation_resultobject[] required
created_atstring date-time required
idinteger required
orderinteger
taskinteger required
task_dataobject required

Changes

    • breaking

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

    • breaking

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