memoriName | * (see below) | string | | Name of the Memori |
ownerUserName | * (see below) | string | | Username of the Memori owner |
memoriID | * (see below) | string | | ID of the Memori |
ownerUserID | * (see below) | string | | ID of the Memori owner |
tenantID | ✔️ | string | | Tenant ID, example: "app.twincreator.com" or "app.memorytwin.com" |
sessionID | | string | | Initial Session ID, UUID which refers to the session to the Memori and identifies a conversation and its permissions (giver, receiver, anonymous). A session would be started autonomously with the params set, but if you have an existing and valid sessionID you can pass it as already opened one. Use this at your risk, as session recovery might break or start session as anon user. In most cases, you shoudn't use this prop. |
integrationID | | string | | Integration ID, UUID which refers to the public page layout |
secretToken | | string | | Secret token, the password of a private or secret Memori |
height | | string | "100%" | Height of the Memori |
showShare | | bool | true | Show the share button |
showSettings | | bool | false | Show the settings panel button |
showInstruct | | bool | false | Show the switch selecting between test mode or instruct mode, needs an administrative session as a giver |
baseURL | | string | | Base URL of the Memori, example: "https://app.twincreator.com" or "https://app.memorytwin.com" |
apiURL | | string | "https://backend.memori.ai" | URL of the Memori API |
tag | | string | | Tag of the person opening the session to the Memori, could be the giver or a receiver |
pin | | string | | PIN of the person opening the session to the Memori, could be the giver or a receiver |
context | | string | | Initial context of the conversation, dictionary with "key: value" pairs as context variables |
initialQuestion | | string | | Initial question to ask to the Memori, starts the conversation as this would be sent to the Memori |
uiLang | | 'en' | 'it' | "en" | Language of the UI, es: "en" or "it" |
spokenLang | | string | | Language of the spoken text, as defaults to user selection. Example: "en" or "it" |
onStateChange | | function | | Callback function called when the state of the Memori changes |
AZURE_COGNITIVE_SERVICES_TTS_KEY | | string | | Azure Cognitive Services TTS key, used to generate the audio of the Memori and for STT recognition |