Prompts
✨ Update a few-shot example
Changed onCRUD API for managing few-shot examples on a ThirdPartyModelVersion.
patch/api/prompts/{prompt_id}/versions/{version_id}/few-shot-examples/{id}
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/api/prompts/{prompt_id}/versions/{version_id}/few-shot-examples/{id}
- AuthAPI key in header Authorization
Path parameters
idinteger required
prompt_idinteger required
version_idinteger required
Request body
Response
Changes
- breaking
the
response's property type changed fromstringtoarrayfor status - breaking
the
response's property type changed fromstringtoobjectfor status
- breaking