Skip to main content
Semantic Kernel is an SDK for multiple programming languages to develop applications with Large Language Models (LLMs). However, LLMs only operate on textual data and don’t understand what is said in audio files. With the AssemblyAI integration for Semantic Kernel, you can use AssemblyAI’s transcription models using the TranscribePlugin to transcribe your audio and video files.

Quickstart

Add the AssemblyAI.SemanticKernel NuGet package to your project.
Next, register the TranscriptPlugin into your kernel:

Usage

Get the Transcribe function from the transcript plugin and invoke it with the context variables.
You can get the transcript using result.GetValue<string>(). You can also upload local audio and video file. To do this:
  • Set the TranscriptPlugin.AllowFileSystemAccess property to true.
  • Configure the INPUT variable with a local file path.
You can also invoke the function from within a semantic function like this.

Additional resources

You can learn more about using Semantic Kernel with AssemblyAI in these resources: