Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-core
LanguageModelRegistry
Interface LanguageModelRegistry
interface
LanguageModelRegistry
{
onChange
:
Event
<
{
models
:
LanguageModel
[]
;
}
>
;
addLanguageModels
(
models
)
:
void
;
getLanguageModel
(
id
)
:
Promise
<
undefined
|
LanguageModel
>
;
getLanguageModels
(
)
:
Promise
<
LanguageModel
[]
>
;
removeLanguageModels
(
id
)
:
void
;
selectLanguageModel
(
request
)
:
Promise
<
undefined
|
LanguageModel
>
;
selectLanguageModels
(
request
)
:
Promise
<
LanguageModel
[]
>
;
}
Implemented by
DefaultLanguageModelRegistryImpl
Index
Properties
on
Change
Methods
add
Language
Models
get
Language
Model
get
Language
Models
remove
Language
Models
select
Language
Model
select
Language
Models
Properties
on
Change
on
Change
:
Event
<
{
models
:
LanguageModel
[]
;
}
>
Type declaration
models
:
LanguageModel
[]
Methods
add
Language
Models
add
Language
Models
(
models
)
:
void
Parameters
models
:
LanguageModel
[]
Returns
void
get
Language
Model
get
Language
Model
(
id
)
:
Promise
<
undefined
|
LanguageModel
>
Parameters
id
:
string
Returns
Promise
<
undefined
|
LanguageModel
>
get
Language
Models
get
Language
Models
(
)
:
Promise
<
LanguageModel
[]
>
Returns
Promise
<
LanguageModel
[]
>
remove
Language
Models
remove
Language
Models
(
id
)
:
void
Parameters
id
:
string
[]
Returns
void
select
Language
Model
select
Language
Model
(
request
)
:
Promise
<
undefined
|
LanguageModel
>
Parameters
request
:
LanguageModelSelector
Returns
Promise
<
undefined
|
LanguageModel
>
select
Language
Models
select
Language
Models
(
request
)
:
Promise
<
LanguageModel
[]
>
Parameters
request
:
LanguageModelSelector
Returns
Promise
<
LanguageModel
[]
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
on
Change
add
Language
Models
get
Language
Model
get
Language
Models
remove
Language
Models
select
Language
Model
select
Language
Models
Theia TypeDoc
Loading...