Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def analyze_with_mistral(resume_text, job_description):
|
|
| 34 |
TOGETHER_API_KEY = os.getenv("HUGGINGFACE_API_KEY")
|
| 35 |
url = "https://api.together.xyz/v1/chat/completions"
|
| 36 |
|
| 37 |
-
[
|
| 38 |
{
|
| 39 |
"role": "system",
|
| 40 |
"content": "You are an AI expert in ATS resume analysis. Your task is to analyze a resume against a job description for ATS compatibility and return the result in a structured JSON format. You must strictly follow the JSON schema provided and output ONLY JSON."
|
|
|
|
| 34 |
TOGETHER_API_KEY = os.getenv("HUGGINGFACE_API_KEY")
|
| 35 |
url = "https://api.together.xyz/v1/chat/completions"
|
| 36 |
|
| 37 |
+
messages= [
|
| 38 |
{
|
| 39 |
"role": "system",
|
| 40 |
"content": "You are an AI expert in ATS resume analysis. Your task is to analyze a resume against a job description for ATS compatibility and return the result in a structured JSON format. You must strictly follow the JSON schema provided and output ONLY JSON."
|