Chat GPT-3 OpenAI HTML 5 Version
See it working: https://polargames.dev/preview/chat-gpt-html-5/v1/This is a model made in HTML 5.
Among the capabilities of this template are the creation of intelligent neural responses, continuation of dialogues, code generation, response to texts, and much more.
In the template, you can communicate with ten intelligent animals, each of which has been trained by AI to understand a specific subject. Additionally, you can create your own intelligent animal by customizing it to understand a specific subject by modifying a JSON file.
- Customize Easy
- Clear Documentation
- Responsive (mobile compatible)
- Including html, css and javascript files
- Add, delete and modify new animals by json file
- Assets PSD not included.
What you Get
- Documentation
- Html, css, PHP and javascript files
Notes
- You can test on a local server or you can host the html files on your preferred hosting.
- No database is used.
- The chat model used is InstructGPT.
- Not available in the Fine-tuning models template
- Current model: GPT 3.5 Turbo or text-davinci-003
Requirements
- It is necessary that you have a GPT chat API key, which can be obtained in openai website.
- It is recommended to use a version of PHP between 7.4.9 and 8.2.1.
- Your website must have active SSL
Changelog
---------------------------------------------------------- 20/03/2023 - Added 11 new intelligent animals. - Added button to copy text from chat. - Added button to cancel message sending. - Added text stream feature. This functionality is not compatible with all servers, being supported only on servers that do not have cache, buffer or GZIP compression installed. Changelog ---------------------------------------------------------- - Download chat history. - Clear chat history - Save chat history when refreshing the page. - Shuffle characters - Added +2 characters - GPT 3.5 Turbo: The project now includes the GPT 3.5 Turbo model, the same one used in the original gpt chat. This model is 10x cheaper than text-davinci3. - API DALL•E 2: You can now generate images directly in the chat using the /img command [type something to generate]. - Updated project structure: Characters, settings, and languages are now in separate files. - HTML Injection: A treatment has been implemented to prevent HTML code injection. - Improved design of download and chat clearing buttons. - Message send date and time are now displayed. - Toasty and sweet alert libraries added for alert features. - Fixed inappropriate word filter: Filtering is now done when sending the message. - Temperature and penalty can be set individually for each character. - Documentation has been rewritten with more details. - Enhanced security: The option to use the API key on the front-end has been removed. Now, the key can only be executed on the server through a PHP file to ensure data security. - The options "chat_minlength", "chat_maxlength", and "max_num_chats_api" will be managed individually by each character in the character.json file - New AI character Chroma - At the request of some clients, we have made the old chat version available.
How the API works
The template is directly linked to the Chat GPT-3 API. Each request made to the API by the chat consumes tokens, also called credits. The number of tokens and credits consumed varies depending on the size and type of the request, as well as the GPT-3 model used.Users can purchase additional tokens and credits as needed and monitor usage through their OpenAI account platform at https://platform.openai.com/account/usage
The cost of tokens and credits varies depending on the size of the question or answer processed by the API. If all tokens and credits are consumed, the user will not be able to make any more API requests until more are purchased. To help users test out the tool, there is currently a free trial account available on the OpenAI website that offers up to $18 in credits for testing purposes.
Users can check the price of each token and model via the following link: https://openai.com/pricing