mirror of
https://git.boos.lat/aibo/BossChat.git
synced 2026-10-30 15:16:11 +00:00
13 lines
245 B
Go
13 lines
245 B
Go
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)
|
|
}
|