Settings
Context
- To utilize the Hellixia functions, BayesiaLab must connect to the OpenAI, Mistral, Anthropic, or Voyage AI APIs using a personal API Key.
OpenAI, Mistral, Anthropic, Google AI, Llama API, and Voyage AI are third-party services that can be accessed through BayesiaLab; however, it is not part of the BayesiaLab software. As a result, Bayesia makes no representations. A subscription fee payable to OpenAI, Mistral, Anthropic, Google AI, Llama API, or Voyage AI may be required to obtain your personal API Key.
OpenAI
- Obtain your personal API key from the OpenAI website.
OpenAI | https://openai.com/ (opens in a new tab) | OpenAI-API-Keys.png |
- Once you have obtained your API Key, enter it into your locally-installed BayesiaLab software under
Menu > Windows > Preferences > Tools > Hellixia
Endpoints
If you want to utilize an alternative to OpenAI, Mistral, Anthropic, Google AI or Llama API, you can deploy models in your own Microsoft Azure account for example. The process involves creating endpoints.
The URL is structured as follows: https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/chat/completions?api-version={api-version}
."
In this URL:
{your-resource-name}
should be replaced with the name of your Azure OpenAI resource.{deployment-id}
should be replaced with the ID of the specific deployment.{api-version}
should be replaced with the version of the API you're using. This follows the YYYY-MM-DD format.
For further information, visit Microsoft's official documentation at https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference
(opens in a new tab)
SSL Proxy
If you're operating behind a proxy that enforces SSL rewriting or redirection, you might encounter the following error message:
'PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.'
If you encounter this issue, it will be necessary to point BayesiaLab towards the truststore, where the approved certificates are kept.
Workflow
- Go to
Menu > Windows > Preferences > General.
- Click on the folder icon to locate and select the BayesiaLab.cfg file.
- Navigate to the end of the file, where you'll locate the [JavaOptions] section.
-
If you're using Windows, you should add the following two lines:
java-options=-Djavax.net.ssl.trustStoreType=Windows-ROOT
java-options=-Djavax.net.ssl.trustStore=NUL
-
For MacOSX users, instead, add:
java-options=-Djavax.net.ssl.trustStoreType=KeychainStore
java-options=-Djavax.net.ssl.trustStore=/dev/null
-
- After these changes, save the file and then restart BayesiaLab for the updates to take effect.