@promptbook/langtail
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
25 lines (24 loc) • 925 B
TypeScript
import type { LlmToolsConfiguration } from './LlmToolsConfiguration';
/**
* @@@
*
* @@@ .env
*
* It looks for environment variables:
* - `process.env.OPENAI_API_KEY`
* - `process.env.ANTHROPIC_CLAUDE_API_KEY`
*
* @returns @@@
* @public exported from `@promptbook/node`
*/
export declare function $provideLlmToolsConfigurationFromEnv(): LlmToolsConfiguration;
/**
* TODO: [🧠][🪁] Maybe do allow to do auto-install if package not registered and not found
* TODO: Add Azure OpenAI
* TODO: [🧠][🍛]
* TODO: [🧠] Is there some meaningfull way how to test this util
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
* TODO: [👷♂️] @@@ Manual about construction of llmTools
* TODO: This should be maybe not under `_common` but under `utils`
* TODO: [🧠] Maybe pass env as argument
* TODO: [®] DRY Register logic */