Class BailianAddRequest.Builder
java.lang.Object
io.agentscope.core.memory.bailian.BailianAddRequest.Builder
- Enclosing class:
- BailianAddRequest
Builder for BailianAddRequest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the BailianAddRequest instance.customContent(String customContent) Sets the custom content.memoryLibraryId(String memoryLibraryId) Sets the memory library ID.messages(List<BailianMessage> messages) Sets the messages.Sets the metadata.profileSchema(String profileSchema) Sets the profile schema.Sets the project ID.Sets the user ID.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
userId
Sets the user ID.- Parameters:
userId- the user ID- Returns:
- this builder
-
messages
Sets the messages.- Parameters:
messages- the messages list- Returns:
- this builder
-
customContent
Sets the custom content.- Parameters:
customContent- the custom content- Returns:
- this builder
-
memoryLibraryId
Sets the memory library ID.- Parameters:
memoryLibraryId- the memory library ID- Returns:
- this builder
-
projectId
Sets the project ID.- Parameters:
projectId- the project ID- Returns:
- this builder
-
profileSchema
Sets the profile schema.- Parameters:
profileSchema- the profile schema- Returns:
- this builder
-
metadata
Sets the metadata.- Parameters:
metadata- the metadata map- Returns:
- this builder
-
build
Builds the BailianAddRequest instance.- Returns:
- a new BailianAddRequest instance
-