invoke method

  1. @override
Future<List<Document>> invoke(
  1. String input, {
  2. Options? options,
})
override

Get the most relevant documents for a given query.

  • input - The query to search for.
  • options - Retrieval options.

Implementation

@override
Future<List<Document>> invoke(
  final String input, {
  final Options? options,
}) {
  return getRelevantDocuments(input, options: options);
}