Files
langchain/langchain/chains
Jon Luo 5565f56273 Use SQL dialect-specific prompts for SQLDatabaseChain (#2748)
Mentioned the idea here initially:
https://github.com/hwchase17/langchain/pull/2106#issuecomment-1487509106

Since there have been dialect-specific issues, we should use
dialect-specific prompts. This way, each prompt can be separately
modified to best suit each dialect as needed. This adds a prompt for
each dialect supported in sqlalchemy (mssql, mysql, mariadb, postgres,
oracle, sqlite). For this initial implementation, the only differencse
between the prompts is the instruction for the clause to use to limit
the number of rows queried for, and the instruction for wrapping column
names using each dialect's identifier quote character.
2023-04-13 22:10:49 -07:00
..
2023-04-11 22:02:37 -07:00
2023-02-12 23:01:26 -08:00
2023-04-10 10:23:11 -07:00
2023-03-14 12:37:48 -07:00
2023-03-20 07:50:49 -07:00
2023-04-06 09:47:37 -07:00
2023-03-22 23:15:04 -07:00