Made improvements to parsing

This commit is contained in:
bolade
2025-09-11 16:23:22 +01:00
parent 29d9292cbd
commit b1b1c5ea1e
9 changed files with 293 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ from sqlalchemy.orm import selectinload
# Connect to SQLite
prompt_template = hub.pull("langchain-ai/sql-agent-system-prompt")
db = SQLDatabase.from_uri("sqlite:///investors_2.db")
db = SQLDatabase.from_uri("sqlite:///investors.db")
system_message = (
prompt_template.format(dialect="SQLite", top_k=5)
+ "\n Get answers from the Sql database and the vector database"