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