Files
ds-fire-fighter/config.py
T

36 lines
945 B
Python
Raw Normal View History

2025-06-11 17:13:47 +01:00
import os
2025-06-18 17:09:36 +01:00
from dotenv import load_dotenv
load_dotenv()
2025-02-06 20:22:43 +00:00
QUIZ_TYPES = {
1: {
"name": "Single Line Text Inputs",
"format": """
{"question": "Your question here", "correct_answer": "Your correct answer here"}
"""
},
2: {
"name": "Multiple Choice Questions",
"format": """
{"question": "Your question here", "options": ["Option 1", "Option 2", "Option 3"], "correct_answer": "Correct Option"}
"""
},
3: {
"name": "True or False Questions",
"format": """
{"question": "Your question here", "options": ["True", "False"], "correct_answer": "True or False"}
"""
}
2025-04-09 01:16:22 +01:00
}
MODEL = "gpt-4o-mini"
2025-06-11 17:13:47 +01:00
TEMPERATURE = 0.7
class Config:
API_KEY_ACCESS = os.getenv("API_KEY_ACCESS")
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
BACKEND_XAPI_KEY = os.getenv("BACKEND_XAPI_KEY")
BACKEND_BASE_URL = os.getenv("BACKEND_BASE_URL_")