@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
24 lines (23 loc) • 729 B
TypeScript
import type { string_user_id } from '../types/string_token';
/**
* Common options shared across various execution tools.
*
* 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;
/**
* Maximum number of requests per minute
*/
readonly maxRequestsPerMinute?: number;
};