mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-01 11:02:37 +00:00
templates: fix deps (#15439)
This commit is contained in:
1108
templates/stepback-qa-prompting/poetry.lock
generated
1108
templates/stepback-qa-prompting/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@ readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.8.1,<4.0"
|
||||
langchain = ">=0.0.325"
|
||||
langchain = ">=0.0.353,<0.2"
|
||||
duckduckgo-search = "^3.9.3"
|
||||
openai = "<2"
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
from langchain.prompts import ChatPromptTemplate, FewShotChatMessagePromptTemplate
|
||||
from langchain.utilities import DuckDuckGoSearchAPIWrapper
|
||||
from langchain_community.chat_models import ChatOpenAI
|
||||
from langchain_community.utilities import DuckDuckGoSearchAPIWrapper
|
||||
from langchain_core.output_parsers import StrOutputParser
|
||||
from langchain_core.prompts import ChatPromptTemplate, FewShotChatMessagePromptTemplate
|
||||
from langchain_core.runnables import RunnableLambda
|
||||
|
||||
search = DuckDuckGoSearchAPIWrapper(max_results=4)
|
||||
|
Reference in New Issue
Block a user