Preparing search index...
The search index is not available
@agentica/webite
@agentica/webite
@agentica/core
AgenticaTextEvent
Interface AgenticaTextEvent<Role>
interface
AgenticaTextEvent
<
Role
extends
"assistant"
|
"user"
=
"assistant"
|
"user"
,
>
{
join
:
()
=>
Promise
<
string
>
;
role
:
Role
;
stream
:
AsyncGenerator
<
string
,
undefined
,
undefined
>
;
toHistory
:
()
=>
AgenticaTextHistory
;
toJSON
:
()
=>
IAgenticaEventJson
.
IText
;
type
:
"text"
;
}
Type Parameters
Role
extends
"assistant"
|
"user"
=
"assistant"
|
"user"
Hierarchy
AgenticaEventBase
<
"text"
>
AgenticaTextEvent
Index
Properties
join
role
stream
to
History
toJSON
type
Properties
join
join
:
()
=>
Promise
<
string
>
role
role
:
Role
stream
stream
:
AsyncGenerator
<
string
,
undefined
,
undefined
>
to
History
toHistory
:
()
=>
AgenticaTextHistory
toJSON
toJSON
:
()
=>
IAgenticaEventJson
.
IText
type
type
:
"text"
Discriminator type.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
join
role
stream
to
History
toJSON
type
@agentica/webite
Loading...
Discriminator type.