This commit is contained in:
mlogclub
2026-04-09 10:01:23 +08:00
commit efe801b8bf
707 changed files with 110595 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package chunk
import (
"context"
"cs-agent/internal/pkg/enums"
)
type Provider interface {
Name() string
Supports(contentType enums.KnowledgeDocumentContentType) bool
Chunk(ctx context.Context, req *ChunkRequest) ([]ChunkResult, error)
}