From d7ea4f90a8fa1be0fbbaa715426caf1c819d12a8 Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Sun, 16 Apr 2023 17:37:07 +0100 Subject: ora.sh load model ( to use gpt-4 ) --- ora/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ora/__init__.py') diff --git a/ora/__init__.py b/ora/__init__.py index 928f4af3..b6389f64 100644 --- a/ora/__init__.py +++ b/ora/__init__.py @@ -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', -- cgit v1.2.3