interface LmChatAwsBedrockNodeParameters {
authentication?: "iam" | "assumeRole";
model?: string;
modelSource?: "onDemand" | "inferenceProfile";
options?: {
additionalModelRequestFields?: string;
guardrail?: {
values: {
guardrailIdentifier?: string;
guardrailVersion?: string;
trace?: "disabled" | "enabled" | "enabled_full";
};
};
latency?: "standard"
| "optimized";
maxRetries?: number;
maxTokensToSample?: number;
temperature?: number;
timeout?: number;
topP?: number;
};
}
Properties§
§
§
§
§
readonly authentication?: "iam" | "assumeRole"
readonly model?: string
The model which will generate the completion. Learn more. Type options: {"loadOptionsDependsOn":["modelSource"],"loadOptions":{"routing":{"request":{"method":"GET","url":"/foundation-models?&byOutputModality=TEXT&byInferenceType=ON_DEMAND"},"output":{"postReceive":[{"type":"rootProperty","properties":{"property":"modelSummaries"}},{"type":"setKeyValue","properties":{"name":"={{$responseItem.modelName}}","description":"={{$responseItem.modelArn}}","value":"={{$responseItem.modelId}}"}},{"type":"sort","properties":{"key":"name"}}]}}}}
readonly model Source?: "onDemand" | "inferenceProfile"
Choose between on-demand foundation models or inference profiles Default: "onDemand"
readonly options?: { ... }
Additional options to add Default: {}
Default: "iam"