@promptbook/google
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
28 lines (27 loc) • 1.33 kB
TypeScript
import '../../../_packages/cli.index';
import type { LlmExecutionToolsWithTotalUsage } from '../utils/count-total-usage/LlmExecutionToolsWithTotalUsage';
import type { CreateLlmToolsFromConfigurationOptions } from './createLlmToolsFromConfiguration';
type GetLlmToolsForTestingAndScriptsAndPlaygroundOptions = CreateLlmToolsFromConfigurationOptions & {
/**
* Flag indicating whether the cache should be reloaded or reused
* When set to true, the existing cache will not be used but thinks will be still saved to the cache
*
* @default false
*/
isCacheReloaded?: boolean;
};
/**
* Returns LLM tools for testing purposes
*
* Note: `$` is used to indicate that this function is not a pure function - it uses filesystem to access `.env` file
*
* @private within the repository - JUST FOR TESTS, SCRIPTS AND PLAYGROUND
*/
export declare function $provideLlmToolsForTestingAndScriptsAndPlayground(options?: GetLlmToolsForTestingAndScriptsAndPlaygroundOptions): Promise<LlmExecutionToolsWithTotalUsage>;
export {};
/**
* Note: [⚪] This should never be in any released package
* TODO: [👷♂️] Write a comprehensive manual about the construction of LLM tools
* TODO: This should be maybe not under `_common` but under `utils-internal` / `utils/internal`
* TODO: [®] DRY Register logi
*/