MCPcopy Create free account
hub / github.com/astercloud/aster / graphSearch

Method graphSearch

pkg/knowledge/rag.go:416–419  ·  view source on GitHub ↗

graphSearch 图搜索

(_ context.Context, _ string, _ *RAGOptions)

Source from the content-addressed store, hash-verified

414
415// graphSearch 图搜索
416func (r *RAG) graphSearch(_ context.Context, _ string, _ *RAGOptions) ([]*RetrievalItem, error) {
417 // TODO: 实现图搜索逻辑
418 return []*RetrievalItem{}, nil
419}
420
421// rerank 重排序
422func (r *RAG) rerank(ctx context.Context, query string, items []*RetrievalItem) []*RetrievalItem {

Callers 1

multiSourceRetrievalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected