mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-05 21:12:48 +00:00
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:
@@ -1,5 +1,5 @@
|
||||
from langchain.prompts.few_shot import FewShotPromptTemplate
|
||||
from langchain.prompts.prompt import PromptTemplate
|
||||
from langchain_core.prompts.few_shot import FewShotPromptTemplate
|
||||
from langchain_core.prompts.prompt import PromptTemplate
|
||||
|
||||
fallacy_critique_example = PromptTemplate(
|
||||
template="""Human: {input_prompt}
|
||||
|
Reference in New Issue
Block a user