TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: ChatGPT with Audio Input

4 点作者 hypoxia87超过 2 年前
Yesterday OpenAI released ChatGPT and Whisper APIs: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34985848" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34985848</a><p>Since ChatGPT was released, I&#x27;ve always wanted to be able to input queries by speaking instead of typing.<p>It just seems like it would be a much more natural way to interact with the system.<p>So here&#x27;s a simple python script that leverages the ChatGPT and Whisper APIs to provide an experience similar to the ChatGPT web interface, but with audio input instead of text.<p>It works like this:<p>User: [Recording. Press the enter button to stop.] Hello?<p>Assistant: Hello! How can I assist you today?<p>User: [Recording. Press the enter button to stop.] How are you today?<p>Assistant: As an AI language model, I don&#x27;t have feelings or emotions. But I&#x27;m always ready to assist you with any questions you may have!

1 comment

aaronharnly超过 2 年前
Nice! I’m working on something similar, also incorporating TTS.