pentagoniac commited on
Commit
ee591bd
1 Parent(s): 481d96e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -8,8 +8,6 @@ def http_bot(prompt, history):
8
 
9
  messages = []
10
 
11
- # Add the current prompt to the messages
12
-
13
  prompt_final = f"""You are SEMIKONG, an AI Assistant developed by the AI Alliance.
14
  Your role is to use your's in-depth knowledge in the field of Semiconductor Manufacturing Process to answer the instruction from the user in the most sophisticate, detail and technical ways.
15
  You must use as much as technical term as possible to make the answer more professional and informative.
@@ -23,6 +21,7 @@ Your answer must align with these criteria:
23
  7. Relevance to the Question: Confirm that the content of the answer directly addresses the core of the question. All explanations and solutions should be relevant and specifically tailored to the details and constraints of the question.
24
  Now given an instruction from : {prompt}.
25
  Your answer: <your answer here>"""
 
26
  messages.append({"role": "user", "content": prompt_final})
27
 
28
  client = OpenAI(api_key="dummy", base_url="http://semikong.aitomatic.com:8081/v1")
 
8
 
9
  messages = []
10
 
 
 
11
  prompt_final = f"""You are SEMIKONG, an AI Assistant developed by the AI Alliance.
12
  Your role is to use your's in-depth knowledge in the field of Semiconductor Manufacturing Process to answer the instruction from the user in the most sophisticate, detail and technical ways.
13
  You must use as much as technical term as possible to make the answer more professional and informative.
 
21
  7. Relevance to the Question: Confirm that the content of the answer directly addresses the core of the question. All explanations and solutions should be relevant and specifically tailored to the details and constraints of the question.
22
  Now given an instruction from : {prompt}.
23
  Your answer: <your answer here>"""
24
+
25
  messages.append({"role": "user", "content": prompt_final})
26
 
27
  client = OpenAI(api_key="dummy", base_url="http://semikong.aitomatic.com:8081/v1")