Arize Phoenix TS
Preparing search index...
@arizeai/phoenix-client
schemas/llm/anthropic/converters
anthropicToolCallToOpenAI
Variable anthropicToolCallToOpenAI
Const
anthropicToolCallToOpenAI
:
ZodPipe
<
ZodObject
<
{
id
:
ZodString
;
input
:
ZodType
<
JSONLiteral
,
unknown
,
$ZodTypeInternals
<
JSONLiteral
,
unknown
>
,
>
;
name
:
ZodString
;
type
:
ZodLiteral
<
"tool_use"
>
;
}
,
$strip
,
>
,
ZodTransform
<
{
function
:
{
arguments
:
string
;
name
:
string
;
[
key
:
string
]:
unknown
}
;
id
:
string
;
type
:
"function"
;
}
,
{
id
:
string
;
input
:
JSONLiteral
;
name
:
string
;
type
:
"tool_use"
}
,
>
,
>
= ...
Parse incoming object as an Anthropic tool call and immediately convert to OpenAI format
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Arize Phoenix TS
Loading...
Parse incoming object as an Anthropic tool call and immediately convert to OpenAI format