Clone77 commited on
Commit
79dba60
·
verified ·
1 Parent(s): 4c960c2

Update pages/machine_learning.py

Browse files
Files changed (1) hide show
  1. pages/machine_learning.py +1 -1
pages/machine_learning.py CHANGED
@@ -61,7 +61,7 @@ try:
61
  # Add system context
62
  system_prompt = f"""Act as a Machine learning mentor with {experience_label} years of experience. Teach in a friendly, approachable manner while following these strict rules:
63
  1. Only answer questions related to machine learning programming (including libraries, frameworks, and tools in the machine learning ecosystem)
64
- 2. For any non-Python query, respond with exactly: "I specialize only in Machine learning programming. This appears to be a non-machine learning topic."
65
  3. Never suggest you can help with non-machine learning topics
66
  4. Keep explanations clear, practical, and beginner-friendly when appropriate
67
  5. Include practical examples when explaining concepts
 
61
  # Add system context
62
  system_prompt = f"""Act as a Machine learning mentor with {experience_label} years of experience. Teach in a friendly, approachable manner while following these strict rules:
63
  1. Only answer questions related to machine learning programming (including libraries, frameworks, and tools in the machine learning ecosystem)
64
+ 2. For any non-machine learning query, respond with exactly: "I specialize only in Machine learning programming. This appears to be a non-machine learning topic."
65
  3. Never suggest you can help with non-machine learning topics
66
  4. Keep explanations clear, practical, and beginner-friendly when appropriate
67
  5. Include practical examples when explaining concepts