Class: HumanChatMessage
schema.HumanChatMessage
Hierarchy
↳
HumanChatMessage
Constructors
constructor
• new HumanChatMessage(text
)
Parameters
Name | Type |
---|---|
text | string |
Inherited from
Defined in
langchain/src/schema/index.ts:55
Properties
name
• Optional
name: string
The name of the message sender in a multi-user chat.
Inherited from
Defined in
langchain/src/schema/index.ts:50
text
• text: string
The text of the message.
Inherited from
Defined in
langchain/src/schema/index.ts:47
Methods
_getType
▸ _getType(): MessageType
The type of the message.
Returns
Overrides
Defined in
langchain/src/schema/index.ts:61