fasttext-serving-0.6.2 is not a library.
fasttext-serving
fastText model serving service
Installation
You can download prebuilt binary from GitHub releases, or install it using Cargo:
Using Docker:
Usage
Serve HTTP REST API
HTTP API endpoint:
POST /predict
Post data should be JSON array of string, for example ["abc", "def"]
CURL example:
Serve gRPC API
Run the command with --grpc
to serve gRPC API instead of HTTP REST API.
Please refer to gRPC Python client documentation here.
License
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.