|
@@ -468,6 +468,9 @@ func DelDoc(wechatArticleAbstractList []*rag.WechatArticleAbstract) (err error)
|
|
|
wechatArticleAbstractIdList := make([]int, 0)
|
|
|
|
|
|
for _, v := range wechatArticleAbstractList {
|
|
|
+ if v.VectorKey == `` {
|
|
|
+ continue
|
|
|
+ }
|
|
|
vectorKeyList = append(vectorKeyList, v.VectorKey)
|
|
|
wechatArticleAbstractIdList = append(wechatArticleAbstractIdList, v.WechatArticleAbstractId)
|
|
|
}
|