@langchain/community
Version:
Third-party integrations for LangChain.js
1 lines • 1.08 kB
Source Map (JSON)
{"version":3,"file":"brave_search.d.ts","names":["Tool","BraveSearchParams","BraveSearch","Promise"],"sources":["../../src/tools/brave_search.d.ts"],"sourcesContent":["import { Tool } from \"@langchain/core/tools\";\n/**\n * Interface for the parameters required to instantiate a BraveSearch\n * instance.\n */\nexport interface BraveSearchParams {\n apiKey?: string;\n}\n/**\n * Class for interacting with the Brave Search engine. It extends the Tool\n * class and requires an API key to function. The API key can be passed in\n * during instantiation or set as an environment variable named\n * 'BRAVE_SEARCH_API_KEY'.\n */\nexport declare class BraveSearch extends Tool {\n static lc_name(): string;\n name: string;\n description: string;\n apiKey: string;\n constructor(fields?: BraveSearchParams);\n /** @ignore */\n _call(input: string): Promise<string>;\n}\n//# sourceMappingURL=brave_search.d.ts.map"],"mappings":";;;;;;AAKA;AASA;AAKyBC,UAdRA,iBAAAA,CAcQA;EAECE,MAAAA,CAAAA,EAAAA,MAAAA;;AAPmB;;;;;;cAAxBD,WAAAA,SAAoBF,IAAAA;;;;;uBAKhBC;;wBAECE"}