@encorp.ai/llm-open-proxy - v0.2.2
Home
OpenAPI
GitHub
Preparing search index...
AnthropicRequest
Interface AnthropicRequest
interface
AnthropicRequest
{
model
:
string
;
messages
:
{
role
:
"user"
|
"assistant"
;
content
:
string
|
AnthropicContentBlock
[]
;
}
[]
;
system
?:
string
;
max_tokens
:
number
;
temperature
?:
number
;
stream
?:
boolean
;
tools
?:
{
name
:
string
;
description
?:
string
;
input_schema
:
Record
<
string
,
unknown
>
;
}
[]
;
tool_choice
?:
{
type
:
"tool"
|
"auto"
|
"none"
|
"any"
;
name
?:
string
}
;
output_config
?:
{
format
:
{
type
:
"json_schema"
;
schema
:
Record
<
string
,
unknown
>
}
;
}
;
[
key
:
string
]:
unknown
;
}
Indexable
[
key
:
string
]:
unknown
Index
Properties
model
messages
system?
max_
tokens
temperature?
stream?
tools?
tool_
choice?
output_
config?
Properties
model
model
:
string
messages
messages
:
{
role
:
"user"
|
"assistant"
;
content
:
string
|
AnthropicContentBlock
[]
;
}
[]
Optional
system
system
?:
string
max_
tokens
max_tokens
:
number
Optional
temperature
temperature
?:
number
Optional
stream
stream
?:
boolean
Optional
tools
tools
?:
{
name
:
string
;
description
?:
string
;
input_schema
:
Record
<
string
,
unknown
>
;
}
[]
Optional
tool_
choice
tool_choice
?:
{
type
:
"tool"
|
"auto"
|
"none"
|
"any"
;
name
?:
string
}
Optional
output_
config
output_config
?:
{
format
:
{
type
:
"json_schema"
;
schema
:
Record
<
string
,
unknown
>
}
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
model
messages
system
max_
tokens
temperature
stream
tools
tool_
choice
output_
config
Home
OpenAPI
GitHub
@encorp.ai/llm-open-proxy - v0.2.2
Loading...