Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-chat
ChatService
Interface ChatService
interface
ChatService
{
onActiveSessionChanged
:
Event
<
ActiveSessionChangedEvent
>
;
createSession
(
location
?
,
options
?
)
:
ChatSession
;
deleteSession
(
sessionId
)
:
void
;
getSession
(
id
)
:
undefined
|
ChatSession
;
getSessions
(
)
:
ChatSession
[]
;
sendRequest
(
sessionId
,
request
)
:
Promise
<
undefined
|
ChatRequestInvocation
>
;
setActiveSession
(
sessionId
,
options
?
)
:
void
;
}
Implemented by
ChatServiceImpl
Index
Properties
on
Active
Session
Changed
Methods
create
Session
delete
Session
get
Session
get
Sessions
send
Request
set
Active
Session
Properties
on
Active
Session
Changed
on
Active
Session
Changed
:
Event
<
ActiveSessionChangedEvent
>
Methods
create
Session
create
Session
(
location
?
,
options
?
)
:
ChatSession
Parameters
Optional
location
:
ChatAgentLocation
Optional
options
:
SessionOptions
Returns
ChatSession
delete
Session
delete
Session
(
sessionId
)
:
void
Parameters
sessionId
:
string
Returns
void
get
Session
get
Session
(
id
)
:
undefined
|
ChatSession
Parameters
id
:
string
Returns
undefined
|
ChatSession
get
Sessions
get
Sessions
(
)
:
ChatSession
[]
Returns
ChatSession
[]
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
:
string
Optional
options
:
SessionOptions
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
on
Active
Session
Changed
create
Session
delete
Session
get
Session
get
Sessions
send
Request
set
Active
Session
Theia TypeDoc
Loading...