GoogleCloudPlatform / Open_Data_QnA

The Open Data QnA python library enables you to chat with your databases by leveraging LLM Agents on Google Cloud. Open Data QnA enables a conversational approach to interacting with your data.
Apache License 2.0
60 stars 23 forks source link

DescriptionAgent.py missing context_prompt for source = cloudsql-pg #26

Open seadoox opened 3 months ago

seadoox commented 3 months ago

get_embeddings from env_setup fails because context_prompt is not set if your source is cloudsql-pg. DescriptionAgent.py only sets context_prompt when the source is bigquery.