更新 ai_test.go

This commit is contained in:
renzhiyuan 2025-07-21 15:17:56 +08:00
parent 0c5ccfa73c
commit 9ce3153e0a
1 changed files with 0 additions and 12 deletions

View File

@ -9,19 +9,7 @@ import (
"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) {
var wg sync.WaitGroup