UNPKG

@promptbook/remote-client

Version:

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

13 lines (12 loc) 650 B
import type { LlmExecutionTools } from '../../execution/LlmExecutionTools'; import { MultipleLlmExecutionTools } from './MultipleLlmExecutionTools'; /** * Just returns the given `LlmExecutionTools` or joins multiple into one * * @public exported from `@promptbook/core` */ export declare function getSingleLlmExecutionTools(oneOrMoreLlmExecutionTools: undefined | LlmExecutionTools | ReadonlyArray<LlmExecutionTools>): LlmExecutionTools | MultipleLlmExecutionTools; /** * TODO: [🙆] `getSingleLlmExecutionTools` vs `joinLlmExecutionTools` - explain difference or pick one * TODO: [👷‍♂️] @@@ Manual about construction of llmTools */