🥑 BackEnd : Proxy Server - Born-in-Idiots/ARTIFY GitHub Wiki
BackEnd Proxy Server
1. BE <-> BE_p Interface API
(1). Input
{
'language': {
'from': 'en',
'to': 'ko'
},
'params': {
'OPENAI_API_KEY': 'user_openai_api_key',
'temperature': 0.0,
'top_p': 0.1,
'frequency_penalty': 1.0,
'presence_penalty': 0.0
},
'template': 'sample_template',
'user_instruction': 'sample_user_instruction'
}
(2). Output
{
'uuid' : 'unique key',
'content' : {
'before' : 'user instruction',
'after' : 'translated user instruction'
}
}