agsamantha/node_modules/@langchain/community/dist/tools/dadjokeapi.d.ts
2024-10-02 15:15:21 -05:00

15 lines
538 B
TypeScript

import { Tool } from "@langchain/core/tools";
/**
* The DadJokeAPI class is a tool for generating dad jokes based on a
* specific topic. It fetches jokes from an external API and returns a
* random joke from the results. If no jokes are found for the given
* search term, it returns a message indicating that no jokes were found.
*/
declare class DadJokeAPI extends Tool {
static lc_name(): string;
name: string;
description: string;
/** @ignore */
_call(input: string): Promise<string>;
}
export { DadJokeAPI };