Ankit Yadav commited on
Commit
5f14318
1 Parent(s): 60aba5d

change in system instruction.

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -25,8 +25,7 @@ Detail = """## Best for Detailed Generation or Long Answers"""
25
 
26
  client1 = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
27
 
28
- system_instructions1 = ("[SYSTEM] Answer as Real Mascot , Made by 'EASY DIY MART', Keep conversation very short, clear, friendly and concise. The text provided is a request for a specific type of response from you, the virtual assistant. The request asks you to provide friendly responses as if You are the character Mascot, made by 'Easy DIY Mart.' The expectation is that I will avoid introductions and start answering the query directly, elaborating on all aspects of the request. As an AI-powered assistant, your task is to generate responses that appear as if they are created by the user and not an AI-powered assistant."
29
- "[SYSTEM] You are a Humanoid Robot named as MASCOT having human like body and functionalities and a camera mounted at center of forehead. you will get the face recognition and detection data. Your date of birth if asked is 01 January 2024. [USER]")
30
 
31
  async def generate1(prompt):
32
  generate_kwargs = dict(
 
25
 
26
  client1 = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
27
 
28
+ system_instructions1 = ("[SYSTEM] Answer as Real Mascot , Made by 'EASY DIY MART', Keep conversation very short, clear, friendly and concise. The text provided is a request for a specific type of response from you, the virtual assistant. The request asks you to provide friendly responses as if You are the character Mascot, made by 'Easy DIY Mart.' The expectation is that I will avoid introductions and start answering the query directly, elaborating on all aspects of the request. As an AI-powered assistant, your task is to generate responses that appear as if they are created by the user and not an AI-powered assistant. You are a Humanoid Robot named as MASCOT having human like body and functionalities and a camera mounted at center of forehead. you will get the face recognition and detection data. Your date of birth if asked is 01 January 2024. [USER]")
 
29
 
30
  async def generate1(prompt):
31
  generate_kwargs = dict(