Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-core
DefaultLanguageModelRegistryImpl
Class DefaultLanguageModelRegistryImpl
Hierarchy (
view full
)
DefaultLanguageModelRegistryImpl
FrontendLanguageModelRegistryImpl
BackendLanguageModelRegistry
Implements
LanguageModelRegistry
Index
Constructors
constructor
Properties
change
Emitter
initialized
language
Model
Contributions
language
Models
logger
mark
Initialized
on
Change
Methods
add
Language
Models
get
Language
Model
get
Language
Models
init
remove
Language
Models
select
Language
Model
select
Language
Models
Constructors
constructor
new
Default
Language
Model
Registry
Impl
(
)
:
DefaultLanguageModelRegistryImpl
Returns
DefaultLanguageModelRegistryImpl
Properties
Protected
change
Emitter
change
Emitter
:
Emitter
<
{
models
:
LanguageModel
[]
;
}
>
= ...
Type declaration
models
:
LanguageModel
[]
Protected
initialized
initialized
:
Promise
<
void
>
= ...
Protected
Readonly
language
Model
Contributions
language
Model
Contributions
:
ContributionProvider
<
LanguageModelProvider
>
Protected
language
Models
language
Models
:
LanguageModel
[]
= []
Protected
logger
logger
:
ILogger
Protected
mark
Initialized
mark
Initialized
:
(
(
)
=>
void
)
Type declaration
(
)
:
void
Returns
void
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
[]
>
Protected
init
init
(
)
:
void
Returns
void
remove
Language
Models
remove
Language
Models
(
ids
)
:
void
Parameters
ids
:
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
constructor
change
Emitter
initialized
language
Model
Contributions
language
Models
logger
mark
Initialized
on
Change
add
Language
Models
get
Language
Model
get
Language
Models
init
remove
Language
Models
select
Language
Model
select
Language
Models
Theia TypeDoc
Loading...