Class CategoryGuessing
Implementation of AI functions for category guessing
Inherited Members
Namespace: SuperOffice.CRM.AI
Assembly: SoDataBase.dll
Syntax
[SoInject("Database")]
public class CategoryGuessing
Constructors
CategoryGuessing()
Implementation of AI functions for category guessing
Declaration
public CategoryGuessing()
Methods
GetCategorizationRequestItem(int)
Get the data required by the Category Guesser
Declaration
public CategoryGuessing.CategorizationRequestItem GetCategorizationRequestItem(int ticketId)
Parameters
Type | Name | Description |
---|---|---|
int | ticketId |
Returns
Type | Description |
---|---|
CategoryGuessing.CategorizationRequestItem |
GetCategorizationTrainingItems(int, int, int)
The category guesser training API will be called with an array of CategorizationTrainingItem during the (background, Batch) execution of this call
Declaration
public List<CategoryGuessing.CategorizationTrainingItem> GetCategorizationTrainingItems(int selectionId, int maxItems, int maxTextLength)
Parameters
Type | Name | Description |
---|---|---|
int | selectionId | Id of selection of tickets, to retrieve training data from |
int | maxItems | Maximum number of tickets to retrieve data from |
int | maxTextLength | Maximum length of PlainTextBody or any other large text, truncated to nearest word boundary |
Returns
Type | Description |
---|---|
List<CategoryGuessing.CategorizationTrainingItem> | Placeholder for result... should this be a BatchTaskId? maybe not useful? |
Remarks
See class diagram in Modelling\Diagrams\Ticket_Message.cd for the database structure that's referred here