@n8n/n8n-nodes-langchain
Version:
14 lines (13 loc) • 638 B
TypeScript
import type { ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow';
import type { BedrockApi } from './resolveBedrockApi';
export type BedrockInferenceProfileSummary = {
inferenceProfileId: string;
inferenceProfileName: string;
inferenceProfileArn: string;
description?: string;
models?: Array<{
modelArn?: string;
}>;
};
export declare function toProfileOption(profile: BedrockInferenceProfileSummary): INodePropertyOptions;
export declare function listBedrockInferenceProfiles(ctx: ILoadOptionsFunctions, { credentialsType, baseURL }: BedrockApi): Promise<BedrockInferenceProfileSummary[]>;