Skip to content

Commit

Permalink
fix: example import
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Oct 12, 2023
1 parent 964f5f8 commit 39568f4
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions examples/src/chains/sql_db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ QUESTION: {question}
SQL QUERY:`);
/**
* You can also load a default prompt by importing from "langchain/sql_db"
*
* import {
* DEFAULT_SQL_DATABASE_PROMPT
* SQL_POSTGRES_PROMPT
* SQL_SQLITE_PROMPT
* SQL_MSSQL_PROMPT
* SQL_MYSQL_PROMPT
* SQL_SAP_HANA_PROMPT
* } from "langchain/sql_db";
*
* The default prompts available are:
* DEFAULT_SQL_DATABASE_PROMPT
* SQL_POSTGRES_PROMPT
* SQL_SQLITE_PROMPT
* SQL_MSSQL_PROMPT
* SQL_MYSQL_PROMPT
* SQL_SAP_HANA_PROMPT
*/

/**
Expand Down

0 comments on commit 39568f4

Please sign in to comment.