Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
content.h File Reference

Multimodal content types for messages. More...

#include <string>
#include <vector>
Include dependency graph for content.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  entropic::ContentPart
 A single content part within a multimodal message. More...
 

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Enumerations

enum class  entropic::ContentPartType { entropic::TEXT , entropic::IMAGE }
 Content part type discriminant. More...
 

Functions

std::string entropic::extract_text (const std::vector< ContentPart > &parts)
 Extract concatenated text from content parts.
 
bool entropic::has_images (const std::vector< ContentPart > &parts)
 Check if content parts contain any image parts.
 

Detailed Description

Multimodal content types for messages.

Defines ContentPart and ContentPartType for representing mixed text/image message content. Included by message.h — keep deps minimal (string, vector, cstdint only).

Version
1.9.11

Definition in file content.h.