Sign inSign up

lingsoft/finto-ai

By lingsoft

•Updated over 4 years ago

ELG compatible proxy container for Finto AI open API service. Finto AI suggests subjects for text.

Image
0

113

lingsoft/finto-ai repository overview

⁠ELG API for Finto AI Open API

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.

⁠Deploying the service

docker run -d -p <port>:8000 --init finto-ai:tagname

⁠Usage

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.

⁠text-request.json
{
    "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).

⁠Authors

⁠Original authors

Finto AI is based on Annif⁠ (automated subject indexing toolkit) developed mainly at the National Library of Finland.

⁠ELG API integration

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⁠

Source code⁠

⁠License

Apache licence 2.0.

Tag summary

Content type

Image

Digest

Size

98.1 MB

Last updated

over 4 years ago

docker pull lingsoft/finto-ai:1.0.0-elg