WithScope 按作用域过滤
(scope MemoryScope)
| 128 | |
| 129 | // WithScope 按作用域过滤 |
| 130 | func WithScope(scope MemoryScope) Filter { |
| 131 | return func(opts *FilterOptions) { |
| 132 | opts.Scope = scope |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | // WithMinConfidence 按最低置信度过滤 |
| 137 | func WithMinConfidence(confidence float64) Filter { |
no outgoing calls