1234567891011121314151617181920212223242526272829303132 |
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- package model
- import (
- "time"
- )
- const TableNameIntentRecord = "intent_records"
- // IntentRecord mapped from table <intent_records>
- type IntentRecord struct {
- ID string `gorm:"column:id;primaryKey;comment:主键id" json:"id"` // 主键id
- ExternalID string `gorm:"column:external_id;not null;comment:外部id" json:"external_id"` // 外部id
- IndustryType int64 `gorm:"column:industry_type;not null;comment:评分规则代码 0 通用 1 教育" json:"industry_type"` // 评分规则代码 0 通用 1 教育
- ChatHistory string `gorm:"column:chat_history;not null;comment:通话记录" json:"chat_history"` // 通话记录
- ManualIntent int64 `gorm:"column:manual_intent;comment:人工意向度 1 有意向 2 无意向 3 其他" json:"manual_intent"` // 人工意向度 1 有意向 2 无意向 3 其他
- LlmIntent int64 `gorm:"column:llm_intent;comment:大模型意向度 1 有意向 2 无意向 3 不确定" json:"llm_intent"` // 大模型意向度 1 有意向 2 无意向 3 不确定
- OrgID int64 `gorm:"column:org_id;not null;comment:机构 ID" json:"org_id"` // 机构 ID
- Status int64 `gorm:"column:status;not null;comment:状态 1 入库 2 已判断 3 已回调" json:"status"` // 状态 1 入库 2 已判断 3 已回调
- RequestData string `gorm:"column:request_data" json:"request_data"`
- ResponseData string `gorm:"column:response_data" json:"response_data"`
- CreatedAt time.Time `gorm:"column:created_at;default:CURRENT_TIMESTAMP;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期
- UpdatedAt time.Time `gorm:"column:updated_at;default:CURRENT_TIMESTAMP;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期
- }
- // TableName IntentRecord's table name
- func (*IntentRecord) TableName() string {
- return TableNameIntentRecord
- }
|