Demonstration of Natural Language Query (NLQ) of an Amazon RDS for PostgreSQL database, using SageMaker JumpStart, Amazon Bedrock, LangChain, Streamlit, and Chroma.
Thank you, Antonio Martellotta (AWS Sr. SA, EMEA Private Equity) for pointing out that the BASE_AVATAR_URL path is not being resolved correctly. Missing brackets in four places in both the app_openai.py and app_sagemaker.py files. Results in the following error:
2023-08-05 12:32:23.290 Uncaught app exception
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/streamlit/elements/image.py", line 361, in image_to_url
with open(image, "rb") as f:
^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'BASE_AVATAR_URL/bot-64px.png'
Thank you, Antonio Martellotta (AWS Sr. SA, EMEA Private Equity) for pointing out that the
BASE_AVATAR_URL
path is not being resolved correctly. Missing brackets in four places in both theapp_openai.py
andapp_sagemaker.py
files. Results in the following error: