Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import logging
|
|
8 |
import tempfile
|
9 |
from pathlib import Path
|
10 |
from sympy import *
|
11 |
-
import
|
12 |
from pathlib import Path
|
13 |
import openai
|
14 |
|
@@ -639,9 +639,7 @@ Format your response with clear headers and bullet points."""
|
|
639 |
messages=[
|
640 |
{
|
641 |
"role": "assistant",
|
642 |
-
"content": "I am an expert mathematics professor who grades student solutions using LaTeX formatting.
|
643 |
-
When writing inline math, I always write math using proper LaTeX $ $ delimiters - NEVER the parentheses or brackets that some others use, NEVER the so-called LaTeX bracket notation.
|
644 |
-
I use $$ $$ for displayed equations."
|
645 |
},
|
646 |
{
|
647 |
"role": "user",
|
|
|
8 |
import tempfile
|
9 |
from pathlib import Path
|
10 |
from sympy import *
|
11 |
+
import jsonI am
|
12 |
from pathlib import Path
|
13 |
import openai
|
14 |
|
|
|
639 |
messages=[
|
640 |
{
|
641 |
"role": "assistant",
|
642 |
+
"content": "I am an expert mathematics professor who grades student solutions using LaTeX formatting. When writing inline math, I always write math using proper LaTeX $ $ delimiters - NEVER the backslash parentheses or backslash brackets approach, NEVER the so-called LaTeX bracket notation. For displayed equations, I use $$ $$."
|
|
|
|
|
643 |
},
|
644 |
{
|
645 |
"role": "user",
|