@promptbook/gemini
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
25 lines (24 loc) âĒ 807 B
TypeScript
import type { string_user_id } from '../types/typeAliases';
/**
* @@@
*
* Note: Keep it public to allow people to make their own execution tools
*/
export type CommonToolsOptions = {
/**
* A unique identifier representing your end-user
*
* Note: For example it can help to detect abuse
* For example for OpenAi @see https://platform.openai.com/docs/guides/safety-best-practices/end-user-ids
*/
readonly userId?: string_user_id;
/**
* If true, the internal executions will be logged
*/
readonly isVerbose?: boolean;
};
/**
* TODO: [ð§ ][ðĪš] Maybe allow overriding of `userId` for each prompt
* TODO: [ð] Maybe add here `isDeterministic`
* TODO: [ð§ ][ð] Distinct between options passed into ExecutionTools and to ExecutionTools.execute
*/