Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def get_conversational_chain(retriever):
|
|
113 |
#task="text-generation",
|
114 |
#pipeline_kwargs={"max_new_tokens": 10})
|
115 |
|
116 |
-
pt = ChatPromptTemplate.
|
117 |
# Retrieve and generate using the relevant snippets of the blog.
|
118 |
#retriever = db.as_retriever()
|
119 |
rag_chain = (
|
|
|
113 |
#task="text-generation",
|
114 |
#pipeline_kwargs={"max_new_tokens": 10})
|
115 |
|
116 |
+
pt = ChatPromptTemplate.get_template(prompt_template)
|
117 |
# Retrieve and generate using the relevant snippets of the blog.
|
118 |
#retriever = db.as_retriever()
|
119 |
rag_chain = (
|