프로젝트
GitHub에서 보기
RafalWilinski/telegram-chatgpt-concierge-bot
소개
Telegram과 음성으로 OpenAI의 ChatGPT와 상호작용합니다.
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- -2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTelegram ChatGPT Concierge Bot (+ Voice!)

This is a Telegram bot that uses:
- OpenAI's ChatGPT, obviously, as "the brain"
- LangchainJS to constructs prompts, handle convo history and interact with Google
- OpenAI's Whisper API to generate text from voice
- Play.ht to generate voice from text and reply to voice messages
How to use
Prerequisite: You need Node 18, a Telegram bot token and an OpenAI API key with access to GPT-4. Optionally you can use other model by setting
OPENAI_MODELenv var. Ask ChatGPT how to get these. You'll also needffmpeginstalled to use voice interactions.
git clone https://github.com/RafalWilinski/telegram-chatgpt-concierge-botcd telegram-chatgpt-concierge-bottouch .envand fill the following:
TELEGRAM_TOKEN=
OPENAI_API_KEY=
PLAY_HT_SECRET_KEY=
PLAY_HT_USER_ID=
PLAY_HT_VOICE= # check docs for available voices https://playht.github.io/api-docs-generator/#utra-realistic-voices
OPENAI_MODEL=gpt-3.5-turbo # only if you don't have access to GPT-4
#SERVE_THIS_USER_ONLY=99999999 # uncomment this if you want to only serve this user id. The ID will be printed on stdout.
npm installnpm start
Consulting
I, @RafalWilinski (creator of this repo), offer consulting. If you are interested on hiring weekly hours with me on a retainer, feel free to email me at [email protected]
Follow me on Twitter
Discuss on Twitter or HackerNews
Sponsored by ChatWithCloud
관련 프로젝트 살펴보기
불러오는 중…