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 thecustom_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: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: