Skip to content

Commit

Permalink
Remove the word agent
Browse files Browse the repository at this point in the history
  • Loading branch information
dorukozturk committed Oct 23, 2024
1 parent b6b3084 commit cac06cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions cdk/examples/generative_ai_rag/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
from lib.gen_ai_rag_stack import GenAIRagServiceStack
from lib.gen_ai_rag_stack_props import GenAIRagServiceStackProps

from other_stack.bedrock_agent_stack import BedrockAgentStack
from other_stack.bedrock_stack import BedrockStack

app = App()

env_config = dotenv_values(".env")

deploy_core = bool(util.strtobool(env_config["deploy_core_stack"]))
deploy_bedrock = bool(util.strtobool(env_config.pop("deploy_bedrock_agent")))
deploy_bedrock = bool(util.strtobool(env_config.pop("deploy_bedrock")))

if deploy_bedrock:
BedrockAgentStack(
BedrockStack(
app,
"BedrockAgentStack",
"BedrockStack",
env=Environment(
account=env_config["account_number"],
region=env_config["aws_region"],
Expand Down
2 changes: 1 addition & 1 deletion cdk/examples/generative_ai_rag/sample.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
deploy_core_stack="True"
deploy_bedrock_agent="True"
deploy_bedrock="True"

# Essential Props
account_number="<ACCOUNT_NUMBER>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from constructs import Construct

class BedrockAgentStack(Stack):
class BedrockStack(Stack):
def __init__(
self,
scope: Construct,
Expand Down Expand Up @@ -55,7 +55,7 @@ def __init__(
)

# create parameter store
self.agent_id_parameter = StringParameter(
self.kb_id_parameter = StringParameter(
self,
"BedrockKnowledgeBaseIdParameter",
parameter_name="knowledge_base_id",
Expand Down

0 comments on commit cac06cd

Please sign in to comment.