https://github.com/assemblyai/cookbook
A resource of code examples, guides, and tutorials for using the AssemblyAI API.
https://github.com/assemblyai/cookbook
Last synced: about 1 year ago
JSON representation
A resource of code examples, guides, and tutorials for using the AssemblyAI API.
- Host: GitHub
- URL: https://github.com/assemblyai/cookbook
- Owner: AssemblyAI
- License: mit
- Created: 2023-09-20T20:40:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-21T14:10:56.000Z (about 1 year ago)
- Last Synced: 2025-03-30T17:08:14.185Z (about 1 year ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 11.9 MB
- Stars: 130
- Watchers: 7
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
> [!IMPORTANT]
> This cookbook repository will no longer be updated.
> Any new cookbooks, as well as all the guides included in this repo, can be found in the [cookbook section of our documentation](https://www.assemblyai.com/docs/guides).
>
# AssemblyAI Cookbook 🧑🍳
The AssemblyAI Cookbook is a resource of code examples, guides, and tutorials for using the AssemblyAI API. Want to learn more about AssemblyAI? Check out this [product overview video](https://youtu.be/UT1sBCuSJxE)!
You will need an AssemblyAI account and API key to use these code examples. [Click here](https://www.assemblyai.com/dashboard/signup) to create and account for free.
Most code examples are written in Python or Javascript, but the concepts contained in these examples can be applied to any language. You can learn more about our various models in features in our [official documentation](https://www.assemblyai.com/docs/).
## Cookbook Categories
### Speech-To-Text
🗂️ Speech-To-Text enables you to transcribe spoken words into written text and is the foundation of all AssemblyAI products.
Speech-To-Text Cookbooks 🎙️
🆕 [Speech-To-Text: How to Use the EU Endpoint](core-transcription/how_to_use_the_eu_endpoint.ipynb)\
[Speech-To-Text: Identify Speakers in Audio Recordings](core-transcription/speaker_labels.ipynb)\
[Speech-To-Text: Specify a Language](core-transcription/specify-language.ipynb)\
[Speech-To-Text: Transcribe YouTube Videos](core-transcription/transcribe_youtube_videos.ipynb)\
[Speech-To-Text: Delete transcripts After 24 Hours of Creation](core-transcription/schedule_delete.ipynb)\
📖 👀 [Click here to see all Core Transcription cookbooks](core-transcription/README.md)❗
### Audio Intelligence
🗂️ Our Audio Intelligence models analyze audio and provide additional insights beyond speech to text.
Audio Intelligence Cookbooks 🤖
[Audio Intelligence: Create Summarized Chapters from Podcasts](audio-intelligence/auto_chapters.ipynb)\
[Audio Intelligence: Identify Hate Speech in Audio and Video Files](audio-intelligence/content_moderation.ipynb)\
[Audio Intelligence: Identify Highlights in Audio and Video Files](audio-intelligence/key_phrases.ipynb)\
[Audio Intelligence: Create a Redacted Transcript with Entity Detection](audio-intelligence/entity_redaction.ipynb)\
[Audio Intelligence: Summarize Virtual Meetings](audio-intelligence/summarization.ipynb)\
📖 👀 [Click here to see all Audio Intelligence cookbooks](audio-intelligence/README.md)❗
### Streaming STT
🗂️ Transcribe live audio streams with high accuracy and low latency.
Streaming STT Cookbooks 🕒
[Streaming: Transcribe Files in Real-Time with Node.js](streaming-stt/file-transcription-nodejs)\
[Streaming: Use Streaming STT](streaming-stt/real-time.ipynb)\
[Streaming: Use LeMUR with Streaming STT](streaming-stt/real_time_lemur.ipynb)\
[Streaming: Use LeMUR for Real-Time Translation](streaming-stt/real_time_translation.ipynb)\
[Streaming: Use Twilio with Node SDK](https://github.com/AssemblyAI/twilio-realtime-tutorial)\
📖 👀 [Click here to see all Streaming cookbooks](streaming-stt/README.md)❗
### LeMUR
🗂️ Apply Large Language Models to spoken data.
LeMUR Cookbooks 🐾
[LeMUR: Process Audio Files with LLMs](lemur/using-lemur.ipynb)\
[LeMUR: Extract Dialogue Data](lemur/dialogue-data.ipynb)\
[LeMUR: Boost Transcription Accuracy](lemur/custom-vocab-lemur.ipynb)\
[LeMUR: Extract Citations from a Transcript with Semantic Search](lemur/transcript-citations.ipynb)\
[LeMUR: Processing Speaker Labels with the Custom Text Input Parameter](lemur/input-text-speaker-labels.ipynb)\
📖 👀 [Click here to see all LeMUR cookbooks](lemur/README.md)❗
## SDKs and Other Resources 📚
Beyond the code examples here, you can learn about the AssemblyAI API from the following resources:
- [Python SDK](https://github.com/AssemblyAI/assemblyai-python-sdk)
- [JavaScript SDK](https://github.com/AssemblyAI/assemblyai-node-sdk)
- [Java SDK](https://github.com/AssemblyAI/assemblyai-java-sdk)
- [Golang SDK](https://github.com/AssemblyAI/assemblyai-go-sdk)
- [Ruby SDK](https://github.com/AssemblyAI/assemblyai-ruby-sdk)
- [AssemblyAI API Spec](https://github.com/AssemblyAI/assemblyai-api-spec)
- [Command Line Interface (CLI)](https://github.com/AssemblyAI/assemblyai-cli)
- [Discuss the API in the AssemblyAI Discord](https://www.assemblyai.com/discord)
- [Check out our YouTube Channel](https://www.youtube.com/c/assemblyai)
- [Follow us on X](https://twitter.com/AssemblyAI)
***
If you have any questions, please feel free to reach out to our Support team - support@assemblyai.com!