RetrievalPortAdapter class

Implements bundle.RetrievalPort on top of FactGraphService.

Implemented types

Constructors

RetrievalPortAdapter({required FactGraphService factGraphService, String defaultWorkspaceId = 'default', double minScore = 0.15, int defaultMaxResults = 20})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

listRetrievers() → Future<List<RetrieverInfo>>
List available retrievers.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryKnowledge(String query, {String? retrieverId, Map<String, dynamic>? filters, int? maxResults}) → Future<RetrievalResult>
Search knowledge sources for relevant passages.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited