Safety Generation Types#
-
struct MessageContent
Public Members
-
std::string type
“text” or “image”; image bytes are supplied through imageBuffers.
-
std::string content
-
std::string type
-
struct ImageData#
Borrowed, tightly packed RGB UINT8 host pixels; storage outlives handleRequest().
-
struct LLMGenerationRequest#
Caller prepares input containers before handleRequest(); the runtime only reads them. The initial InternVL recipe admits one request with one image and uses greedy decoding.
-
struct Request#
-
struct Request#
-
struct Request
-
struct LLMGenerationResponse#
Caller sizes the outer vectors to one and reserves token/text capacity before handleRequest(). Operational processing writes within that capacity; outputs are valid only on success.