Spaces:
Sleeping
Sleeping
artificialguybr
commited on
Commit
·
359b1cb
1
Parent(s):
e6f14fa
Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,7 @@ def generate_knowledge_graph(api_key, user_input):
|
|
83 |
"required": ["nodes", "edges"],
|
84 |
},
|
85 |
}
|
86 |
-
]
|
87 |
-
response_format="json",
|
88 |
)
|
89 |
response_data = completion.choices[0]["message"]["function_results"]["knowledge_graph"]
|
90 |
print(response_data)
|
|
|
83 |
"required": ["nodes", "edges"],
|
84 |
},
|
85 |
}
|
86 |
+
]
|
|
|
87 |
)
|
88 |
response_data = completion.choices[0]["message"]["function_results"]["knowledge_graph"]
|
89 |
print(response_data)
|