pipelex
Version:
Node.js client for the Pipelex API - Pipelex is an open-source dev tool based on a simple declarative language that lets you define replicable, structured, composable LLM pipelines.
28 lines (27 loc) • 704 B
TypeScript
export interface PipelexClientOptions {
apiKey: string;
baseUrl?: string;
timeout?: number;
}
export interface PipelexResponse<T> {
data: T;
success: boolean;
message?: string;
}
export declare class PipelexClient {
private client;
private baseUrl;
constructor(options: PipelexClientOptions);
/**
* Make a request to the Pipelex API
*/
private request;
/**
* Example method - replace with actual API methods
*/
exampleMethod(params?: Record<string, any>): Promise<PipelexResponse<any>>;
/**
* Process data through the pipeline
*/
process(data: any, options?: Record<string, any>): Promise<PipelexResponse<any>>;
}