You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the below code returns error and the knowledge base (and the underlying vector store) cannot be created
this.knowledgeBase = new bedrock.KnowledgeBase(this, 'BedrockKnowledgeBase', {
embeddingsModel: bedrock.BedrockFoundationModel.TITAN_EMBED_TEXT_V1,
instruction: Use this knowledge base answer questions.,
});
error response: Received response status [FAILED] from custom resource. Message returned: Er
ror: An error occurred (ValidationException) when calling the CreateKnowledg
eBase operation: The knowledge base storage configuration provided is invali
d... The OpenSearch Serverless engine type associated with your vector index
is invalid. Recreate your vector index with one of the following valid engin
e types: FAISS. Then retry your request.
Expected Behavior
knowledge base is created and a default new serverless OpenSearch collection is created alongside
Current Behavior
reports error and resources cannot be created (Testing using us-west-2), the same code worked perfectly about 1 week ago
Reproduction Steps
import * as cdk from 'aws-cdk-lib';
import { bedrock } from '@cdklabs/generative-ai-cdk-constructs';
import { Construct } from 'constructs';
Describe the bug
the below code returns error and the knowledge base (and the underlying vector store) cannot be created
this.knowledgeBase = new bedrock.KnowledgeBase(this, 'BedrockKnowledgeBase', {
embeddingsModel: bedrock.BedrockFoundationModel.TITAN_EMBED_TEXT_V1,
instruction:
Use this knowledge base answer questions.
,});
error response: Received response status [FAILED] from custom resource. Message returned: Er
ror: An error occurred (ValidationException) when calling the CreateKnowledg
eBase operation: The knowledge base storage configuration provided is invali
d... The OpenSearch Serverless engine type associated with your vector index
is invalid. Recreate your vector index with one of the following valid engin
e types: FAISS. Then retry your request.
Expected Behavior
knowledge base is created and a default new serverless OpenSearch collection is created alongside
Current Behavior
reports error and resources cannot be created (Testing using us-west-2), the same code worked perfectly about 1 week ago
Reproduction Steps
import * as cdk from 'aws-cdk-lib';
import { bedrock } from '@cdklabs/generative-ai-cdk-constructs';
import { Construct } from 'constructs';
export interface KbStatefulProps extends cdk.StackProps {
}
export class KbStatefulStack extends cdk.Stack {
public readonly knowledgeBase: bedrock.KnowledgeBase
constructor(scope: Construct, id: string, props: KbStatefulProps) {
super(scope, id, props);
}
}
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.134.0
Framework Version
0.1.105
Node.js Version
v20.12.0
OS
Ubuntu 22.04
Language
Typescript
Language Version
No response
Region experiencing the issue
us-west-2
Code modification
no
Other information
No response
Service quota
The text was updated successfully, but these errors were encountered: