Integrating OpenAI
  • 16 Jan 2024
  • 2 Minutes to read

Integrating OpenAI


Article Summary

What you need before getting started

FAQ articles

You need a few published FAQ articles on the Admin Panel.

Unpublished FAQ articles are always ignored by OpenAI.

Make sure all the FAQ articles you want OpenAI to use are tagged as Published on the Admin Panel.

FAQArticles_PublishedList

FAQ articles must be published to let OpenAI redirect customers to them for more information.

Keep the following points in mind when drafting and editing your FAQ articles for optimal results:

  • Keep sentences short and simplethe clearer you are, the better the answers will be.

  • Create one FAQ articles per topic you want to coverto solve common IT issues, split Wi-Fi, printing, and hardware issues into separate FAQ articles.

  • Write using a conversational tone and consistent wordingwrite your FAQ articles with common customer questions in mind and use the same wording consistently.

A paying OpenAI account

You need a paying OpenAI account. If you don't have an account yet, you can create one at auth0.openai.com/u/signup. Your account must have a payment method enabled to answer customer help-desk requests.

OpenAI
charges you per token. Each message a customer sends through your help-desk uses multiple tokens. The number of tokens used per request varies based on the length of the questions asked.

How much OpenAI charges you varies based on the number of requests your customers send and how long each request is. More information on pricing for Davinci (text-davinci-003) is available at openai.com/pricing.

Want more control over OpenAI charges?

You can cap the amount OpenAI can charge you every month at platform.openai.com/account/billing/limits. Once your OpenAI account reaches the cap, we'll stop answering help-desk messages automatically to prevent any additional charges.


Intregrating OpenAI

You can integrate OpenAI in three steps:

  1. Create an API key in OpenAI

  2. Enable OpenAI on the Admin Panel

  3. Test OpenAI's answers based on your FAQ articles

OpenAI_IntegrationProcess


Step 1. Create an API key in OpenAI

The first step is to create an API key dedicated to Nexudus in your OpenAI account.

OpenAI Key Generation

  1. Go to platform.openai.com/account/api-keys
  2. Click on Create new secret key.
  3. Name your new API key and click Create secret key.
  4. Click on the clipboard icon to copy.
You won't be able to see or copy your API key again.

Treat your API key as a password and save it somewhere safe. You'll need it to complete the integration process.

  1. Click Done.

Once you have your OpenAI API key, you're ready to move to Step 2.


Step 2. Enable OpenAI on the Admin Panel

The second step is to enable the OpenAI integration on the Admin Panel.
OpenAI_EnablingIntegration

  1. Log in to dashboard.nexudus.com if you aren't already.

  2. Enable the OpenAI integration toggle.

  3. Add your OpenAI API key.

  4. Click the Save Changes button.

Once the OpenAI integration is enabled in Nexudus, you're ready to move to Step 3.


Step 3. Test OpenAI's answers based on your FAQ articles

The last step to integrate OpenAI is to test the answers generated based on customer questions and queries, also known as training the OpenAI model. We recommend testing the integration using closed help-desk requests.

For more information, check out Testing OpenAI.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.