constraints
Generate Ner Constraints Endpoint
Changed onGenerate constraints for NER tasks.
Args: request: Labels and optional domain description for the NER task. auth: Authenticated caller.
Returns: Generated constraints with an estimated token usage figure.
Raises: HTTPException: 500 when constraint generation fails.
post/v1/constraints/ner
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info