Welcome to DeepGATE Manual

What doese the Web App Do?

DeepGATE is designed to address the complexities and challenges associated with Monte Carlo (MC) simulations in the field of nuclear science. MC simulations are vital tools in the nuclear industry for modeling and analyzing the behavior of particles and their interactions with various materials. Over 90% of research in the nuclear industry relies on nuclear simulation tools. Among these tools, Geant4 and its associated codes, including GATE, have gained significant popularity among researchers due to their open-source nature, comprehensive and diverse physics libraries, regular updates, powerful capabilities, and robust graphical support.

However, creating and configuring MC simulation codes using these platforms or other popular platforms is a complex, time-consuming process that requires specialized knowledge. These challenges can be especially daunting for new or less-experienced users, leading to common errors, technical issues, and potentially inaccurate results, which can result in wasted time and resources.

Leveraging artificial intelligence (AI) to generate input codes for nuclear simulation platforms is recognized as a facilitator, but the high level of complexity and specialized nature of the nuclear field means that, as of now, such a solution is not readily available. Even using powerful general models like CHATGPT for this purpose comes with significant challenges, such as low accuracy and efficiency and the inability to generate integrated codes. The effectiveness of current virtual assistants for advancing nuclear research is significantly hampered, and these models cannot adequately meet the specialized and complex needs of nuclear simulations. Consequently, the need for a specialized, secure, and optimized language model is apparent. Such a system can also serve as a tool for performing nuclear-based research and education.

DeepGATE trained to be a virtual assistant of the GATE Monte-Carlo code. Currently, we focus on version 9.2 of the GATE, but it can be used for other versions too.

How was DeepGATE trained?
DeepGATE was trained using example codes from GATE, GATE-based scientific research, and the GATE manual (v9.2) through a large language model (LLM) deep learning process. This training has enabled DeepGATE to understand and generate highly specialized and accurate nuclear simulation codes.

Who can use DeepGATE?
DeepGATE is designed for anyone and any organization related to nuclear science, including nuclear engineering researchers and students, medical physicists, nuclear research centers, universities, and other related fields.

What’s the future plan?
The future plan for DeepGATE includes improving the model’s capabilities and expanding its functionality by incorporating other Monte Carlo codes into the platform. This will further enhance its utility and effectiveness in nuclear simulations and research.

Sign Up

To use the web app, you must first register. Registration is done through your mobile number. For this purpose, navigate to the Sign-Up section and enter your number in the correct format (including the country code without zero or the initial "+", such as 989212345678).

Once you have entered your mobile number, wait for the confirmation code. The confirmation code will be sent to you via SMS and WhatsApp. Enter the verification code to complete your registration, which will allow you to access the dashboard.

Sending the confirmation code from our side typically takes less than ten seconds, but due to various reasons, including network congestion, it may take up to a minute. If a code is not sent to you within 120 seconds after requesting it, you can request a new code through the resend button.

Please note that each confirmation code is valid for 120 seconds from the moment we send it.

Sign In

If you have already registered in the system, you can use the Sign in section to log in. The sign-in process is also done by entering the mobile number that you have already registered with in the correct format (with the country code and without the zero or initial +, like 989212345678).

A confirmation code will be sent to you from us through WhatsApp and SMS. Enter the code to log in to your account.

How to Use the Web App?

After successfully logging into the system, you will be transferred to the dashboard. By default, there is an example conversation in your dashboard (named Example) to help you get started. On the left side of the dashboard, you will see a list of your conversations. You can create a new conversation by entering a name for it and clicking the Create button.

By selecting a conversation, you can interact with the virtual assistant. You can ask your questions in any language, as the system supports multiple languages (including Farsi and English) using an online translator. After sending your question, wait for the process of reviewing and generating an answer to complete. Depending on the complexity of your question and server traffic, this process may take from a few seconds to a minute. Please be patient and avoid refreshing the page or interacting with other dashboard options during this time.

To get the best results, it is recommended to provide your request in full detail, although the system is capable of analyzing general requests and providing an appropriate answer. For example, you can make a request like this: "Model a cylindrical PET system with a radius of 40 cm that uses BGO detectors. As a phantom, place a cylinder of water with a radius of 5 cm and a height of 10 cm in the center of the system."

By presenting such a request, the system will attempt to fulfill your specifications, but it will use default values for parameters that you have not specified. For instance, in the example above, the user did not specify the field of view, gantry length, crystal dimensions, electronic aspects (energy resolution, dead time, synchronization window, etc.), desired outputs, physical library, source type, and other specifics. The best practice is to make your request as comprehensive and detailed as possible.

Additionally, DeepGATE can serve as a valuable educational tool by answering your questions about GATE. Feel free to use the system in a way that suits your needs.

Usage cost

DeepGATE uses tokens to process requests. Each request is calculated based on the number of tokens used, which corresponds to the complexity and length of the input and output.

If requests are made in a language other than English, the system will first translate the request into English (this translation will be free of charge). Our language model begins processing the request by tokenizing it, which involves breaking down the English text into tokens. Generally speaking, every English word and space is considered a token.

After tokenizing the request, the system analyzes it and prepares the initial response in English. The number of response text tokens is also calculated and added to the number of request tokens to determine the total number of tokens consumed. If the user requests an answer in a language other than English, the system will perform the translation process for free before delivering the final answer. The Consumed tokens for each request are deducted from the user's token balance.

The maximum cost of each consumed token is about 1 Toman (equivalent to 10 Iranian Rials) for Iranians and 0.00002 Euro for others. It should be noted that each user is allocated an initial amount of 49,000 tokens as a reward.

Initial Credit Gift

All new users receive an initial credit of 49,000 Tokens, which allows you to start using DeepGATE immediately.

Token Buying

To purchase tokens, by logging in, navigate to the dashboard, and click on the "Buy Tokens" button. From there, you can choose from several credit packages tailored to meet your needs:

Euro Packages (for our international users):

  • 3 Euros: Receive 150,000 tokens, Coresponding to 0.00002 Euro/token
  • 9 Euros: Receive 495,000 tokens, including a 10% gift, Coresponding to 0.000018 Euro/token
  • 19 Euros: Receive 1,330,000 tokens, including a 40% gift, Coresponding to 0.000014 Euro/token

Rial Packages (for Iranians):

  • 50,000 Tomans: Receive 50,000 tokens, Coresponding to 1 Toman/token
  • 100,000 Tomans: Receive 110,000 tokens, including a 10% gift, Coresponding to 0.9 Toman/token
  • 200,000 Tomans: Receive 250,000 tokens, including a 25% gift, Coresponding to 0.8 Toman/token
  • 500,000 Tomans: Receive 700,000 tokens, including a 40% gift, Coresponding to 0.7 Toman/token

Select the amount you wish to purchase and follow the on-screen instructions to complete the transaction. Each package is designed to provide great value, enhancing your experience and interaction with our platform.

View Purchase and Usage History

You can view your payment and usage history by clicking on the "Pay & Usage History" button in the dashboard. This will display a summary of your transactions and usage. The five most recent entries of your usage and payment histories are listed there. Additionally, you have the option to download the full histories from the beginning up to the current time as CSV files.

Rename and Create Conversation

To create a new conversation, enter a name in the conversation field on the dashboard and click "Create." You can rename any conversation by selecting it and choosing the rename option.

Delete Account

If you wish to delete your account, go to the dashboard, click on "Delete Account," and confirm your mobile number. Please note that this action is irreversible, and all information related to your account will be deleted, except for your credit balance.