Skip to content

A interactive chatbot that performs NER on a text and specified entity type and provides a wikipedia summary for each identified entity.

License

Notifications You must be signed in to change notification settings

sebastianschramm/wikilinker

Repository files navigation

WikiLinker

Alt text

Wikilinker is a chainlit based app to perform arbitrary named entity recognition on a given text using UniversalNER (a task-specific LLM). Identified entities are exactly matched with wikipedia page titles and a summary of the wikipedia page is linked to those entities should the wikipedia pages exist.

Check out the demo video of the app on my linkedin.

Installation

You can install the wikilinker package via pip by executing the following command:

pip install git+https://github.com/sebastianschramm/wikilinker.git

or by first cloning the repository and then installing by executing the following command in the root of the cloned repository:

pip install .

Start the app

You have 2 ways to start the wikilinker. The recommende way is to use the provided script command "neo" (make sure you have the wikilinker package installed prior to that):

neo

Alternatively, if you have cloned the respository, you can use the chainlit cli in the root of the repository:

chainlit run wikilinker/server.py

Usage of the app

First, provide an entity type in plain English, e.g., "city" or "medical condition." Then, enter the text in which you want to find the selected entities.

If entities are identified, the words will be highlighted, and you will be able to click on them to see the summary of their Wikipedia page if a Wikipedia entry exists.

About

A interactive chatbot that performs NER on a text and specified entity type and provides a wikipedia summary for each identified entity.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages