Property
| Type
| Access
| Description
|
|---|---|---|---|
SiteId
| String
| read / write
| Returns the site identifier (license code) that identifies the Tradium installation to the central TradiumServices server.
|
Username
| String
| read / write
| Returns the authenticated Tradium user name under which the AI object operates.
|
CurrentAdmin
| Integer
| read / write
| Gets or sets the administration number (Admin) that will be used as context for the next call to Ask.
|
Language
| String
| read / write
| Gets or sets the ISO 639-1 two-letter language code that instructs the AI in which language to answer.
|
TimeoutSeconds
| Long
| read / write
| Gets or sets the maximum number of seconds the AI object will wait for a single HTTP request to TradiumServices to complete.
|
LastErrorCode
| AIErrorCode
| read only
| Returns the AIErrorCode value of the most recent operation on the AI object.
|
LastErrorMessage
| String
| read only
| Returns a human-readable description of the most recent error on the AI object, corresponding to the code in LastErrorCode.
|
ConversationCount
| Long
| read only
| Returns the number of conversation handles that are currently open on the AI object.
|
Note. LastErrorCode and LastErrorMessage describe failures to submit a question. Failures that happen after a successful submission (during asynchronous processing) are read per handle with GetErrorCode and GetErrorMessage
|