OpenAI 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox 3DS Homebrews |title=OpenAI 3DS |image=openai3ds.png |description=Voice enabled GPT chat client. |author=MrHuu |lastupdated=2023/08/20 |type=Other Apps |version=0.0.1 |license=Mixed |download=https://dlhb.gamebrew.org/3dshomebrews/openai3ds.7z |website=https://gbatemp.net/threads/openai-3ds-voice-enabled-gpt-chat-client.638595/ |source=https://github.com/MrHuu/openai-3ds |donation= }} {{#seo: |title= (Other Apps) - GameBrew |title_mode=append |image=openai3ds.p...")
 
No edit summary
 
Line 19: Line 19:
|image_alt=OpenAI 3DS
|image_alt=OpenAI 3DS
}}
}}
OpenAI-3DS provides a user-friendly interface that serves as a playground for utilizing the OpenAI API. Its primary feature is a chat client that facilitates voice recording and the subsequent synthesis of audio responses. The responses are streamed back, ensuring almost immediate replies to your queries. Voice synthesis begins once the initial sentences are received, while the remaining response is being received.
OpenAI-3DS features a simple playground for using the OpenAI API. It's basically a chat client with the ability to record your voice and synthesize the response as audio voice as main feature. The response is streamed back, meaning you'll get an almost immediate response after sending your question. Voice synthesizing starts after the first sentences are received, while receiving the rest of the response.


This software is written in the C programming language and utilizes threads and citro2d for graphics, enabling smooth scrolling through more than 100 chat history messages, including images. Additionally, the AI remains aware of the last 10 questions and corresponding responses throughout the chat session.
Written in c and using threads and citro2d for graphics allows for smooth scrolling though over 100 message history (including images), while the response is streaming and voice synthesizing. During chat, AI is aware of last 10 questions and responses.


==Notes==
==Features==
*Models; gpt-3.5 / gpt-4 / davinci-003 / whisper-1 / dall-e.
*Text -> Speech.
*Speech -> Text.
*Speech -> Speech.
*Image generation (256x256).
 
==User guide==
Important notes:
* This is a build with core functionality mostly working. But has unfinished and experimental functions.
* This is a build with core functionality mostly working. But has unfinished and experimental functions.
* Some unhandled errors are to be expected.
* Some unhandled errors are to be expected.
Line 29: Line 37:
* Using the OpenAI API will cost you money.
* Using the OpenAI API will cost you money.


==Setup==
How to setup:
* Enter your API-key on first launch, or press '''SELECT''' in menu to re-enter.
* Enter your API-key on first launch, or press Select in menu to re-enter; OR
or
* create a api-key.json file in /3ds/OpenAI/
* Create a api-key.json file in /3ds/OpenAI/
* with the following contents (replaced with your API-Key):
* with the following contents (replaced with your API-Key):
<pre>
<pre>
Line 41: Line 48:


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/3dshomebrews/openai3ds-01.png
https://dlhb.gamebrew.org/3dshomebrews/openai3ds2.png
 
https://dlhb.gamebrew.org/3dshomebrews/openai3ds3.png
https://dlhb.gamebrew.org/3dshomebrews/openai3ds-02.png


==Known Issues==
==Known issues==
* Crash when using an invalid API-Key
* Crash when using an invalid API-Key.
* Does not work nicely with Citra emulator
* Does not work nicely with Citra emulator.
* General coding issues (sorry about that)
* General coding issues (sorry about that).
* davinci-003 not fully implemented
* davinci-003 not fully implemented.


==Changelog==  
==Changelog==  
'''(v0.0.1)'''
'''v0.0.1'''
* First Release.
* First Release.


== External links ==
== External links ==
* Gbatemp - https://gbatemp.net/threads/openai-3ds-voice-enabled-gpt-chat-client.638595/
* GitHub - https://github.com/MrHuu/openai-3ds
* Github - https://github.com/MrHuu/openai-3ds
* GBAtemp - https://gbatemp.net/threads/openai-3ds-voice-enabled-gpt-chat-client.638595/

Latest revision as of 13:15, 29 August 2023

OpenAI 3DS
Openai3ds.png
General
AuthorMrHuu
TypeOther Apps
Version0.0.1
LicenseMixed
Last Updated2023/08/20
Links
Download
Website
Source

OpenAI-3DS features a simple playground for using the OpenAI API. It's basically a chat client with the ability to record your voice and synthesize the response as audio voice as main feature. The response is streamed back, meaning you'll get an almost immediate response after sending your question. Voice synthesizing starts after the first sentences are received, while receiving the rest of the response.

Written in c and using threads and citro2d for graphics allows for smooth scrolling though over 100 message history (including images), while the response is streaming and voice synthesizing. During chat, AI is aware of last 10 questions and responses.

Features

  • Models; gpt-3.5 / gpt-4 / davinci-003 / whisper-1 / dall-e.
  • Text -> Speech.
  • Speech -> Text.
  • Speech -> Speech.
  • Image generation (256x256).

User guide

Important notes:

  • This is a build with core functionality mostly working. But has unfinished and experimental functions.
  • Some unhandled errors are to be expected.
  • May have unexpected side effects when you start an audible discussion with your 3DS in public.
  • Using the OpenAI API will cost you money.

How to setup:

  • Enter your API-key on first launch, or press Select in menu to re-enter; OR
  • create a api-key.json file in /3ds/OpenAI/
  • with the following contents (replaced with your API-Key):
{
    "api_key": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

Screenshots

openai3ds2.pngopenai3ds3.png

Known issues

  • Crash when using an invalid API-Key.
  • Does not work nicely with Citra emulator.
  • General coding issues (sorry about that).
  • davinci-003 not fully implemented.

Changelog

v0.0.1

  • First Release.

External links

Advertising: