Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-core
LanguageModelFrontendDelegateImpl
Class LanguageModelFrontendDelegateImpl
Implements
LanguageModelFrontendDelegate
Index
Constructors
constructor
Properties
frontend
Delegate
Client
logger
registry
request
Cancellation
Token
Map
Methods
cancel
request
send
Tokens
set
Client
Constructors
constructor
new
Language
Model
Frontend
Delegate
Impl
(
)
:
LanguageModelFrontendDelegateImpl
Returns
LanguageModelFrontendDelegateImpl
Properties
Private
frontend
Delegate
Client
frontend
Delegate
Client
:
LanguageModelDelegateClient
Private
logger
logger
:
ILogger
Private
registry
registry
:
LanguageModelRegistry
Private
request
Cancellation
Token
Map
request
Cancellation
Token
Map
:
Map
<
string
,
CancellationTokenSource
>
= ...
Methods
cancel
cancel
(
requestId
)
:
void
Parameters
requestId
:
string
Returns
void
request
request
(
modelId
,
request
,
requestId
,
cancellationToken
?
)
:
Promise
<
LanguageModelResponseDelegate
>
Parameters
modelId
:
string
request
:
LanguageModelRequest
requestId
:
string
Optional
cancellationToken
:
CancellationToken
Returns
Promise
<
LanguageModelResponseDelegate
>
Protected
send
Tokens
send
Tokens
(
id
,
stream
)
:
void
Parameters
id
:
string
stream
:
AsyncIterable
<
LanguageModelStreamResponsePart
>
Returns
void
set
Client
set
Client
(
client
)
:
void
Parameters
client
:
LanguageModelDelegateClient
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
frontend
Delegate
Client
logger
registry
request
Cancellation
Token
Map
cancel
request
send
Tokens
set
Client
Theia TypeDoc
Loading...