UNPKG

@hashgraphonline/conversational-agent

Version:

Hashgraph Online conversational AI agent implementing HCS-10 communication, HCS-2 registries, and content inscription on Hedera. https://hol.org

36 lines (34 loc) 1.06 kB
import { Bee } from '@ethersphere/bee-js'; import { z } from 'zod'; import { ToolResponse } from '../utils'; import { BaseHederaQueryTool, GenericPluginContext, HederaAgentKit } from 'hedera-agent-kit'; import { SwarmConfig } from '../config'; declare const DownloadDataSchema: z.ZodObject<{ reference: z.ZodString; }, "strip", z.ZodTypeAny, { reference: string; }, { reference: string; }>; export declare class DownloadDataTool extends BaseHederaQueryTool<typeof DownloadDataSchema> { name: string; description: string; namespace: string; specificInputSchema: z.ZodObject<{ reference: z.ZodString; }, "strip", z.ZodTypeAny, { reference: string; }, { reference: string; }>; bee: Bee; config: SwarmConfig; constructor(params: { hederaKit: HederaAgentKit; config: SwarmConfig; logger?: GenericPluginContext['logger']; bee: Bee; }); protected executeQuery(input: z.infer<typeof DownloadDataSchema>): Promise<ToolResponse | string>; } export {};