Custom Endpoints
You can add your own applications or models to DeepFellow as long as they expose a Web API.
Custom models from Docker images can be called using /custom/{path} endpoint.
Supported HTTP methods are: GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS.
Example
First, install your custom service or model using Docker images – learn how to do it with Custom Models guide.
After installation, if your service provides Web API with /nlp endpoint, you can call one of its routes on /custom/nlp. For example:
curl -X 'POST' \
'https://deepfellow-server-host/custom/nlp/sentiment' \
-H 'Authorization: Bearer DEEPFELLOW_PROJECT_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"text": "My dog is smiling at me."}'
Response:
{ "label": "positive" }We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.