What are Generation Types?
Generation types define what kind of output your prompt will produce. AgentMark supports four types of generation, each optimized for different use cases:- Text - Natural language responses for chatbots, content generation, and analysis
- Object - Structured JSON data with schema validation for APIs and data extraction
- Image - Visual content generation using models like DALL-E
- Speech - Audio output for voice applications and text-to-speech
Choosing the Right Type
| Type | Best For | Output Format | Example Use Cases |
|---|---|---|---|
| Text | Conversational AI, content writing | String | Chatbots, summarization, Q&A |
| Object | Structured data extraction | JSON with schema | Form parsing, data normalization, API responses |
| Image | Visual content creation | Image file | Marketing assets, illustrations, prototypes |
| Speech | Voice applications | Audio file | Podcasts, audiobooks, voice assistants |