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