# OpenAI

with ToolJet

Build smart AI apps with OpenAI and ToolJet. From AI chat interfaces to automated workflows, connect powerful models to your UI in minutes.

[Docs](https://docs.tooljet.com/docs/marketplace/plugins/marketplace-plugin-openai/)

## Available actions with ToolJet and OpenAI integration

ToolJet's integration with OpenAI supports various operations:

### Chat with GPT models

Simulate human-like conversations using GPT-4, GPT-4 Turbo, or GPT-3.5 Turbo. Customize responses using temperature, max tokens, stop sequences, and suffixes.

### Text completions

Generate intelligent content, summaries, or suggestions based on prompts using GPT-3.5 Turbo. Great for content automation and internal support tools.

-2.svg)

### Generate AI images

Use DALL·E 2 or DALL·E 3 models to create AI-generated images from text prompts. Choose from various resolution sizes.

-2.svg)

### Generate vector embeddings

Convert text into high-dimensional vectors using embedding models like text-embedding-3-large or text-embedding-ada-002—perfect for semantic search and RAG apps.

## Why use ToolJet with OpenAI

### AI-powered app building

Build internal tools, workflows, and AI agents in hours using plain English. Go from idea to production with AI-generated apps, data models, and instant debugging.

### Enterprise-grade security and compliance

Stay secure with SSO, RBAC, audit logs, encryption, and compliance standards like SOC2, ISO 27001, and GDPR. Deploy your way: cloud, on-prem, or hybrid.

### Production-ready database and integrations

Skip setup hassles with instant PostgreSQL and pre-built integrations for AI, databases, storage, and APIs.

### Components and environment management

Speed up development with 60+ pre-built components and manage releases across dev, test, and production environments.

### Flexible development options

Use no-code visual builders, or dive into low-code, and switch seamlessly as your needs evolve. You have full control, and there is no lock-in.

### JavaScript and Python

Write custom logic and data transformations using JavaScript or Python, flexible scripting built right in.

### Frequently asked questions

1. **What is ChatGPT, and how does it work?**  
   ChatGPT is an AI chat assistant developed by OpenAI that uses natural language processing to generate human-like responses. It’s powered by models like GPT-4 and is used in tasks such as content creation, support automation, and coding help.

2. **How can I use the OpenAI API in my apps?**  
   You can integrate the OpenAI API into your apps by generating an API key from the OpenAI platform. The API allows access to powerful models for text generation, embeddings, chat, and image creation.

3. **What is the OpenAI Playground, and who should use it?**  
   The OpenAI Playground is an interactive web-based tool that lets users test OpenAI models like ChatGPT in real-time. It’s ideal for developers experimenting with prompts, educators, and anyone new to AI-powered tools.

4. **How do I get my OpenAI API key and manage it securely?**  
   After logging in to OpenAI, go to your account dashboard and generate an API key under the API Keys section. Keep it private and use environment variables to store it securely in your apps.

5. **What are the pricing options for the OpenAI API?**  
   OpenAI offers tiered pricing based on model usage (e.g., GPT-3.5 vs GPT-4) and the number of tokens processed. There’s a free trial with limited usage and pay-as-you-go options for higher volume needs.

6. **What models are available on the OpenAI platform?**  
   The platform includes multiple models such as GPT-3.5, GPT-4, DALL·E for image generation, and text embedding models. Each serves different use cases like AI chat, summarization, or image creation.

7. **Is OpenAI for profit or nonprofit?**  
   OpenAI operates as a capped-profit organization. Its structure includes a nonprofit parent with a for-profit subsidiary to support scaling safely while aligning with its mission to benefit humanity.
