更新 ai_test.go
This commit is contained in:
parent
0c5ccfa73c
commit
9ce3153e0a
12
ai_test.go
12
ai_test.go
|
@ -9,19 +9,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
|
||||||
dns = "developer:Lsxd@2024@tcp(lsxdpolar.rwlb.rds.aliyuncs.com:3306)/physicalgoods?parseTime=True&loc=Local"
|
|
||||||
driver = "mysql"
|
|
||||||
table = "category"
|
|
||||||
modelType = "deepseek-r1-distill-qwen-32b-250120"
|
|
||||||
key = "03320e58-6a0b-4061-a22b-902039f2190d"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestCategory(t *testing.T) {
|
|
||||||
path := getPath()
|
|
||||||
res, err := GetCategory(context.Background(), "半亩花田倍润身体乳(失重玫瑰)250ml@默认", "03320e58-6a0b-4061-a22b-902039f2190d", modelType, path)
|
|
||||||
t.Log(res, err)
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestCategoryGoodsSet(t *testing.T) {
|
func TestCategoryGoodsSet(t *testing.T) {
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
|
|
Loading…
Reference in New Issue