Skip to content

Latest commit

 

History

History
178 lines (141 loc) · 8.96 KB

Openai_setup_api_key.md

File metadata and controls

178 lines (141 loc) · 8.96 KB
jupyter
kernelspec language_info nbformat nbformat_minor
display_name language name
Teradata SQL
Teradata SQL
teradatasql
codemirror_mode file_extension mimetype name version
Teradata SQL
.tdrs
application/vnd.teradata.resultset
Teradata SQL
16.2
4
5

Using ClearScape Analytics with OpenAI

This is a Beta Release of this notebook!

This should be considered a Beta Release. Every effort has been made to ensure it's functionality and completeness. If you discover any issue with any part of this notebook, your suggestions will be reviewed and, if approved, merged in the next round of notebook commits.

How to submit a Review of this Notebook

First, please read through and execute the notebook.
If you think the notebook is fine as it is, great. Please send us a quick email and let us know. When the notebook is taken out of beta, this paragraph will be removed and the Beta designation the index page will be removed.
If you find something that you question or you think needs to be changed or if you think it's great as it is:

  1. Send us an email: Click here.
  2. Please include the name of the notebook in email.
  3. Include a screen shot or a clear description of the section in the notebook you would like us to look at.
  4. Paste the screen shot or enter the description of the section into the email.
  5. Describe how you would change it.
  6. Send It!

If we have any follow-up questions, we'll reach out to you at the return email address.


Introduction:

To ensure optimal utilization of the OpenAI API in generative AI notebooks, it is essential to establish the API keys correctly. This concise guide outlines the process of configuring OpenAI API keys for seamless integration across multiple notebooks. This notebook is called by other notebooks that use OpenAI for get the api key. Please note that the steps for obtaining the API keys are included in this guide as well.

The OpenAI API is a powerful that enables developers to integrate the capabilities of the OpenAI language models into their own applications, products, or services. The OpenAI API allows you to leverage the state-of-the-art natural language processing capabilities of the GPT-3.5 language model, enabling you to create a wide range of intelligent and interactive experiences.

By accessing the OpenAI API, you gain the ability to generate human-like text, answer questions, create conversational agents, perform language translation, assist in writing code, draft emails, write articles, and much more. The API provides a straightforward interface for making requests and receiving responses from the language model, making it easy to incorporate its advanced language capabilities into your own projects.

Generative_QA_architecture

How to Setup OpenAI account and get the API Key

Steps to setup the account:

  • Go to the OpenAI website: OpenAI.com.
  • Click on the "Sign up" button.
  • Enter your email address and password.
  • Click on the "Create account" button.
  • You will be sent a verification email. Open the email and click on the verification link.
  • Once your account is verified, you will be logged in, you will see below screen

Generative_QA_architecture
  • Click on API and you will see all the OpenAI offered services. Click on profile icon in the top right corner

  • Generative_QA_architecture
  • Click on View API keys. There will be one default key

  • Generative_QA_architecture
  • Now, you have to setup paid account first, Click on Billing to setup paid account.

  • Generative_QA_architecture
  • Choose the option: Select Individual if want to use for personal purposes else select second option.

  • Generative_QA_architecture
  • Fill out the personal and billing details.

  • Generative_QA_architecture
  • Now, Click on Create new secret key to generate the new key.

  • Generative_QA_architecture
  • Optional: Specify the key name.

  • Generative_QA_architecture
  • Please save this secret key somewhere safe and accessible. For security reasons, you won't be able to view it again through your OpenAI account. If you lose this secret key, you'll need to generate a new one. This is the last step. You can use this key to run generative AI demos.

  • Generative_QA_architecture

Thank you

ClearScape Analytics™
Copyright © Teradata Corporation - 2023. All Rights Reserved