convosim-ui / app_config.py
ivnban27-ctl's picture
feat/workshop_scenarios (#3)
18f6362 verified
raw
history blame
680 Bytes
from models.model_seeds import seeds, seed2str
# ISSUES = ['Anxiety','Suicide']
ISSUES = [k for k,_ in seeds.items()]
SOURCES = [
"CTL_llama2",
'OA_rolemodel',
# 'OA_finetuned',
]
SOURCES_LAB = {"OA_rolemodel":'OpenAI GPT3.5',
"OA_finetuned":'Finetuned OpenAI',
"CTL_llama2": "Custom CTL"
}
def source2label(source):
return SOURCES_LAB[source]
def issue2label(issue):
return seed2str.get(issue, "GCT")
ENVIRON = "prod"
DB_SCHEMA = 'prod_db' if ENVIRON == 'prod' else 'test_db'
DB_CONVOS = 'conversations'
DB_COMPLETIONS = 'comparison_completions'
DB_BATTLES = 'battles'
DB_ERRORS = 'completion_errors'