Class Retriever

java.lang.Object
com.google.genkit.ai.Retriever
All Implemented Interfaces:
Action<RetrieverRequest,RetrieverResponse,Void>, Registerable

public class Retriever extends Object implements Action<RetrieverRequest,RetrieverResponse,Void>
Retriever is an action that retrieves documents based on a query. Retrievers are used for RAG (Retrieval Augmented Generation) workflows to find relevant documents to include in model prompts.