n8n-nodes-aimlapi
Version:
Custom n8n node for integrating with the AI/ML API platform (AIMLAPI) to interact with LLMs and multimodal AI models such as chat completion endpoints.
11 lines (10 loc) • 525 B
TypeScript
import type { IDataObject, IHttpRequestMethods, IHttpRequestOptions } from 'n8n-workflow';
declare function resolveEndpoint(baseURL: string, path: string): {
baseURL: string;
url: string;
};
type RequestOptionsOverrides = Omit<IHttpRequestOptions, 'baseURL' | 'url' | 'method' | 'headers'> & {
headers?: IDataObject;
};
export declare function createRequestOptions(baseURL: string, path: string, method?: IHttpRequestMethods, overrides?: RequestOptionsOverrides): IHttpRequestOptions;
export { resolveEndpoint };