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

42 lines (40 loc) 1.27 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 ReadFeedSchema: z.ZodObject<{ memoryTopic: z.ZodString; owner: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { memoryTopic: string; owner?: string | undefined; }, { memoryTopic: string; owner?: string | undefined; }>; export declare class ReadFeedTool extends BaseHederaQueryTool<typeof ReadFeedSchema> { name: string; description: string; namespace: string; specificInputSchema: z.ZodObject<{ memoryTopic: z.ZodString; owner: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { memoryTopic: string; owner?: string | undefined; }, { memoryTopic: string; owner?: string | undefined; }>; bee: Bee; config: SwarmConfig; constructor(params: { hederaKit: HederaAgentKit; config: SwarmConfig; logger?: GenericPluginContext['logger']; bee: Bee; }); protected executeQuery(input: z.infer<typeof ReadFeedSchema>): Promise<ToolResponse | string>; } export {};