Generation types define what kind of output your prompt will produce. AgentMark supports four types, each optimized for different use cases:Documentation Index
Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt
Use this file to discover all available pages before exploring further.
- 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 3
- Speech — Spoken audio 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 |
Configuration
Each generation type is configured in the prompt’s frontmatter using a specific config key:Loading prompts
Use the appropriate loader method based on your generation type:Detailed guides
Text generation
Natural language responses with conversation history
Object generation
Structured JSON with schema validation
Image generation
Visual content with DALL-E and similar models
Speech generation
Audio synthesis with voice customization
Have Questions?
We’re here to help! Choose the best way to reach us:
- Email us at hello@agentmark.co for support
- Schedule an Enterprise Demo to learn about our business solutions