[]
Ƭ AIRequestCallback: (config
: IAIConfig
) => Promise
<any
>
▸ (config
): Promise
<any
>
Name | Type |
---|---|
config |
IAIConfig |
Promise
<any
>
Ƭ IAIConfig: Object
property
{{ role: string; content: string }[]} [messages]
property
[temperature]
property
[max_tokens]
property
[stream]
▪ [key: string
]: any
Name | Type |
---|---|
max_tokens? |
number |
messages |
{ content : string ; role : string }[] |
stream? |
boolean |
temperature? |
number |
Ƭ IAIEnvironment: Object
property
model
property
key
property
basePath
Name | Type |
---|---|
basePath |
string |
key |
string |
model |
string |