|
ember.cpp 0.1.0
C++ inference engine for Llama-family and paperkiln models (CPU, CUDA, WebAssembly)
|
#include <chat_template.h>

Public Member Functions | |
| Message ()=default | |
| Message (std::string r, std::string c, int l=-1) | |
Public Attributes | |
| std::string | role |
| std::string | content |
| int | loss = -1 |
| bool | has_tool_calls = false |
| std::vector< ToolCall > | tool_calls |
| bool | has_tool_call_id = false |
| std::string | tool_call_id |
| bool | tool_call_id_null = false |
Definition at line 357 of file chat_template.h.
|
default |
|
inline |
Definition at line 367 of file chat_template.h.
| std::string microtorch::chat::Message::content |
Definition at line 358 of file chat_template.h.
Definition at line 362 of file chat_template.h.
Definition at line 360 of file chat_template.h.
| int microtorch::chat::Message::loss = -1 |
Definition at line 359 of file chat_template.h.
| std::string microtorch::chat::Message::role |
Definition at line 358 of file chat_template.h.
Referenced by microtorch::chat::messages_from_json().
| std::string microtorch::chat::Message::tool_call_id |
Definition at line 363 of file chat_template.h.
Definition at line 364 of file chat_template.h.
| std::vector<ToolCall> microtorch::chat::Message::tool_calls |
Definition at line 361 of file chat_template.h.