Create a ChatBot in JAVA that uses ChatGPT's/OpenAi's API to retreive results. This software requires JDK 1.8.0 or above.
This ChatBot software is created by Ayush and it may contain many bugs as it's in initial stage of development. I, Ayush will keep updating it as required.
ChatGPT is an artificial intelligence (AI) chatbot developed by OpenAI and released in November 2022. The name "ChatGPT" combines "Chat", referring to its chatbot functionality, and "GPT", which stands for Generative Pre-trained Transformer, a type of large language model (LLM).[2] ChatGPT is built upon OpenAI's foundational GPT models, specifically GPT-3.5 and GPT-4, and has been fine-tuned (an approach to transfer learning) for conversational applications using a combination of supervised and reinforcement learning techniques.
Generating or getting your very own API key is ver easy and handy to use this software and code. To generate your very own API key, follow this tutorial:
- Can retrieve and show data of almost any querry.
- Can change API Key upon expiration.
- Gui is simple and attractive.
- Result will get copied upon clicking on it.
- The code is self explanatory.
- Contact me on Telegram @SOUL_AYU if you need any help.
- Gui sometime misbehaves.
- It takes time to show the results.
OkHttp: com.squareup.okhttp3.
ChatGPT's API Service: OpenAi
This program's UI is Amazing and the code is short as well. There are some limitations which are discussed above. You can get the code from here and Jar and Exe file from release section of this repo.
Thanks for reading till end, please consider checking my other repos as well.