Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-core
BackendLanguageModelRegistry
Class BackendLanguageModelRegistry
Notifies a client whenever a model is added or removed
Hierarchy (
view full
)
DefaultLanguageModelRegistryImpl
BackendLanguageModelRegistry
Index
Constructors
constructor
Properties
change
Emitter
client
initialized
language
Model
Contributions
language
Models
logger
mark
Initialized
on
Change
Methods
add
Language
Models
get
Language
Model
get
Language
Models
init
map
To
Meta
Data
remove
Language
Models
select
Language
Model
select
Language
Models
set
Client
Constructors
constructor
new
Backend
Language
Model
Registry
(
)
:
BackendLanguageModelRegistry
Returns
BackendLanguageModelRegistry
Properties
Protected
change
Emitter
change
Emitter
:
Emitter
<
{
models
:
LanguageModel
[]
;
}
>
= ...
Type declaration
models
:
LanguageModel
[]
Private
client
client
:
undefined
|
LanguageModelRegistryClient
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
map
To
Meta
Data
map
To
Meta
Data
(
model
)
:
LanguageModelMetaData
Parameters
model
:
LanguageModel
Returns
LanguageModelMetaData
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
[]
>
set
Client
set
Client
(
client
)
:
void
Parameters
client
:
LanguageModelRegistryClient
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
change
Emitter
client
initialized
language
Model
Contributions
language
Models
logger
mark
Initialized
on
Change
add
Language
Models
get
Language
Model
get
Language
Models
init
map
To
Meta
Data
remove
Language
Models
select
Language
Model
select
Language
Models
set
Client
Theia TypeDoc
Loading...
Notifies a client whenever a model is added or removed