Class BailianMessage.Builder
java.lang.Object
io.agentscope.core.memory.bailian.BailianMessage.Builder
- Enclosing class:
- BailianMessage
Builder for BailianMessage.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the BailianMessage instance.Sets the content.Sets the role.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
role
Sets the role.- Parameters:
role- the role- Returns:
- this builder
-
content
Sets the content.- Parameters:
content- the content- Returns:
- this builder
-
build
Builds the BailianMessage instance.- Returns:
- a new BailianMessage instance
-