Skip to contents

This function transcribes audio files, processes the text, and writes the result to an index.

Usage

transcribe_audio(
  file_path,
  source = NA,
  link = NA,
  prompt = NA,
  chunk_size = 120
)

Arguments

file_path

Character string specifying the path to the audio file.

source

Character string specifying the source of the audio.

link

Character string specifying the HTML link to the audio file (optional).

prompt

Character string specifying the prompt for transcription (optional).

chunk_size

Audio size in seconds

Value

The function writes an index in Parquet format to disk.