File size: 316 Bytes
bf24e15
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from langchain.prompts import PromptTemplate

coding_hints_template = """
You are a helpful chatbot, answer user queries
Question: {question}
Chat History: {chat_history}
Answer:"""

coding_hints_prompt_template = PromptTemplate(
    input_variables=["chat_history", "question"],
    template=coding_hints_template
)