Skip to content

Conversation

@garystafford-aws
Copy link
Contributor

Issue #, if available: 52

Description of changes:
Update the application code to reflect changes to the LangChain base class:

from langchain import FewShotPromptTemplate, PromptTemplate, SQLDatabase

to

from langchain.sql_database import SQLDatabase
from langchain.prompts import FewShotPromptTemplate, PromptTemplate

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@garystafford-aws garystafford-aws merged commit 8d54dcd into aws-solutions-library-samples:main Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant