|
Entropic 2.3.8
Local-first agentic inference engine
|
A single content part within a multimodal message. More...
#include <entropic/types/content.h>
Public Attributes | |
| ContentPartType | type |
| Part type discriminant. | |
| std::string | text |
| Text content (type == TEXT) | |
| std::string | image_path |
| Local file path (type == IMAGE) | |
| std::string | image_url |
| URL or data URI (type == IMAGE) | |
| int | width = 0 |
| Image width after preprocessing (0 = not yet processed) | |
| int | height = 0 |
| Image height after preprocessing (0 = not yet processed) | |
A single content part within a multimodal message.
Messages with simple string content are represented as a single TEXT part. Multimodal messages have multiple parts. The engine preserves part ordering — image position relative to text matters for some models.
| int entropic::ContentPart::height = 0 |
| std::string entropic::ContentPart::image_path |
| std::string entropic::ContentPart::image_url |
| std::string entropic::ContentPart::text |
| ContentPartType entropic::ContentPart::type |
| int entropic::ContentPart::width = 0 |