llm
Infer Schema
Analyze sample text and/or uploaded files, and propose a JSON Schema describing the entity types
and relationships present. The returned schema can be passed directly to
/v1/llm/custom-prompt or /v1/cognify.
Request Parameters
- data (List[UploadFile]): Files to load and sample as input for schema inference; at least one file or text is required.
- parameters (str): JSON string of additional kwargs forwarded to LLMGateway. Defaults to ’{}’.
- text (str): Sample text to analyze for schema inference; at least one file or text is required.
POST
Infer Schema
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
Response
Successful Response