@hbbio/nanoagent
Preparing search index...
CompletionRequestOpenAI
Interface CompletionRequestOpenAI
Extras understood by the OpenAI HTTP endpoint.
interface
CompletionRequestOpenAI
{
frequency_penalty
?:
number
;
logit_bias
?:
Record
<
string
,
number
>
;
presence_penalty
?:
number
;
tool_choice
?:
|
{
function
:
{
name
:
string
}
;
type
:
"function"
}
|
"none"
|
"auto"
;
tools
?:
readonly
Tool
[]
;
top_p
?:
number
;
}
Index
Properties
frequency_
penalty?
logit_
bias?
presence_
penalty?
tool_
choice?
tools?
top_
p?
Properties
Optional
frequency_
penalty
frequency_penalty
?:
number
Optional
logit_
bias
logit_bias
?:
Record
<
string
,
number
>
Optional
presence_
penalty
presence_penalty
?:
number
Optional
tool_
choice
tool_choice
?:
{
function
:
{
name
:
string
}
;
type
:
"function"
}
|
"none"
|
"auto"
Optional
tools
tools
?:
readonly
Tool
[]
Optional
top_
p
top_p
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
frequency_
penalty
logit_
bias
presence_
penalty
tool_
choice
tools
top_
p
@hbbio/nanoagent
Loading...
Extras understood by the OpenAI HTTP endpoint.