endConversation | suspend fun endConversation(): Unit | Ends the current conversation session |
getCurrentAgent | fun getCurrentAgent(): AgentData | Get current agent data |
resetSession | open override fun resetSession(): Unit | Resets the Agentforce session container |
resetSession | fun resetSession(String): Unit | |
retrieveTranscript | suspend fun retrieveTranscript(): InputStream | Retrieve conversation transcript as a PDF InputStream |
sendTypingIndicator | suspend fun sendTypingIndicator(): Unit | Sends a typing indicator for MIAW conversations when user is typing |
sendUtterance | open suspend override fun sendUtterance(String, AgentforceAttachment?): Unit | Send an utterance to Agentforce |
setAdditionalContext | open suspend override fun setAdditionalContext(CopilotAdditionalContext): Unit | Updates the current context variables that will be sent to Agentforce on subsequent messages |
startSession | suspend fun startSession(): Unit | |
updateRecommendationUtterances | open override fun updateRecommendationUtterances(List<String>): Unit | |