AACFlow

Hugging Face

Use Hugging Face Inference API

Usage Instructions

Integrate Hugging Face into the workflow. Can generate completions using the Hugging Face Inference API.

Tools

huggingface_chat

Input

ParameterTypeRequiredDescription
systemPromptstringNoNo description
contentstringYesNo description
providerstringYesNo description
modelstringYesModel to use for chat completions (e.g., "deepseek/deepseek-v3-0324", "meta-llama/Llama-3.3-70B-Instruct")
maxTokensnumberNoNo description
temperaturenumberNoNo description
apiKeystringYesNo description

Output

ParameterTypeDescription
successbooleanOperation success status
outputobjectChat completion results
contentstringGenerated text content
modelstringModel used for generation
usageobjectToken usage information
prompt_tokensnumberNumber of tokens in the prompt
completion_tokensnumberNumber of tokens in the completion
total_tokensnumberTotal number of tokens used

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started