Implement classification redesign
This commit is contained in:
@@ -119,10 +119,11 @@ type Facts struct {
|
||||
Investment *Investment `json:"investment,omitempty"`
|
||||
}
|
||||
type Provenance struct {
|
||||
Source string `json:"source"`
|
||||
Model string `json:"model,omitempty"`
|
||||
Timestamp string `json:"timestamp,omitempty"`
|
||||
Error string `json:"error,omitempty"`
|
||||
Source string `json:"source"`
|
||||
Model string `json:"model,omitempty"`
|
||||
Confidence string `json:"confidence,omitempty"`
|
||||
Timestamp string `json:"timestamp,omitempty"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
type Enrichment struct {
|
||||
Kind string `json:"kind"`
|
||||
@@ -141,10 +142,12 @@ type Category struct {
|
||||
Name string `json:"name"`
|
||||
ParentID string `json:"parent_id,omitempty"`
|
||||
Kind string `json:"kind"`
|
||||
Hint string `json:"hint,omitempty"`
|
||||
}
|
||||
type Tag struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Hint string `json:"hint,omitempty"`
|
||||
}
|
||||
type Merchant struct {
|
||||
ID string `json:"id"`
|
||||
|
||||
Reference in New Issue
Block a user