mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-07 05:52:15 +00:00
templates: fix deps (#15439)
This commit is contained in:
1535
templates/rag-elasticsearch/poetry.lock
generated
1535
templates/rag-elasticsearch/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.9,<3.13"
|
||||
langchain = ">=0.0.325"
|
||||
langchain = ">=0.0.353,<0.2"
|
||||
openai = "<2"
|
||||
elasticsearch = "^8.10.0"
|
||||
sentence-transformers = "^2.2.2"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
from langchain.prompts import ChatPromptTemplate, PromptTemplate
|
||||
from langchain_core.prompts import ChatPromptTemplate, PromptTemplate
|
||||
|
||||
# Used to condense a question and chat history into a single question
|
||||
condense_question_prompt_template = """Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, in its original language. If there is no chat history, just rephrase the question to be a standalone question.
|
||||
|
Reference in New Issue
Block a user