Variable GetPromptResultSchemaConst
GetPromptResultSchema: ZodObject<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
description: ZodOptional<ZodString>;
messages: ZodArray<
ZodObject<
{
content: ZodUnion<
[
ZodObject<
{
_meta: ZodOptional<(...)>;
text: ZodString;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ _meta: ...; text: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ _meta: ...; text: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
_meta: ZodOptional<(...)>;
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
_meta: ZodOptional<(...)>;
data: ZodString;
mimeType: ZodString;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
extendShape<extendShape<(...), (...)>, { type: ... }>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<(...), (...)>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<(...), (...)>,
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
_meta: ZodOptional<(...)>;
resource: ZodUnion<(...)>;
type: ZodLiteral<(...)>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ _meta: ...; resource: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ _meta: ...; resource: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
content: ZodUnion<
[
ZodObject<
{ _meta: ...; text: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
extendShape<(...), (...)>,
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; resource: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
content: ZodUnion<
[
ZodObject<
{ _meta: ...; text: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
extendShape<(...), (...)>,
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; resource: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
},
>,
"passthrough",
ZodTypeAny,
objectOutputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
description: ZodOptional<ZodString>;
messages: ZodArray<
ZodObject<
{
content: ZodUnion<
[
ZodObject<
{ _meta: ...; text: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
extendShape<(...), (...)>,
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; resource: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
content: ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
content: ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
},
>,
ZodTypeAny,
"passthrough",
>,
objectInputType<
extendShape<
{
_meta: ZodOptional<
ZodObject<
{},
"passthrough",
ZodTypeAny,
objectOutputType<{}, ZodTypeAny, "passthrough">,
objectInputType<{}, ZodTypeAny, "passthrough">,
>,
>;
},
{
description: ZodOptional<ZodString>;
messages: ZodArray<
ZodObject<
{
content: ZodUnion<
[
ZodObject<
{ _meta: ...; text: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; data: ...; mimeType: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
extendShape<(...), (...)>,
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
{ _meta: ...; resource: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
content: ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
content: ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>;
role: ZodEnum<["user", "assistant"]>;
},
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
},
>,
ZodTypeAny,
"passthrough",
>,
> = ...
The server's response to a prompts/get request from the client.