适用于 Windows 和 Unix 的快速 GPT-3 客户端,支持任何语言的文本和语音。
2023 年 3 月 26 日 DALL-E 现已免费使用
如果您在使用 Python 或 GPTalk 时遇到问题,请观看以下视频教程:https://www.youtube.com/watch?v=jXBpMUv5QB0&t=320s
2023 年 1 月 24 日:集成 DALL-E 支持 - 使用文本和语音即时生成和预览图像
加入不和谐|推特|捐
要求
安装
用法
支持的语言列表
-为了使用 GPTalk,您需要:
1)仅当您使用的是 LinuxMAC 时才安装以下库:
LINUX: apt install mpg321 python3-dev portaudio19-dev
MAC: brew install mpg321 portaudio
加入 Discord 并询问您是否有问题....
2)拥有OpenAI的Api Key(您可以在应用程序中设置它或将其放入OPENAI_API_KEY环境变量中。)
应该足够了,但如果您在多次尝试后仍然遇到语音检测问题,请尝试以下可能的解决方案:
在 Linux 上: sudo apt-get python-dev build-essential swig libpulse-dev
..... 然后: sudo pip install pocketsphinx
.... 然后卸载并重新安装 gptalk
在 Mac 上: brew install swig pulseaudio
.....然后: sudo pip install pocketsphinx
....然后卸载并重新安装 gptalk
使用 PIP 安装 GPTalk: pip install gptalk==0.0.4.5
使用 pip install -U 不时升级 gptalk,以便您始终使用更新和错误修复的版本。
除了使用文本或语音与 GPT-3 交互之外,还可以定义其行为和个人详细信息以及您的某些方面。
基本使用示例:
import gptalk . gptalk as gpt3
app = gpt3 . CONFIGURE ( < YOUR_API_KEY > ) # OR: app = gpt3.CONFIGURE(os.getenv('OPENAI_API_KEY'))
app . language = < LANGUAGE_TICKER > # only needed for speech mode really, because text mode automatically will translate if you start chatting in a specific lang
app . input_mode = "speech" # OR 'text'
app . AI_NAME = "Alice"
app . HUMAN_NAME = "Bob"
app . AI_GENRE = "female"
app . AI_AGE = "32"
app . AI_MOOD = "happy"
app . AI_SPECIES = "human"
然后,保存:
app . save () #will create a memories.json file in the same folder that will store the informations you set in the previous step. will also store and remember conversations with gpt3.Every time you run save(),already existent memories.json will be replaced with new. You can just run directly run() in the next step to use already existent. Don't matter if you do directly run() without save() ,in that case no memories will be used. You can also create your own empty memories.json that must contains at least two brackets {} , (must NOT be fully empty)
然后运行应用程序:
app . run ()
开始说话(或打字,取决于您选择的模式)...至于“语音模式”,gpt-3 应该在几秒钟内响应,但有几个因素会影响(如果失败,请尝试更多次,靠近麦克风)
说goodbye
或go to sleep
以退出。
可用参数: AI_NAME
、 AI_AGE
、 AI_HOBBIES
、 AI_GENRE
、 AI_MOOD
、 AI_SPECIES
、 HUMAN_NAME
、 HUMAN_AGE
、 HUMAN_HOBBIES
、 HUMAN_GENRE
、 HUMAN_MOOD
、 HUMAN_SPECIES
如果您想更改语音语言(默认为 en-US),请使用app.language=<LANGUAGE_TICKER>
(运行前)
提供反馈,无论是积极的还是消极的,我们都非常感激>> https://discord.gg/mettNtATzW
DALL-E 图像生成现已使用语音和文本激活,并且免费使用。您可以无限使用它,无需花费代币
要激活图像模式,请要求 GPT-3 激活它,例如please, activate image mode
,它将立即激活。从那时起,输入将生成一个图像,该图像将立即显示在弹出窗口中。
要退出图像模式,请告诉 GPT-3 禁用它,您将恢复正常使用。
af-ZA Afrikaans (South Africa)
ar-AE Arabic (U.A.E.)
ar-BH Arabic (Bahrain)
ar-DZ Arabic (Algeria)
ar-EG Arabic (Egypt)
ar-IQ Arabic (Iraq)
ar-JO Arabic (Jordan)
ar-KW Arabic (Kuwait)
ar-LB Arabic (Lebanon)
ar-LY Arabic (Libya)
ar-MA Arabic (Morocco)
ar-OM Arabic (Oman)
ar-QA Arabic (Qatar)
ar-SA Arabic (Saudi Arabia)
ar-SY Arabic (Syria)
ar-TN Arabic (Tunisia)
ar-YE Arabic (Yemen)
az-AZ Azeri (Latin) (Azerbaijan)
az-AZ Azeri (Cyrillic) (Azerbaijan)
be-BY Belarusian (Belarus)
bg-BG Bulgarian (Bulgaria)
bs-BA Bosnian (Bosnia and Herzegovina)
ca-ES Catalan (Spain)
cs-CZ Czech (Czech Republic)
cy-GB Welsh (United Kingdom)
da-DK Danish (Denmark)
de-AT German (Austria)
de-CH German (Switzerland)
de-DE German (Germany)
de-LI German (Liechtenstein)
de-LU German (Luxembourg)
dv-MV Divehi (Maldives)
el-GR Greek (Greece)
en-AU English (Australia)
en-BZ English (Belize)
en-CA English (Canada)
en-CB English (Caribbean)
en-GB English (United Kingdom)
en-IE English (Ireland)
en-JM English (Jamaica)
en-NZ English (New Zealand)
en-PH English (Republic of the Philippines)
en-TT English (Trinidad and Tobago)
en-US English (United States)
en-ZA English (South Africa)
en-ZW English (Zimbabwe)
es-AR Spanish (Argentina)
es-BO Spanish (Bolivia)
es-CL Spanish (Chile)
es-CO Spanish (Colombia)
es-CR Spanish (Costa Rica)
es-DO Spanish (Dominican Republic)
es-EC Spanish (Ecuador)
es-ES Spanish (Castilian)
es-ES Spanish (Spain)
es-GT Spanish (Guatemala)
es-HN Spanish (Honduras)
es-MX Spanish (Mexico)
es-NI Spanish (Nicaragua)
es-PA Spanish (Panama)
es-PE Spanish (Peru)
es-PR Spanish (Puerto Rico)
es-PY Spanish (Paraguay)
es-SV Spanish (El Salvador)
es-UY Spanish (Uruguay)
es-VE Spanish (Venezuela)
et-EE Estonian (Estonia)
eu-ES Basque (Spain)
fa-IR Farsi (Iran)
fi-FI Finnish (Finland)
fo-FO Faroese (Faroe Islands)
fr-BE French (Belgium)
fr-CA French (Canada)
fr-CH French (Switzerland)
fr-FR French (France)
fr-LU French (Luxembourg)
fr-MC French (Principality of Monaco)
gl-ES Galician (Spain)
gu-IN Gujarati (India)
he-IL Hebrew (Israel)
hi-IN Hindi (India)
hr-BA Croatian (Bosnia and Herzegovina)
hr-HR Croatian (Croatia)
hu-HU Hungarian (Hungary)
hy-AM Armenian (Armenia)
id-ID Indonesian (Indonesia)
is-IS Icelandic (Iceland)
it-CH Italian (Switzerland)
it-IT Italian (Italy)
ja-JP Japanese (Japan)
ka-GE Georgian (Georgia)
kk-KZ Kazakh (Kazakhstan)
kn-IN Kannada (India)
ko-KR Korean (Korea)
kok-IN Konkani (India)
ky-KG Kyrgyz (Kyrgyzstan)
lt-LT Lithuanian (Lithuania)
lv-LV Latvian (Latvia)
mi-NZ Maori (New Zealand)
mk-MK FYRO Macedonian (Former Yugoslav Republic of Macedonia)
mn-MN Mongolian (Mongolia)
mr-IN Marathi (India)
ms-BN Malay (Brunei Darussalam)
ms-MY Malay (Malaysia)
mt-MT Maltese (Malta)
nb-NO Norwegian (Bokm?l) (Norway)
nl-BE Dutch (Belgium)
nl-NL Dutch (Netherlands)
nn-NO Norwegian (Nynorsk) (Norway)
ns-ZA Northern Sotho (South Africa)
pa-IN Punjabi (India)
pl-PL Polish (Poland)
ps-AR Pashto (Afghanistan)
pt-BR Portuguese (Brazil)
pt-PT Portuguese (Portugal)
qu-BO Quechua (Bolivia)
qu-EC Quechua (Ecuador)
qu-PE Quechua (Peru)
ro-RO Romanian (Romania)
ru-RU Russian (Russia)
sa-IN Sanskrit (India)
se-FI Sami (Northern) (Finland)
se-FI Sami (Skolt) (Finland)
se-FI Sami (Inari) (Finland)
se-NO Sami (Northern) (Norway)
se-NO Sami (Lule) (Norway)
se-NO Sami (Southern) (Norway)
se-SE Sami (Northern) (Sweden)
se-SE Sami (Lule) (Sweden)
se-SE Sami (Southern) (Sweden)
sk-SK Slovak (Slovakia)
sl-SI Slovenian (Slovenia)
sq-AL Albanian (Albania)
sr-BA Serbian (Latin) (Bosnia and Herzegovina)
sr-BA Serbian (Cyrillic) (Bosnia and Herzegovina)
sr-SP Serbian (Latin) (Serbia and Montenegro)
sr-SP Serbian (Cyrillic) (Serbia and Montenegro)
sv-FI Swedish (Finland)
sv-SE Swedish (Sweden)
sw-KE Swahili (Kenya)
syr-SY Syriac (Syria)
ta-IN Tamil (India)
te-IN Telugu (India)
th-TH Thai (Thailand)
tl-PH Tagalog (Philippines)
tn-ZA Tswana (South Africa)
tr-TR Turkish (Turkey)
tt-RU Tatar (Russia)
uk-UA Ukrainian (Ukraine)
ur-PK Urdu (Islamic Republic of Pakistan)
uz-UZ Uzbek (Latin) (Uzbekistan)
uz-UZ Uzbek (Cyrillic) (Uzbekistan)
vi-VN Vietnamese (Viet Nam)
xh-ZA Xhosa (South Africa)
zh-CN Chinese (S)
zh-HK Chinese (Hong Kong)
zh-MO Chinese (Macau)
zh-SG Chinese (Singapore)
zh-TW Chinese (T)
zu-ZA Zulu (South Africa)
如果您发现该软件有用,请考虑捐赠:
比特币: 17AnP1zuvLV9cQrGQi6H6qMLeWeujHzAYX
门罗币: 82qjYLZj6XeTGjeUNm9AQVB78hVGStZd8YU1UKuvWz8QKAzFWZpBpEQFho3jrvUCNQPSqC9nYeEN3b7FQ5REPffNSA2WSDH
索拉纳: 6RX2ADdcNWZfaUfuGeHg86AYAoMuLF45Lbgfu3oNGh9i
莱特币: ltc1q4ft4ltjnyt8auqq4m5u7raatftu6mt5snst493
以太坊: 0xF3A0246690947669A0bf68147Ba82AC8de576a56
多边形/神秘: 0x45320b5B2a8f6073f4a92FFDF149861aBade4B4b
谢谢 :-)