101577f163
- Updated import paths in multiple service files to reflect the new agent-desk module. - Added a new configuration file for agent-desk in the Docker setup.
13 lines
247 B
Go
13 lines
247 B
Go
package chunk
|
|
|
|
import (
|
|
"agent-desk/internal/pkg/enums"
|
|
"context"
|
|
)
|
|
|
|
type Provider interface {
|
|
Name() string
|
|
Supports(contentType enums.KnowledgeDocumentContentType) bool
|
|
Chunk(ctx context.Context, req *ChunkRequest) ([]ChunkResult, error)
|
|
}
|