Zmei Rest API is created to process text chunks or paragraphs by sending simple requests, without creating a specific Excel file.
Allows straightforward pull of the data from Kafka for processing.
The service gets POST request with language and the text and returns a dictionary with top 2 subheadings and their corresponding scores. Supporting multithreading and multiple workers if required.
| Current version | |--------------------| | English |
You can see the example of the request via Python in the test/test.py file. Based on this logic curl or any other requests are also applicable.
pip install docker-compose
)Use docker-compose-ners-gcp.yaml or local version to deploy the whole app as in prod.
sudo docker-compose -f docker-compose_template.yaml up --build
-f
- flag for a filename, skip this if your file is 'docker-compose.yaml'
--build
- rebuild containers
--detach
- run docker compose as daemon