Skip to main content
Last Updated: March 11, 2025 By using our integrated custom LLM prompts, you can identify hate speech, with confidence ratings and category, in your transcriptions. To use this, you just need to add the custom_prompt input parameter to your transcription request.

Custom input parameters

In this example, we’ll use a Python script to transcribe an audio file and tell it to use the custom_prompt input parameter to identify any hate speech. We’ll use the following input parameters:

Python script

We’ll use it in the following Python script:
In this script, we’re telling the LLM to look for and identify any hate speech in the transcription content and categorize it. It will be returned in the llm_result field of the response. We’re then printing the result of this field to the console. It’ll look something like this once it finishes:

Output