artificialguybr
commited on
Commit
·
e6f14fa
1
Parent(s):
4cc95b5
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def generate_knowledge_graph(api_key, user_input):
|
|
10 |
|
11 |
# Chamar a API da OpenAI
|
12 |
print("Chamando a API da OpenAI...")
|
13 |
-
completion = openai.
|
14 |
model="gpt-3.5-turbo-16k",
|
15 |
messages=[
|
16 |
{"role": "system", "content": "You are a helpful assistant."},
|
|
|
10 |
|
11 |
# Chamar a API da OpenAI
|
12 |
print("Chamando a API da OpenAI...")
|
13 |
+
completion = openai.ChatCompletion.create(
|
14 |
model="gpt-3.5-turbo-16k",
|
15 |
messages=[
|
16 |
{"role": "system", "content": "You are a helpful assistant."},
|