@promptbook/openai
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
27 lines (26 loc) • 1.02 kB
TypeScript
import type { number_port } from '../types/typeAliases';
import type { TODO_any } from '../utils/organization/TODO_any';
type AgentsServerOptions = {
/**
* !!!
*
* @default 4440
*/
port: number_port;
};
/**
* [🐱🚀]
* Remote server is a proxy server that uses its execution tools internally and exposes the executor interface externally.
*
* You can simply use `RemoteExecutionTools` on client-side javascript and connect to your remote server.
* This is useful to make all logic on browser side but not expose your API keys or no need to use customer's GPU.
*
* @see https://github.com/webgptorg/promptbook#remote-server
* @public exported from `@promptbook/remote-server`
* <- TODO: [🐱🚀] Change to `@promptbook/agent-server`
*/
export declare function startAgentServer(options: AgentsServerOptions): Promise<TODO_any>;
export {};
/**
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
*/