When trying to load the L5 notebook, I get an error that says there’s in issue with the Sandbox environment. Tried refreshing, logging in and out, etc, but no luck.
As a workaround, I backed up to L4 (notebook loaded fine), opened JupyterHub and navigated to the L5 folder to run the notebook. But when running the first cell, I get the following error
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 16
14 agentAliasId = os.environ['BEDROCK_AGENT_ALIAS_ID']
15 region_name = 'us-west-2'
---> 16 knowledgeBaseId = os.environ['KNOWLEDGEBASEID']
File <frozen os>:679, in __getitem__(self, key)
KeyError: 'KNOWLEDGEBASEID'
I ran os.environ
in its own cell, but do not see any KNOWLEDGEBASE related key.
Thanks!