feat: 增加顺运宝批量 AI 规格匹配 (#202)
This commit is contained in:
@@ -407,6 +407,26 @@ type AISpecMatchDecision struct {
|
||||
DecidedBy, DecidedAt string
|
||||
}
|
||||
|
||||
type AIMatchBatch struct {
|
||||
BatchID, Status, CreatedByUserID string
|
||||
TotalCount, ProcessedCount, SuccessCount, ReusedCount int
|
||||
ManualCount, FailedCount int
|
||||
ProviderID, ProviderName, ProviderBaseURL, Model string
|
||||
TimeoutSeconds, MaxConcurrency, ConfidenceThresholdBPS int
|
||||
ConfigFingerprint, RulesVersion, PromptVersion, ErrorMessage string
|
||||
CreatedAt, StartedAt, FinishedAt string
|
||||
}
|
||||
|
||||
type AIMatchBatchItem struct {
|
||||
ItemID, BatchID, SybID, IdentityHash, LeaderSybID, ContextVersion string
|
||||
Position int
|
||||
Status, Outcome, Message, MappingSource, OptionKey string
|
||||
ConfidenceBPS int
|
||||
ConfidenceSet bool
|
||||
ModelCalled bool
|
||||
StartedAt, FinishedAt string
|
||||
}
|
||||
|
||||
// ---------- 任务 ----------
|
||||
|
||||
// TaskType 区分采集任务和采购任务。
|
||||
|
||||
Reference in New Issue
Block a user