perso-live-sdk

Perso AI Live Chat SDK release note (js)

Changes(v1.0.8)

New feature

Added a callback to obtain STT results when using the voice chat feature
 Added Session-setSttResultCallback

Modified

Changed Session-processChat to not be an async function
Changed Session-processTTSTF to not be an async function
Renamed subscribeMicStatus to subscribeChatStatus
Changed default behavior of voice chat

Changes(v1.0.7)

New feature

Get session information
 Added PersoLiveSDK-getSessionInfo

Modified

Removed PersoLiveSDK-getIceServers

Changes(v1.0.6)

Modified

PersoLiveSDK-createSession
 Added ‘enableVoiceChat’ parameter

Session-subscribeSessionStatus
 Replaced by ‘onClose’

New feature

Added a feature to turn on/off the voice chat (If voice chat is turned off, microphone permission will not be requested)

Changes(v1.0.5)

Modified

Session-getIceServers
 Removed the ‘apiKey’ parameter

Session-processSTF
 Added a return value

New feature

Added ‘StfStartEvent’
Added a method to subscribe to ‘StfStartEvent’

Changes(v1.0.4)

Modified

Added new error types

Changes(v1.0.3)

New feature

Set chatbot position

Modified

PersoLiveSDK-createSessionId
 Added ‘chatbotLeft’ parameter
 Added ‘chatbotTop’ parameter
 Added ‘chatbotHeight’ parameter

Changes(v1.0.2)

New feature

Set chatbot’s background image
 Added PersoLiveSDK-getBackgroundImages

Make the chatbot speak using audio (Experimental)
 Added Session-processSTF

Get ‘MediaStream’
 Added Session-getLocalStream (User’s audio stream)
 Added Session-getRemoteStream (Chatbot’s media(video+audio) stream)

Get ‘Session ID’
 Added Session-getSessionId

Modified

PersoLiveSDK-getAllSettings
 Added ‘backgroundImages’ in return value

PersoLiveSDK-createSession
 Removed ‘continuality’ parameter

PersoLiveSDK-createSessionId
 Added ‘backgroundImage’ parameter

Session-processSTF
  Changed function name to ‘processTTSTF’

Session-recordStart
  Changed function name to ‘startVoiceChat’

Session-recordEnd
  Changed function name to ‘stopVoiceChat’

Fixed

Issue where an error related to ‘ping’ occurs after the session has ended

Changes(v1.0.1)

New feature

Terminate session
 Added Session-stopSession

Set TTS type
 Added PersoLiveSDK-getTTSs

Intro message
 Added Session-intro

Modified

PersoLiveSDK-getAllSettings
 Added ‘ttsTypes’ in return value

PersoLiveSDK-createSessionId
 Added ‘ttsType’ parameter