UNPKG

adk-typescript

Version:

TypeScript port of Google's Agent Development Kit (ADK)

27 lines (26 loc) 739 B
import { RetrievalToolOptions } from './BaseRetrievalTool'; import { LlamaIndexRetrieval } from './LlamaIndexRetrieval'; /** * Options for creating a Files retrieval tool */ export interface FilesRetrievalOptions extends RetrievalToolOptions { /** * Directory containing the files to index */ inputDir: string; } /** * Retrieval tool that uses LlamaIndex to retrieve information from files */ export declare class FilesRetrieval extends LlamaIndexRetrieval { /** * Directory containing the indexed files */ private inputDir; /** * Create a new Files retrieval tool * * @param options Options for the Files retrieval tool */ constructor(options: FilesRetrievalOptions); }