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 generate the action items. We’ll use the following input parameters:
Python script
We’re going to create a file and name itaction-items.py
. We’re then going to use the above parameters in the
following Python script:
- Make sure to replace
url/to/audio/file.mp3
with the URL of your audio file. - Replace
YOUR_SALAD_API_KEY
with your Salad API key. - Replace
YOUR_ORGANIZATION_NAME
with your organization name. - Run the script using with
python action-items.py
.
llm_result
field of the response. We’re then printing the result of this field to the console. Your console will look something
like this once it finishes: