Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
statefb committed Oct 11, 2024
1 parent 08a54c0 commit c3779c4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion backend/app/bot_remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def delete_custom_bot_stack_by_bot_id(bot_id: str):
client = boto3.client("cloudformation")
client = boto3.client("cloudformation", BEDROCK_REGION)
stack_name = f"BrChatKbStack{bot_id}"
try:
response = client.delete_stack(StackName=stack_name)
Expand Down
2 changes: 1 addition & 1 deletion cdk/lib/bedrock-custom-bot-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class BedrockCustomBotStack extends Stack {
const { docBucketsAndPrefixes } = this.setupBucketsAndPrefixes(props);

const vectorCollection = new VectorCollection(this, "KBVectors", {
collectionName: `bedrock-kb-${props.botId.slice(0, 20)}`,
collectionName: `kb-${props.botId.slice(0, 20).toLowerCase()}`,
standbyReplicas:
props.useStandbyReplicas === true
? VectorCollectionStandbyReplicas.ENABLED
Expand Down
3 changes: 0 additions & 3 deletions docs/migration/V1_TO_V2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
- **For users who wish to continue using pgvector**: Upgrading to v2 is not recommended if you plan to continue using pgvector. Upgrading to v2 will remove all resources related to pgvector, and future support will no longer be available. Continue using v1 in this case.
- Note that **upgrading to v2 will result in the deletion of all Aurora-related resources.** Future updates will focus exclusively on v2, with v1 being deprecated.

> [!Important]
> v2 will be released soon.
## Introduction

### What will happen
Expand Down

0 comments on commit c3779c4

Please sign in to comment.