To add a prompt for a Hugging Face model in Voiceflow, follow these steps:
**Create or Open Your Assistant**:
If you haven't created an assistant yet, click on "New Assistant" in the top right of your workspace.
**Add an AI Step**:
Drag an AI step from the menu into your assistant's canvas.
**Configure the AI Step**:
In the AI step editor, you can configure the prompt that will be sent to the Hugging Face model.
You will need to specify the model you want to use. Voiceflow supports various models, including those from Hugging Face.
**Set Up the Prompt**:
You can configure the prompt by specifying the text you want to send to the model. This can include variables and dynamic content based on user inputs.
Adjust settings such as temperature, max tokens, and system instructions to fine-tune the model's responses.
**Test the Prompt**:
Use the Preview button in the editor to test your prompt and see how the model responds.
You can also run the assistant in the Test Tool to see how it performs in a live conversation.