Retrieve Documents from AWS Bedrock Knowledge Base
Retrieve relevant documents from an AWS Bedrock Knowledge Base
Required inputs
| Key | Label | Type |
|---|---|---|
authentication.accessKey | Access key | secret |
authentication.secretKey | Secret key | secret |
knowledgeBaseId | Knowledge Base ID | FEEL expression |
configuration.region | Region | FEEL expression |
operation.query | Query | FEEL expression |
Optional inputs
| Key | Label | Type |
|---|---|---|
awsCredential | AWS credential | secret |
authentication.type | Authentication | string |
regionOverride | Region | FEEL expression |
operation.operationDiscriminator | Operation | string |
operation.numberOfResults | Number of results | string |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
errorExpression | Error expression | FEEL expression |
retryCount | Retries | FEEL expression |
retryBackoff | Retry backoff | string |
jobTimeout | Job timeout | string |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.aws.bedrock.knowledgebase.v1", {
"authentication.accessKey": "<your access key>",
"authentication.secretKey": "<your secret key>",
"knowledgeBaseId": "= ...",
"configuration.region": "= ...",
"operation.query": "= ...",
"awsCredential": "<your aws credential>",
"authentication.type": "defaultCredentialsChain",
})