Expand description
Classifier and image-generation requests and results.
Mirrors ClassifierContext, ClassifierResult, ImagesContext and
AssistantImages in packages/ai/src/types.ts in pi v1.0.0.
Structs§
- Assistant
Images - Images, and any text, an image model returned.
- Bool
Criteria - The meaning of each answer of a
boolquestion. - Classifier
Context - What a classifier judges, and the questions to answer about it.
- Classifier
Result - A classification’s answers, by question id.
- Images
Context - The prompt and reference images of an image request.
Enums§
- Classifier
Answer - One answer, tagged by
type. - Classifier
Question - One question about the state, tagged by
type. - Images
Content - A text or image block of an image request or result.
- Outcome
Reason - How a classification or image request ended.