ora.sh load model ( to use gpt-4 )

This commit is contained in:
t.me/xtekky
2023-04-16 17:37:07 +01:00
parent c38e367ec6
commit d7ea4f90a8
3 changed files with 44 additions and 3 deletions

View File

@@ -26,10 +26,10 @@ class Completion:
'chatbotId': model.id,
'input' : prompt,
'userId' : model.createdBy,
'model' : 'gpt-3.5-turbo',
'model' : model.modelName,
'provider' : 'OPEN_AI',
'includeHistory': includeHistory}).json()
return OraResponse({
'id' : response['conversationId'],
'object' : 'text_completion',