Open AI

Open AI offers an API to access GPT Large Language Models. This documents explain how to set up the API key.

Get a key

To use the API, you need to buy credits. You can do this on the Open AI website.

  • First, you need to create an account.

  • Then, in the API Keys section, you can Create a new secret key. You will need this key to use the application.

  • At last, you can buy credits in the usage section to use the API.

Setting Up Geoscience Analyst

Once the key is obtained, it should be saved in Geoscience Analyst to enable the use of the applications. This step is only required the first time. To do so, as illustrated in the figure below, you must:

  1. Open the File menu.

  2. Click on Preferences.

  3. Navigate to the Pro Geology tab.

  4. Paste the key into the Open AI - API token field.

../_images/Open_ai_key.png

Once these steps are completed, the application is ready for use.

How the data are used?

According to the OpenAI documentation (as of July 5, 2024), OpenAI does not use data sent to the API for training the models unless you explicitly opt in. Data is stored for 30 days to detect potential abuses and is deleted after this period.