Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGLund99 committed Dec 11, 2023
1 parent e8e3920 commit b0f1c65
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions relation_extraction/API_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ def API_endpoint():
@abstractmethod
def send_request(request):
pass


4 changes: 0 additions & 4 deletions relation_extraction/knowledge_graph_messenger.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ def send_request(output):
def format_output(self, output):
formatted_output = {"triples": output}
return formatted_output




1 change: 0 additions & 1 deletion relation_extraction/multilingual/llm_messenger.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,3 @@ def prompt_llm(data, split_relations, relations):
process_response = LLMMessenger.process_message(response)
triples = LLMMessenger.check_validity_of_response(sentence, process_response, relations)
return triples

0 comments on commit b0f1c65

Please sign in to comment.