Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-chat
ChatServiceImpl
Class ChatServiceImpl
Hierarchy (
view full
)
ChatServiceImpl
FrontendChatServiceImpl
Implements
ChatService
Index
Constructors
constructor
Properties
_sessions
chat
Agent
Service
chat
Request
Parser
default
Chat
Agent
Id
logger
on
Active
Session
Changed
on
Active
Session
Changed
Emitter
variable
Service
Methods
create
Session
delete
Session
get
Agent
get
Mentioned
Agent
get
Session
get
Sessions
send
Request
set
Active
Session
Constructors
constructor
new
Chat
Service
Impl
(
)
:
ChatServiceImpl
Returns
ChatServiceImpl
Properties
Protected
_sessions
_sessions
:
ChatSessionInternal
[]
= []
Protected
chat
Agent
Service
chat
Agent
Service
:
ChatAgentService
Protected
chat
Request
Parser
chat
Request
Parser
:
ChatRequestParser
Protected
default
Chat
Agent
Id
default
Chat
Agent
Id
:
undefined
|
DefaultChatAgentId
Protected
logger
logger
:
ILogger
on
Active
Session
Changed
on
Active
Session
Changed
:
Event
<
ActiveSessionChangedEvent
>
= ...
Protected
Readonly
on
Active
Session
Changed
Emitter
on
Active
Session
Changed
Emitter
:
Emitter
<
ActiveSessionChangedEvent
>
= ...
Protected
variable
Service
variable
Service
:
AIVariableService
Methods
create
Session
create
Session
(
location
?
,
options
?
)
:
ChatSession
Parameters
location
:
ChatAgentLocation
= ChatAgentLocation.Panel
Optional
options
:
SessionOptions
Returns
ChatSession
delete
Session
delete
Session
(
sessionId
)
:
void
Parameters
sessionId
:
string
Returns
void
Protected
get
Agent
get
Agent
(
parsedRequest
)
:
undefined
|
ChatAgent
Parameters
parsedRequest
:
ParsedChatRequest
Returns
undefined
|
ChatAgent
Protected
get
Mentioned
Agent
get
Mentioned
Agent
(
parsedRequest
)
:
undefined
|
ParsedChatRequestAgentPart
Parameters
parsedRequest
:
ParsedChatRequest
Returns
undefined
|
ParsedChatRequestAgentPart
get
Session
get
Session
(
id
)
:
undefined
|
ChatSessionInternal
Parameters
id
:
string
Returns
undefined
|
ChatSessionInternal
get
Sessions
get
Sessions
(
)
:
ChatSessionInternal
[]
Returns
ChatSessionInternal
[]
send
Request
send
Request
(
sessionId
,
request
)
:
Promise
<
undefined
|
ChatRequestInvocation
>
Parameters
sessionId
:
string
request
:
ChatRequest
Returns
Promise
<
undefined
|
ChatRequestInvocation
>
set
Active
Session
set
Active
Session
(
sessionId
,
options
?
)
:
void
Parameters
sessionId
:
undefined
|
string
Optional
options
:
SessionOptions
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
_sessions
chat
Agent
Service
chat
Request
Parser
default
Chat
Agent
Id
logger
on
Active
Session
Changed
on
Active
Session
Changed
Emitter
variable
Service
create
Session
delete
Session
get
Agent
get
Mentioned
Agent
get
Session
get
Sessions
send
Request
set
Active
Session
Theia TypeDoc
Loading...