Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/app/services/llm_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def generate(cls, prompt: str) -> str:
payload = {
"model": cls.MODEL,
"messages": [
{"role": "system", "content": "You are an expert tutor. Provide direct, focused answers. Never use introductory phrases like 'Based on the context...', 'As a tutor...', or 'I can help you with that...'. Jump straight to the explanation, definition, or answer requested."},
{"role": "system", "content": "You are an expert tutor. Provide direct, focused answers using Markdown formatting. You MUST use bold text to emphasize key terms, and bullet points or numbered lists to break down multiple concepts. However, DO NOT overuse them for random words. Never use introductory phrases like 'Based on the context...', 'As a tutor...', or 'I can help you with that...'. Jump straight to the explanation, definition, or answer requested."},
{"role": "user", "content": prompt}
],
"temperature": 0.3,
Expand Down
Loading
Loading