number
Count
Default
null
| (
| "General Query"
| "Prompt Injection"
| "Off-Topic Query"
| "Toxic Content in Query"
| "Multiple Questions in Query"
| "Sexist Content in Query"
)[]
Data Types
string
[]
Examples
null
| string
Instructions
null
| string
Prompt
deployment_name?
: null
| string
;
echo?
: boolean
;
frequency_penalty?
: number
;
known_models?
: object
[];
logprobs?
: boolean
;
max_tokens?
: number
;
model_alias?
: string
;
n?
: number
;
presence_penalty?
: number
;
response_format?
: | null
| {
[key
: string
]: string
;
};
stop_sequences?
: null
| string
[];
temperature?
: number
;
tool_choice?
: | null
| string
| {
function
: {
name
: string
;
};
type?
: string
;
};
tools?
: null
| object
[];
top_k?
: number
;
top_logprobs?
: number
;
top_p?
: number
;
}
Description
Only the model is used.
null
| string
Deployment Name
boolean
Echo
Default
number
Frequency Penalty
Default
object
[]
Known Models
boolean
Logprobs
Default
number
Max Tokens
Default
string
Model Alias
Default
number
N
Default
number
Presence Penalty
Default
null
| {
[key
: string
]: string
;
}
Response Format
null
| string
[]
Stop Sequences
number
Temperature
Default
null
| string
| {
function
: {
name
: string
;
};
type?
: string
;
}
Tool Choice
null
| object
[]
Tools
number
Top K
Default
number
Top Logprobs
Default
number
Top P
Default
null
| {
dataset_id
: string
;
dataset_version_index?
: null
| number
;
row_ids?
: null
| string
[];
}
Promise
<object
[]>
A promise that resolves with the rows of the extended dataset.