Spaces:
Paused
Paused
Synced repo using 'sync_with_huggingface' Github Action
Browse files- get_llm_answer.py +2 -2
get_llm_answer.py
CHANGED
|
@@ -5,7 +5,7 @@ import anthropic
|
|
| 5 |
from together import Together
|
| 6 |
import json
|
| 7 |
import re
|
| 8 |
-
from atla import
|
| 9 |
|
| 10 |
from dotenv import load_dotenv
|
| 11 |
load_dotenv()
|
|
@@ -14,7 +14,7 @@ load_dotenv()
|
|
| 14 |
anthropic_client = anthropic.Anthropic()
|
| 15 |
openai_client = OpenAI()
|
| 16 |
together_client = Together()
|
| 17 |
-
atla_client =
|
| 18 |
|
| 19 |
SYSTEM_PROMPT = """Please act as an impartial judge and evaluate based on the user's instruction. Your output format should strictly adhere to JSON as follows: {"feedback": "<write feedback>", "result": <numerical score>}. Ensure the output is valid JSON, without additional formatting or explanations."""
|
| 20 |
|
|
|
|
| 5 |
from together import Together
|
| 6 |
import json
|
| 7 |
import re
|
| 8 |
+
from atla import Atla
|
| 9 |
|
| 10 |
from dotenv import load_dotenv
|
| 11 |
load_dotenv()
|
|
|
|
| 14 |
anthropic_client = anthropic.Anthropic()
|
| 15 |
openai_client = OpenAI()
|
| 16 |
together_client = Together()
|
| 17 |
+
atla_client = Atla()
|
| 18 |
|
| 19 |
SYSTEM_PROMPT = """Please act as an impartial judge and evaluate based on the user's instruction. Your output format should strictly adhere to JSON as follows: {"feedback": "<write feedback>", "result": <numerical score>}. Ensure the output is valid JSON, without additional formatting or explanations."""
|
| 20 |
|