mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-15 22:44:36 +00:00
docs: update SQL QA prompt (#30728)
Resolves https://github.com/langchain-ai/langchain/issues/30724 The [prompt in langchain-hub](https://smith.langchain.com/hub/langchain-ai/sql-query-system-prompt) used in this guide was composed of just a system message, but the guide did not add a human message to it. This was incompatible with some providers (and is generally not a typical usage pattern). The prompt in prompt hub has been updated to split the question into a separate HumanMessage. Here we update the guide to reflect this.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user