Parasara Jyothish Bot (Formerly JyothishGPT) is the first GPT powered and Artificial Intelligence (AI) trained Vedic Astrology Chatbot. Understanding the working model of ChatGPT is a prerequisite to know how JyothishGPT works and understand its capability.
ChatGPT is an Artificial Intelligence (AI) language model that has been trained on a massive amount of text data from the Internet. It is capable of generating human-like responses to natural language inputs, which means it can carry on a conversation with a user much like a human would.
Right after the release of ChatGPT in November 2022, it got the immediate attention of the masses. Within 6 days of its launch it was used by over 1 million people. ChatGPT is a large language model developed by OpenAI, based on the GPT-3 architecture. Although GPT-3 was initially released in June 2020, the ChatGPT is an improved and latest version of GPT-3.
GPT stands for "Generative Pre-trained Transformer." It is a type of machine learning algorithm used to create natural language models that can generate human-like text. GPT works by analyzing large amounts of text data from the internet, such as articles, books, and websites. It then uses this data to "train" a language model to recognize patterns in natural language and generate its own text based on what it has learned.
How is ChatGPT different from Google search?
Google search is a search engine that helps you find information on the internet by entering keywords or phrases related to your search query. For example, if I ask a query related to astrology then it scans the internet for web pages and other content that match the search terms and presents the results in a list format.
ChatGPT, on the other hand, is an AI language model designed to generate human-like responses to natural language queries or prompts. You can think of ChatGPT as a conversational AI tool that can provide personalized answers and engage in more complex interactions with users than a search engine.
In short, while a Google search can be helpful for finding specific information quickly, ChatGPT can provide more personalized and contextualized responses to your questions or requests. Additionally, ChatGPT can continue a conversation and provide follow-up responses, making it ideal for more complex human interactions.
How can we leverage the GPT model to the field of Astrology?
As mentioned earlier, the GPT is capable of analyzing large amounts of text data and uses this data to train the language model and finally generate its own text based on what it has learned. OpenAI has announced that anyone can take the GPT-3 model and can train with their own data. After training their own data, the GPT-3 model will have the capability to answer the queries from its custom trained data. By doing this process, we will be able to create our own custom GPT model for our personal use.
When we train the GPT-3 model with astrological principles it will become capable of generating human-like responses to the astrological queries. This is the whole idea in the development of JyothishGPT, a custom GPT-3 model trained in Vedic Astrology. Thus JyothishGPT became the first GPT powered and Artificial Intelligence (AI) trained Chatbot. I am going to discuss more technical details of the development of JyothishGPT and show a demo on how this bot currently responds to the user query.
LLM stands for "Language Model Fine-Tuning" and it refers to a technique used in natural language processing (NLP) to further train or adapt a pre-trained language model on a specific task or domain.
GPT-3 is already trained with a large amount of data from the Internet. However, it may not always be optimized for a specific task or domain, such as answering questions about a specific topic. In order to use GPT-3 for the astrology domain we should use LLM to further fine tune the model with astrology specific knowledge. This involves feeding the model with examples of text relevant to the principles of astrology and fine-tuning the model's parameters to improve its accuracy and effectiveness.
LlamaIndex (formerly called as GPT-index) is a simple, flexible interface between your external data and LLMs. When I decided to train the GPT-3 with astrology specific knowledge, I was looking for a library which can connect my astrological text with LLM’s and LlamaIndex is the perfect interface to do this task. LlamaIndex offers the data connectors to the existing data source and data formats (docs, pdf, text files etc.). By using LlamaIndex I was successfully able to train GPT-3 on the subject of Astrology with text files.
Birth of Parasara Jyothish Bot (Formerly JyothishGPT)
Since I have introduced many technical terms so far, let me summarize how I am connecting the astrology domain with GPT-3.
I am using the GPT 3.5 model (which is the same model used by ChatGPT), fine tune this model for astrology using the LlamaIndex interface. The LlamaIndex interface connects with text files of astrology domain with GPT 3.5 model and generates index files. By providing more appropriate input prompts (Prompt engineering is a big topic by itself and I am not covering that here) to the fine-tuned model and generating Index files, I am able to successfully generate the response for the queries specific to astrology domain.
The below picture will summarize the process of training
Demo using Parasara Jyothish Bot(Formerly JyothishGPT)
So far we have seen all the technical details of developing a custom GPT model for the astrology domain. Parasara Jyothish Bot v1.0 is trained with fundamental principle of Vedic astrology topics including definition of astrology, astronomy basics, planets own, exaltation, debilitation, moolatrikona houses, Shadbala, and basics predictions using planetary placements in a horoscope. You can check full details of modules in which it is currently trained from this document.
Now, let us get into some demo so that you will understand the power of artificial intelligence in the field of astrology.
As of today, Parasara Jyothish Bot is available in two user interfaces,
It gave a very simple and straightforward answer to us.
Let us now ask the very simple question “what is shadbala?” and see how JyothishGPT responds
Parasara Jyothish Bot gave us the definition of Shadbala including what are the six sources of strength.
Since GPT is capable of processing natural language, you can query the same question in different formats. Let us ask JyothishGPT to explain about Shadbala in detail.
Now Parasara Jyothish Bot gave us a very detailed answer about Shadbala. It answered what are the six sources of strength including definition of each source of strength. It also expanded the answer that Shadbala is immensely helpful while making predictions.
GPT is capable of writing summary, short notes, detailed answers, and in fact poems. Let us ask Parasara Jyothish Bot to write a poem about the importance of Vedic astrology
Parasara Jyothish Bot wrote a beautiful poem insisting the importance of Vedic Astrology.
If you are a practicing astrologer and if you get some specific doubts while analyzing a horoscope, you can ask Parasara Jyothish Bot and it can help you. Let us ask “What planet and houses should I check for career in cinema?”
It gave us a wonderful answer mentioning that Venus, 5th house and Mercury should be analyzed in the horoscope to predict cinema careers. It can be the best starting point to analyze the horoscope and of course you can use your own judgment to come to a conclusion.
Artificial Intelligence (AI) has the potential to revolutionize many aspects of our lives and change the future in numerous ways. From Vedic Astrology perspective we can embrace the power of AI to create a personalized Jyothisha training for aspiring students of Astrology. It can also help astrologers make quick and quality decisions while analyzing a horoscope. Let us all build a better world for future Vedic astrology aspirants by harnessing the power of Artificial Intelligence.
The subsequent versions of Parasara Jyothish Bot has been released, please refer the release notes for full details
Parasara Jyothish Bot V1.0(Initial Relase) - Capable of Answering astrology related queries
Parasara Jyothish Bot V2.0(Released on 9th June 2023) - Capable of Analyzing personal horoscope for the given birth details. Please refer this article for more details.
Parasara Jyothish Bot V3.0(Released on 12th July 2023) - Capable of Analyzing personal horoscope and provide future predictions using Dasha/Bukti. Please refer this article for more details
Parasara Jyothish Bot V4.0(Released on 14th August 2023) - The Bot is now capable of sending automatic daily/weekly predictions tailored to the user's birth nakshatra and the current transit of the Moon
Getting access to Parasara Jyothish Bot(Formerly JyothishGPT)
Parasara Jyothish Bot provides responses to the user queries based on the trained data. Although it has the capability to analyze a horoscope, it should never be taken as personal advice. Parasara Jyothish Bot can be your best Astrology personal assistance but it can never be a personal guide.