Preparing search index...
The search index is not available
@octostar/platform-types - v0.5.10
@octostar/platform-types
AIClient
Interface AIClient
The interface for the AI client.
interface
AIClient
{
getChatModels
(
)
:
Promise
<
ChatModel
[]
>
;
prompt
(
prompt
:
string
,
options
?:
PromptOptions
)
:
Promise
<
string
>
;
}
Index
Methods
get
Chat
Models
prompt
Methods
get
Chat
Models
get
Chat
Models
(
)
:
Promise
<
ChatModel
[]
>
Get the chat models.
Returns
Promise
<
ChatModel
[]
>
prompt
prompt
(
prompt
,
options
?
)
:
Promise
<
string
>
Prompt the AI.
Parameters
prompt
:
string
Optional
options
:
PromptOptions
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
get
Chat
Models
prompt
@octostar/platform-types - v0.5.10
Loading...
The interface for the AI client.