@Beta public class ConversationUpdate extends Object
Constructor and Description |
---|
ConversationUpdate(Map<String,Object> memory)
Allows to create a new conversation object with a new memory object.
|
Modifier and Type | Method and Description |
---|---|
String |
getLanguage()
Get the (new) language to set the conversation to (optional).
|
Map<String,Object> |
getMemory()
Getter to return the current memory structure.
|
void |
setLanguage(String language)
Set the language this conversation should be switched to.
|
void |
setMemory(Map<String,Object> memory)
Setter to entirely replacer the memory of this conversation
|
@Nullable public Map<String,Object> getMemory()
public void setMemory(@Nullable Map<String,Object> memory)
memory
- the new memory@Nullable public String getLanguage()
Copyright © 2019 SAP SE. All rights reserved.