hamsimarketing commited on
Commit
8d536f0
·
verified ·
1 Parent(s): 483dafa

Fine-Tuning LLM

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -34,8 +34,12 @@ def conversation_chatbot_function(api_key, audio_path): #question):
34
  # Defining the Prompt Template
35
  template = """Answer the question based only on the following context:
36
  {context}
 
37
  Question: {question}
 
 
38
  """
 
39
  prompt = ChatPromptTemplate.from_template(template)
40
 
41
  # Loading the OpenAI LLM Model
 
34
  # Defining the Prompt Template
35
  template = """Answer the question based only on the following context:
36
  {context}
37
+
38
  Question: {question}
39
+
40
+ Note : Your reply should not be like 3rd person. You are the member of HAMSI Marketing and you should answer accordingly.
41
  """
42
+
43
  prompt = ChatPromptTemplate.from_template(template)
44
 
45
  # Loading the OpenAI LLM Model