Post

Ctrl Alt Discuss

Welcome to the Ctrl+Alt+Discuss project! This project combines the powerful capabilities of OpenAI, Eleven Labs AI, and RSS feed aggregation to automatically create podcasts. The core of this solution relies on the GPT-3.5-turbo language model from OpenAI to generate podcast scripts, complemented by Eleven Labs’ Text-to-Speech (TTS) to bring these scripts to life.

Table of Contents

  1. Objective
  2. Features
  3. Configuration
  4. References

Objective

The goal of this project is to simplify podcast creation by automating the content generation process. By leveraging state-of-the-art natural language processing and speech technologies, aim to provide relevant and accurate content on demand.

Features

RSS Feed Aggregation

The project starts by aggregating RSS feeds from predefined sources. These RSS feeds provide the foundational content for podcast episodes.

Script Generation with GPT

The OpenAI GPT-3.5-turbo model is used to generate podcast scripts from content extracted from the RSS feeds. This model can understand context and produce high-quality natural language.

Text-to-Speech with Eleven Labs

Generated scripts are then converted into audio files using Eleven Labs’ Text-to-Speech (TTS) technology. This step gives a realistic and pleasant voice to the scripts, creating the final podcast audio.

Configuration

Make sure that you’re inside the virtual environement :

1
2
cd Ctrl_Alt_Discuss
poetry env list

Which should return a result such as  : ctrl_alt_discuss-Z2Ju98Sf-py3.11 (Activated)

Otherwise try the following command :

1
poetry env use env_name||python||python3||python3.X

Installing Dependencies

Make sure to install the necessary dependencies by running the following command:

1
2
cd Ctrl_Alt_Discuss
poetry install --no-root

Setting Environment Variables

1
2
3
export POETRY_OPENAI_API_KEY="your_openai_api_key_here"
export POETRY_XI_API_KEY="your_xi_api_key_here"
export POETRY_CAD_ROOT_PATH="/path/to/Ctrl_Alt_Discuss"

Running the project

1
2
cd Ctrl_Alt_Discuss
poetry run python -i src/main.py

References

This post is licensed under CC BY 4.0 by the author.