project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

BrieflyAI

We built an AI-assisted meeting/call platform with inbuilt summarizing capabilities. The platform uses Huddle01's SDK to provide with video and audio call capabilities along with the use of OpenAI's API (Whisper and tts-1) to generate text and audio based summary of the call.

BrieflyAI

Created At

HackFS 2024

Project Description

This project is an AI-assisted meeting and call platform that integrates advanced audio and video call functionalities with AI-driven summarization capabilities. The platform leverages Huddle01's SDK for seamless video and audio communication, and it uses OpenAI's APIs (Whisper, turbo 3.5 and tts-1) to generate both text and audio summaries of calls. Here's a detailed breakdown of the project:

Key Components

Huddle01 SDK Integration: -Provides robust video and audio call capabilities. -Ensures high-quality and low-latency communication for users.

OpenAI API Integration: -Whisper API: Transcribes audio from calls into text format. -GPT-3.5-turbo: Generates detailed text summaries of the transcribed conversations. -TTS-1 API: Converts the text summaries into audio format for users who prefer listening to the summary.

FastAPI Framework: -Serves as the backend framework, handling HTTP requests and responses efficiently. -Provides endpoints for uploading audio files, processing them, and returning the summarized output.

Frontend Technologies: -Next.js: Used for server-side rendering and React-based components. -Tailwind CSS: Utilized for efficient and responsive styling. -Dynamic.xyz: Implemented for robust user authentication and authorization processes.

How it's Made

This AI-assisted meeting and call platform was built using a combination of modern technologies to ensure robust functionality, scalability, and a seamless user experience. At the core of the communication capabilities is the Huddle01 SDK, which provides high-quality video and audio call functionalities with low latency, directly integrated into the frontend for real-time communication. The frontend is developed using Next.js, which enables server-side rendering for faster load times and better SEO, and Tailwind CSS, which allows for efficient and responsive styling with its utility-first approach. For user authentication and authorization, we employed Dynamic.xyz, which offers secure and seamless login experiences, enhancing overall user security.

The backend is powered by FastAPI, which handles HTTP requests and responses efficiently. FastAPI is used to create endpoints for uploading audio files, processing these files, and returning the summarized outputs. The backend processes involve several steps: when an audio file is uploaded via the /talk or /text endpoints, it is temporarily saved and then transcribed into text using OpenAI's Whisper API. This transcribed text is then processed by GPT-3.5-turbo to generate a detailed text summary. For users who prefer listening to summaries, the text is converted into audio format using OpenAI's TTS-1 API.

The platform relies on environment variables to securely manage API keys and organization IDs, including OPENAI_API_KEY for accessing OpenAI services and OPENAI_AI_ORG for the OpenAI organization ID. Helper functions support the main functionalities, such as transcribe_audio for audio transcription, get_chat_response for generating summaries, load_messages for retrieving previous conversation contexts, and save_messages for storing conversation contexts.

The integration of partner technologies significantly enhanced the platform. Huddle01 SDK ensured reliable communication, while OpenAI APIs provided sophisticated AI capabilities for transcription, summarization, and text-to-speech conversion. The use of Next.js and Tailwind CSS streamlined frontend development, and Dynamic.xyz facilitated secure user authentication. A notable aspect of the project was the seamless orchestration between these diverse technologies, ensuring smooth operation and high performance across the platform. The efficient handling of audio file uploads, processing, and cleanup, combined with the powerful AI-driven summarization, makes this platform a robust and innovative solution for modern communication needs.

background image mobile

Join the mailing list

Get the latest news and updates