This commit is contained in:
t.me/xtekky
2023-04-20 15:01:57 +01:00
parent fa113e6fa7
commit fce0656ab1
2 changed files with 11 additions and 2 deletions

View File

@@ -24,4 +24,4 @@ chatbot_id = gpt4_chatbot_ids[0]
model = ora.CompletionModel.load(chatbot_id, 'gpt-4')
response = ora.Completion.create(model, 'hello')
print(response)
print(response.completion.choices[0].text)