@langchain/community
Version:
Third-party integrations for LangChain.js
19 lines (18 loc) • 618 B
TypeScript
import { Tool } from "@langchain/core/tools";
//#region src/tools/dadjokeapi.d.ts
/**
* 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>;
}
//#endregion
export { DadJokeAPI };
//# sourceMappingURL=dadjokeapi.d.ts.map