AiAssistantConfiguration

data class AiAssistantConfiguration(val serverUrl: String, val jwt: String, val sessionId: String, val userId: String? = null)

Configuration for AI Assistant. With AI Assistant, users can use AI chat to summarize, translate, and ask questions about documents.

Parameters

serverUrl

Base HTTP URL where your instance of the Nutrient AI Assistant server can be reached.

jwt

The JSON Web Token used for authentication with your instance of the Nutrient AI Assistant server.

sessionId

A unique identifier for the chat session, which can be used to recall a session in the future.

userId

An optional user identifier to associate with the session. This will be used to tag session history for user management.

Constructors

Link copied to clipboard
constructor(serverUrl: String, jwt: String, sessionId: String, userId: String? = null)

Properties

Link copied to clipboard
val jwt: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val userId: String? = null