Entropic 2.11.1
Local-first agentic inference engine
Loading...
Searching...
No Matches
message.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
12#pragma once
13
15
16#include <string>
17#include <vector>
18#include <unordered_map>
19
20namespace entropic {
21
36struct Message {
37 std::string role;
38 std::string content;
39 std::vector<ContentPart> content_parts;
40 std::unordered_map<std::string, std::string> metadata;
41};
42
43} // namespace entropic
Multimodal content types for messages.
Activate model on GPU (WARM → ACTIVE).
A message in a conversation.
Definition message.h:36
std::vector< ContentPart > content_parts
Multimodal parts (empty for text-only)
Definition message.h:39
std::unordered_map< std::string, std::string > metadata
Arbitrary metadata.
Definition message.h:40
std::string content
Message text content (always populated)
Definition message.h:38
std::string role
Message role.
Definition message.h:37