abhivsh commited on
Commit
1eb61ab
·
verified ·
1 Parent(s): 3e934af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -64,10 +64,13 @@ def chat_query_doc(question, history):
64
  If don't get the answer, feel free to reply from your own knowledge."""
65
 
66
 
67
- query = f"""As an experienced Electrical Engineer, please provide an elaborate, precise, and answer politely pointwise to the question: {question}.
68
  Also, Please consider the provided chat history: {history}, if any.
69
  Ensure that your current response is detailed, accurate, and addresses each aspect of the question thoroughly.
70
- """
 
 
 
71
 
72
 
73
  #llm = ChatOpenAI(model = llm_name, temperature = 0.1, api_key = OPENAI_API_KEY)
 
64
  If don't get the answer, feel free to reply from your own knowledge."""
65
 
66
 
67
+ query_old_2 = f"""As an experienced Electrical Engineer, please provide an elaborate, precise, and answer politely pointwise to the question: {question}.
68
  Also, Please consider the provided chat history: {history}, if any.
69
  Ensure that your current response is detailed, accurate, and addresses each aspect of the question thoroughly.
70
+ """
71
+
72
+ query = f"""Provide an elaborate, precise, pointwise response to the question: {question}.
73
+ """
74
 
75
 
76
  #llm = ChatOpenAI(model = llm_name, temperature = 0.1, api_key = OPENAI_API_KEY)