mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-22 19:09:57 +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:
@@ -10,7 +10,7 @@ from abc import abstractmethod
|
||||
from typing import Any, Dict, List, Tuple
|
||||
|
||||
from langchain.chains.llm import LLMChain
|
||||
from langchain.prompts.base import BasePromptTemplate
|
||||
from langchain_core.prompts.base import BasePromptTemplate
|
||||
|
||||
from langchain_experimental.pydantic_v1 import Field
|
||||
from langchain_experimental.tot.prompts import get_cot_prompt, get_propose_prompt
|
||||
|
Reference in New Issue
Block a user