sync: migrate ai-operator to Gitea (2026-08-10)

This commit is contained in:
konturai-ops
2026-08-10 15:26:52 +00:00
commit 53652b95ad
173 changed files with 16676 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package knowledge
import "context"
type SearchRequest struct {
Query string
Language string
RegionCode string
Limit int
}
type SearchResult struct {
DocumentID string
ChunkID string
Title string
Text string
Score float64
Metadata map[string]any
}
type Repository interface {
Search(ctx context.Context, req SearchRequest) ([]SearchResult, error)
}