templates: fix deps (#15439)

This commit is contained in:
Erick Friis
2024-01-03 13:28:05 -08:00
committed by GitHub
parent 70beb2e40d
commit 69a8a26683
255 changed files with 59531 additions and 46391 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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"

View File

@@ -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.