Chris4K commited on
Commit
05fc524
·
1 Parent(s): c5922b9

Update ner_tool.py

Browse files
Files changed (1) hide show
  1. ner_tool.py +1 -1
ner_tool.py CHANGED
@@ -5,7 +5,7 @@ class NamedEntityRecognitionTool(Tool):
5
  name = "ner_tool"
6
  description = "Identifies and labels entities such as persons, organizations, and locations in a given text."
7
  inputs = ["text"]
8
- outputs = ["entities"]
9
 
10
  def __call__(self, text: str):
11
  # Initialize the named entity recognition pipeline
 
5
  name = "ner_tool"
6
  description = "Identifies and labels entities such as persons, organizations, and locations in a given text."
7
  inputs = ["text"]
8
+ outputs = ["text"]
9
 
10
  def __call__(self, text: str):
11
  # Initialize the named entity recognition pipeline