Also available here: https://url-entity-extractor-m4kand2eyq-et.a.run.app/docs
requires a JSON body with key "url"
.
If the url returns a body, entity extraction is ran on it.
Entities are returned as an array of strings.
Furthermore, past successful queries are persisted and can be retrieved via the endpoint below.
Get all successful previous queries.
-
make build
: build the image -
make run
: runs the service -
make freeze
: pin dependencies fromrequirements.dev.txt
-
make test
: builds the images and runs unit and integration tests