New Plugin - Hugging Face #6352
Labels
area/plugin
Plugin-related issue or feature request
good first issue
Great issue for new contributors
kind/highlight
One of the highlights of the upcoming release
kind/quick-win
Seems to be quick to do
Feature description
Currently the http plugins makes possible to call Hugging Face models hosted behind Inference API.
Here is an example:
Most of the text models available under these API follow the same type of parameters. Here are the two main ones we can cover at first:
Simple
inputs
inputs
andparameters
:Task Design
Task Type:
io.kestra.plugin.huggingface.Inference
Properties:
apiKey
- STRING - requiredmodel
- STRING - required - /, it's what follows the main api endpoint https://api-inference.huggingface.co/models ie.meta-llama/Llama-3.2-1B
https://api-inference.huggingface.co/models
Example
So instead of using http like this:
we simplify with Kestra DSL to:
The text was updated successfully, but these errors were encountered: