Chris4K commited on
Commit
507724b
1 Parent(s): fb510e6

Update ner_tool.py

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