Skip to main content
Last Updated: March 26, 2025 For summarizing, you have two options. You can either use the summarize input parameter, or you can use the custom_prompt input parameter. The summarize input parameter is a simple way to summarize the entire transcription in a given number of words. The custom_prompt input parameter allows you to provide a custom prompt to the LLM to generate a more advanced summary of the transcription with custom requirements or formatting.

Custom input parameters

summarize

In this example, we’ll use a Python script to transcribe an audio file and tell it to use the summarize input parameter set to 100 words. We’ll use the following input parameters:

custom_prompt

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 generate the summarization. We’ll use the following input parameters:

Python script

We’re going to create a file and name it summarize.py. We’re then going to use the above parameters in the following Python script:

summarize

  • 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.
In this script, we’re using the summarize input parameter to summarize the meeting to 100 words. We capture the output using the summary field. We’re then printing the result of this field to the console. You’ll also see the status of the transcription job as it progresses.

custom_prompt

  • 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 summarize.py.
In this script, we’re using the custom_prompt input parameter to tell the LLM to summarize the meeting and list the important items. We capture the output using the llm_result field. We’re then printing the result of this field to the console. You’ll also see the status of the transcription job as it progresses.

Output