Template name
A Next.js application that transcribes and validates speech in realtime with the AI SDK.

Note: LLMs can sometimes provide incorrect or outdated information. Always verify critical information through trusted sources.
This project is a Next.js application that performs real-time fact checking on spoken statements. It uses Deepgram for audio transcription and leverages OpenAI and Perplexity (via the Edgenivo AI Gateway) to verify the accuracy of claims.
To get the project up and running, follow these steps:
Install dependencies:
npm installCopy the example environment file:
cp .env.example .envAdd your API keys to the .env file:
AI_GATEWAY_API_KEY=your_api_key_hereDEEPGRAM_API_KEY=your_api_key_hereYou can create an AI Gateway API key from the Edgenivo dashboard. When deployed on Edgenivo, authentication happens automatically via OIDC and AI_GATEWAY_API_KEY is not required.
Start the development server:
npm run devYour project should now be running on http://localhost:3000.
The project is set up for one-click deployment on Edgenivo. Use the "Deploy with Edgenivo" button above to create your own instance of the application.
To learn more about the technologies used in this project, check out the following resources: