OpenAI Pipe
Utilize Open AI's API, which performs a wide variety of natural language tasks and translates natural language to code, to take your Tadabase apps to the next level.
You can also watch the video tutorial: https://youtu.be/bvvwvlBrpQc
Global Parameters
There is 1 Global Parameter in this pipe.
- API Key - Your OpenAI API key
To obtain your OpenAI API Key, login or signup at beta.openai.com. Once you're signed in, click on the user menu in the top right corner. Select "View API Keys" from the dropdown menu.
Copy your API Secret key and paste it into the Default Value under the Global Parameters tab.
All API calls below must contain the authorization details in the global parameters.
API Calls
All the API Calls in this Pipe can be customized, but we've added several to help you get started and expedite the time needed to get you up and running with some of the common AI models.
- Q&A
- Interview Questions Generator
- Grammar Corrector
- TL;DR Summarization
- Summarize For a 2nd Grader
- Translate English to Other Languages
- Get Classification
- Movie to Emoji Converter
- Create SQL Requests
- Extract Contact Information
- Convert A Text Description to A Color
- Analogy Maker
- Third Person Converter
- Notes to Summary Converter
- Essay Outline Generator
- Turn-by-Turn Directions
- Restaurant Review Creator
Q&A
This API call will provide an answer to your submitted question. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter your question. (Nonsensical questions will be answered with "Unknown.")
Response
- Response - The answer. (Nonsensical questions will be answered with "Unknown".)
Interview Questions Generator
This API call will create 10 interview questions for the submitted job title. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the type of person you would like to interview (i.e., astronaut, mother).
Response
- Response - 10 interview questions for the type of person you entered above.
Grammar Corrector
This API call will correct the grammar of the submitted text. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the text you would like to correct. (Example: "She no went to the store.")
Response
- Response - The corrected text.
TL;DR Summarization
This API call will summarize a long block of text. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the lengthy text you would like to summarize.
Response
- Response - The summarized text.
Summarize for a 2nd Grader
This API call will convert difficult text into simpler concepts. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the text you would like to summarize.
Response
- Response - The summarized text.
Translate English to Other Languages
This API call will translate English phrases to another language of your choice. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the text you would like translated. (Example: Welcome)
- Language - Enter the language you would like the prompt to be translated into. (Example: French)
Response
- Response - The translated text.
Get Classification
This API call will classify items according to category. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the item you would like categorized. (Example: Tiger)
Response
- Response - The category of the text. (Example: Animal)
Movie to Emoji Converter
This API call will convert movie titles to emoji. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the movie title you would like converted to emoji. (Example: 'Star Wars')
Response
- Response - The emoji version of the movie title.
Create SQL Requests
This API call will create SQL requests. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the request you would like converted to SQL. (Example: "Find all clients who have an outstanding balance of $1,000 from January 1, 2022.)
Response
- Response - The SQL request.
Extract Contact Information
This API call will extract contact information from a block of text. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the block of text that has the address you would like extracted.
Response
- Response - The contact information.
Convert A Text Description to A Color
This API call will convert a text description to a color. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the text that you would like converted to a color. (Example: sky at dusk.)
Response
- Response - The name of the color or the CSS code for the corresponding color.
Analogy Maker
This API call will create an analogy for a started phrase. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the text that you would like an analogy created for. (Example: "Astronauts are to space as fish are")
Response
- Response - The completed analogy along with an explanation of the analogy. (Example: The response to the above phrase would be "to water. This phrase is saying that astronauts are to space what fish are to water. In other words, they are both creatures that live in their respective environments.")
Third Person Converter
This API call converts first-person POV to the third-person. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the text that you would like converted to third-person point of view. Include the preferred pronoun following the word "gender" at the end of the prompt. (Example: "When I opened the door, I could not believe what I saw.)
- Gender - Enter a gender, pronoun, or descriptive word to describe the pronouns that you would like the text to use as its third-person point of view. (Example: "they", "male", "lady")
Response
- Response - The text in third-person. (Example: "When she opened the door, she could not believe what she saw.")
Notes to Summary Converter
This API call converts meetings notes into a summary. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the meeting notes.
Response
- Response - The notes in summary.
Essay Outline Generator
This API call creates an outline for an essay topic. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the topic of the essay. (Example: "Benjamin Franklin and his Accomplishments")
Response
- Response - The essay outline.
Turn-by-Turn Directions
This API call converts natural language to turn-by-turn directions. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Prompt - Enter the directions. (Example: "Go south on 95 until you hit Sunrise boulevard then take it east to us 1 and head south. Tom Jenkins bbq will be on the left after several miles.")
Response
- Response - The directions formatted as a numbered list.
Restaurant Review Creator
This API call generates a restaurant review from a few words of text. For more details and examples, go to the OpenAI Rest API documentation.
Parameters
- Name - Enter the name of the restaurant. (Example: "The Table")
- Prompt - Enter the key words of the description separated by commas. (Example: "upscale, long wait, tasty food, wine")
Response
- Response - The restaurant review. (Example: "The Table is an upscale restaurant that offers delicious food and an impressive wine list. However, due to its popularity, there is often a long wait to be seated.")
More Details
To learn more about this Pipe and the additional Examples, please see the OpenAI Example page.
We'd love to hear your feedback.