{"repo":"vercel-labs/ai-facts","free":true,"listed":false,"github":"https://github.com/vercel-labs/ai-facts","clone":"git clone https://github.com/vercel-labs/ai-facts.git","description":"Real-time fact checking on spoken statements with the AI SDK, Perplexity and DeepGram","language":"TypeScript","stars":161,"topics":["ai","ai-sdk","nextjs","perplexity"],"license":null,"category":"ai-agents","readme_excerpt":"AI Facts 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 Vercel AI Gateway) to verify the accuracy of claims. Features - Real-time Audio Transcription: Captures and transcribes spoken audio using Deepgram's API - AI Fact Checking: Uses both OpenAI and Perplexity to cross-reference and verify statements - Live Results: Shows fact-checking results in real-time as statements are processed - Explanation of Validity: Provides detailed explanations for why statements are considered true or false Technology Stack - Next.js for the frontend and API routes - AI SDK for interacting with LLMs - Vercel AI Gateway for unified access to OpenAI and Perplexity - Deepgram for audio transcription - ShadcnUI for UI components - Tailwind CSS for styling How It Works 1. Speak into microphone 2. Deepgram processes the audio stream in real-time and returns transcribed text 3. The transcribed text is analyzed for distinct statements ('?!.') 4. Each statement is routed through the AI Gateway to OpenAI and Perplexity for fact checking 5. The verification status and explanation are displayed to the user Getting Started To get the project up and running, follow these steps: 1. Install dependencies: 2. Copy the example environment file: 3. Add y","default_branch":null,"files":null,"tree":[],"storefront":"/r/vercel-labs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vercel-labs/ai-facts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}