UNPKG

@arizeai/phoenix-client

Version:
18 lines 577 B
import type { ClientFn } from "../types/core"; import type { Prompt } from "../types/prompts"; export type ListPromptsParams = ClientFn; /** * List all prompts available to the client. * * @example * ```ts * import { listPrompts } from "@arizeai/phoenix-client/prompts"; * * const prompts = await listPrompts({}); * console.log(prompts); * ``` * * @throws {Error} If the prompts cannot be listed or the response is invalid. */ export declare function listPrompts({ client: _client, }: ListPromptsParams): Promise<Prompt[]>; //# sourceMappingURL=listPrompts.d.ts.map