experimental[patch]: prompts import fix (#20534)

Replaced `from langchain.prompts` with `from langchain_core.prompts`
where it is appropriate.
Most of the changes go to `langchain_experimental`
Similar to #20348
This commit is contained in:
Leonid Ganeline
2024-04-18 13:09:11 -07:00
committed by GitHub
parent 2542a09abc
commit 95dc90609e
28 changed files with 40 additions and 41 deletions

View File

@@ -1,4 +1,4 @@
from langchain.prompts.prompt import PromptTemplate
from langchain_core.prompts.prompt import PromptTemplate
sentence_template = """Given the following fields, create a sentence about them.
Make the sentence detailed and interesting. Use every given field.