ELG compatible proxy container for Finto AI open API service. Finto AI suggests subjects for text.
113
This docker container acts as a proxy container which routes ELG compatible requests to finto.ai open API and returns ELG compatible response. The Finto API responds with subject suggestions for a given text.
docker run -d -p <port>:8000 --init finto-ai:tagname
curl -H "Content-Type: application/json" -d @text-request.json http://<host>:<port>/process/<project-id>
where endpoint project-id can be one of three supported strings: yso-fi, yso-en, or yso-sv.
{
"type": "text",
"params": {"limit": 2, "threshold": 0.05},
"content": "Finto AI ehdottaa tekstille sopivia aiheita. Palvelu perustuu Annif-työkaluun."
}
The content property contains text to be analyzed. The params property is optional and
can be used to control number of returned subjects, and threshold is lower bound on
score (between 0.0-1.0, reflects the estimated relevance of the subject).
Finto AI is based on Annif (automated subject indexing toolkit) developed mainly at the National Library of Finland.
The ELG API was developed by Lingsoft as part of the Connecting Europe Facility (CEF) project Microservices at your service: bridging the gap between NLP research and industry
Apache licence 2.0.
Content type
Image
Digest
Size
98.1 MB
Last updated
over 4 years ago
docker pull lingsoft/finto-ai:1.0.0-elg