UNPKG

@promptbook/google

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

20 lines (19 loc) 874 B
import type { LlmToolsConfiguration } from './LlmToolsConfiguration'; /** * Provides LLM tools configuration by reading environment variables. * * Note: `$` is used to indicate that this function is not a pure function - it uses filesystem to access `.env` file * * It looks for environment variables: * - `process.env.OPENAI_API_KEY` * - `process.env.ANTHROPIC_CLAUDE_API_KEY` * - ... * * @see Environment variables documentation or .env file for required variables. * @returns A promise that resolves to the LLM tools configuration, or null if configuration is incomplete or missing. * @public exported from `@promptbook/node` */ export declare function $provideLlmToolsConfigurationFromEnv(): Promise<LlmToolsConfiguration>; /** * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment */