MemoryOptions
public struct MemoryOptions
Context information for the bot
-
indicator if
memory
content, once sent to CAI, shall be added to the current state of the memory or if the content shall replace the current memoryDeclaration
Swift
public var merge: Bool
-
freely defined payload which needs to be encodable. Example of an encoded object: { “firstName”: “John”, “lastName”:“Doe” }
Declaration
Swift
public var memory: Encodable
-
Initializer
Declaration
Swift
public init(merge: Bool, memory: Encodable)
Parameters
merge
indicator if
memory
content, once sent to CAI, shall be added to the current state of the memory or if the content shall replace the current memorymemory
freely defined payload which needs to be encodable. Example of an encoded object: { “firstName”: “John”, “lastName”:“Doe” }