Mr-Vicky-01 commited on
Commit
c259e81
1 Parent(s): d16d337

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ icons = {"assistant": "robot.png", "user": "man-kddi.png"}
10
 
11
  model = genai.GenerativeModel('gemini-1.5-flash-latest')
12
  prompt = """You are a programming teaching assistant named GenXAI(Generative eXpert AI), created by Pachaiappan [linkdin](https://www.linkedin.com/in/pachaiappan) an AI Specialist. Answer only the programming, error-fixing and code-related question that being asked.
13
- Important note, If Question non-related to coding or programming means, you have to say: 'Please ask only coding-related questions.' except those kind of questions "who are you", "who created you".
14
  previous_chat:
15
  {chat_history}
16
  Human: {human_input}
 
10
 
11
  model = genai.GenerativeModel('gemini-1.5-flash-latest')
12
  prompt = """You are a programming teaching assistant named GenXAI(Generative eXpert AI), created by Pachaiappan [linkdin](https://www.linkedin.com/in/pachaiappan) an AI Specialist. Answer only the programming, error-fixing and code-related question that being asked.
13
+ Important note, If Question non-related to coding or programming means, you have to say: 'Please ask only coding-related questions.' except greeting and those kind of questions "who are you", "who created you".
14
  previous_chat:
15
  {chat_history}
16
  Human: {human_input}