This commit is contained in:
+20
-3
@@ -28,9 +28,26 @@ type Followup struct {
|
||||
}
|
||||
|
||||
type Category struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
CompleteName string `json:"completename"`
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
CompleteName string `json:"completename"`
|
||||
Hints []string `json:"hints,omitempty"`
|
||||
Examples []string `json:"confirmed_examples,omitempty"`
|
||||
}
|
||||
|
||||
type LearningExample struct {
|
||||
ID string `json:"id"`
|
||||
RunID string `json:"run_id,omitempty"`
|
||||
TicketID int64 `json:"ticket_id,omitempty"`
|
||||
Subject string `json:"subject"`
|
||||
Text string `json:"text"`
|
||||
CategoryID int64 `json:"category_id"`
|
||||
CategoryName string `json:"category_name"`
|
||||
AIRecommendedCategoryID int64 `json:"ai_recommended_category_id,omitempty"`
|
||||
AIConfidence float64 `json:"ai_confidence,omitempty"`
|
||||
Correction bool `json:"correction"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
Source string `json:"source"`
|
||||
}
|
||||
|
||||
type KnowledgeDoc struct {
|
||||
|
||||
Reference in New Issue
Block a user