rak-301's picture
Create prompts.py
bf24e15 verified
raw
history blame contribute delete
316 Bytes
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
)