Nerd For Tech

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences…

Follow publication

Member-only story

Using Ruby Gem — Ruby OpenAI to play OpenAI

The OpenAI API provides a simple interface to state-of-the-art AI models for natural language processing, image generation, semantic search, and speech recognition. If you are proficient in Ruby, Ruby Gem — Ruby OpenAI is a suitable gem for you to play OpenAI API with it. This article shows the steps to set up in OpenAI platform and the way to use the gem to create pictures and translate data.

Setup on the OpenAI platform

First, sign up for an account in the OpenAI platform and login. After login, it shows the Chat page.

  • Create an API key

Click the Docs button and go to the Quickstart page. It shows the quickstart of how to use OpenAI API for developers. The quickstart teaches the user how to create an API key.

  • Add credit balance

Before using OpenAI API, we need to add credit to our credit balance in our account. Go to the account…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Nerd For Tech
Nerd For Tech

Published in Nerd For Tech

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit https://www.nerdfortech.org/.

icelandcheng
icelandcheng

Written by icelandcheng

Programming Skill learner and Sharer | Ruby on Rails | Golang | Vue.js | Web Map API

No responses yet

Write a response