SearchRelevantContent
Source:
src/AWS/QBusiness/SearchRelevantContent.ts
Runtime binding for the SearchRelevantContent operation (IAM action
qbusiness:SearchRelevantContent), scoped to one Application.
Searches an application’s indexed content through a retriever and
returns the relevant passages without generating an answer — the
RAG retrieval half on its own.
Provide the implementation with
Effect.provide(AWS.QBusiness.SearchRelevantContentHttp).
Content Retrieval
Section titled “Content Retrieval”const search = yield* AWS.QBusiness.SearchRelevantContent(app);
const results = yield* search({ queryText: "expense reimbursement deadline", contentSource: { retriever: { retrieverId: retriever.retrieverId } },});