feat: Add title field for creating knowledge requests.

This commit is contained in:
begoniezhao
2025-12-04 15:54:52 +08:00
parent a50f53d205
commit b24fdc2d24
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -26,6 +26,7 @@ type KnowledgeService interface {
kbID string,
url string,
enableMultimodel *bool,
title string,
) (*types.Knowledge, error)
// CreateKnowledgeFromPassage creates knowledge from text passages.
CreateKnowledgeFromPassage(ctx context.Context, kbID string, passage []string) (*types.Knowledge, error)