Entropic 2.3.8
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
35struct Message {
36 std::string role;
37 std::string content;
38 std::vector<ContentPart> content_parts;
39 std::unordered_map<std::string, std::string> metadata;
40};
41
42} // namespace entropic
Multimodal content types for messages.
Activate model on GPU (WARM → ACTIVE).
A message in a conversation.
Definition message.h:35
std::vector< ContentPart > content_parts
Multimodal parts (empty for text-only)
Definition message.h:38
std::unordered_map< std::string, std::string > metadata
Arbitrary metadata.
Definition message.h:39
std::string content
Message text content (always populated)
Definition message.h:37
std::string role
Message role.
Definition message.h:36