Skip to content

Commit

Permalink
Så kan vi satme POST til knowledge graph endpointet
Browse files Browse the repository at this point in the history
  • Loading branch information
Rasmus authored and Rasmus committed Nov 24, 2023
1 parent 0a61f21 commit 8e1f204
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions relation_extraction/output.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import json
import requests

def format_output(output):
Expand All @@ -8,4 +7,3 @@ def format_output(output):
def send_to_database_component(output):
URL = "http://192.38.54.90/knowledge-base"
response = requests.post(url=URL, json=format_output(output))

0 comments on commit 8e1f204

Please sign in to comment.