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

Function WithMetadata

pkg/knowledge/rag.go:301–305  ·  view source on GitHub ↗
(metadata map[string]any)

Source from the content-addressed store, hash-verified

299}
300
301func WithMetadata(metadata map[string]any) RAGOption {
302 return func(opts *RAGOptions) {
303 opts.Metadata = metadata
304 }
305}
306
307func WithTimeRange(start, end time.Time) RAGOption {
308 return func(opts *RAGOptions) {

Callers 2

RetrieveWithMetadataMethod · 0.85
RetrieveSimilarMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected