mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-16 15:04:13 +00:00
Format Templates (#12396)
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
from operator import itemgetter
|
||||
|
||||
from langchain.prompts import ChatPromptTemplate
|
||||
from langchain.chat_models import ChatOpenAI
|
||||
from langchain.prompts import ChatPromptTemplate
|
||||
from langchain.schema.output_parser import StrOutputParser
|
||||
from langchain.schema.runnable import RunnablePassthrough, RunnableLambda
|
||||
from langchain.schema.runnable import RunnablePassthrough
|
||||
from langchain.utilities import DuckDuckGoSearchAPIWrapper
|
||||
|
||||
template = """Answer the users question based only on the following context:
|
||||
|
Reference in New Issue
Block a user