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
14
#include <
entropic/types/content.h
>
15
16
#include <string>
17
#include <vector>
18
#include <unordered_map>
19
20
namespace
entropic
{
21
35
struct
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
content.h
Multimodal content types for messages.
entropic
Activate model on GPU (WARM → ACTIVE).
Definition
bundled_models.h:20
entropic::Message
A message in a conversation.
Definition
message.h:35
entropic::Message::content_parts
std::vector< ContentPart > content_parts
Multimodal parts (empty for text-only)
Definition
message.h:38
entropic::Message::metadata
std::unordered_map< std::string, std::string > metadata
Arbitrary metadata.
Definition
message.h:39
entropic::Message::content
std::string content
Message text content (always populated)
Definition
message.h:37
entropic::Message::role
std::string role
Message role.
Definition
message.h:36
entropic
types
message.h
Generated by
1.9.8