Arize Phoenix TS
Preparing search index...
@arizeai/phoenix-client
schemas/llm/anthropic/messagePartSchemas
anthropicMessagePartSchema
Variable anthropicMessagePartSchema
Const
anthropicMessagePartSchema
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
text
:
ZodString
;
type
:
ZodLiteral
<
"text"
>
}
,
$strip
>
,
ZodObject
<
{
source
:
ZodObject
<
{
data
:
ZodString
;
media_type
:
ZodEnum
<
{
"image/gif"
:
"image/gif"
;
"image/jpeg"
:
"image/jpeg"
;
"image/png"
:
"image/png"
;
"image/webp"
:
"image/webp"
;
}
,
>
;
type
:
ZodLiteral
<
"base64"
>
;
}
,
$strip
,
>
;
type
:
ZodLiteral
<
"image"
>
;
}
,
$strip
,
>
,
ZodObject
<
{
id
:
ZodString
;
input
:
ZodType
<
JSONLiteral
,
unknown
,
$ZodTypeInternals
<
JSONLiteral
,
unknown
>
,
>
;
name
:
ZodString
;
type
:
ZodLiteral
<
"tool_use"
>
;
}
,
$strip
,
>
,
ZodObject
<
{
content
:
ZodUnion
<
readonly
[
ZodString
,
ZodArray
<
ZodUnion
<
readonly
[
ZodObject
<
{
text
:
...
;
type
:
...
}
,
$strip
>
,
ZodObject
<
{
source
:
...
;
type
:
...
}
,
$strip
>
,
]
,
>
,
>
,
]
,
>
;
is_error
:
ZodOptional
<
ZodBoolean
>
;
tool_use_id
:
ZodString
;
type
:
ZodLiteral
<
"tool_result"
>
;
}
,
$strip
,
>
,
]
,
"type"
,
>
= ...
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Arize Phoenix TS
Loading...