This plugin allows for seamless interaction with OpenAI's API to leverage advanced AI capabilities such as chat completions, image creation, and more, all from within your Bubble.io apps.
Key Features
Chat Completions: Utilize OpenAI's language model to generate text completions, answers, and suggestions based on the input provided.
Create Image: Generate unique images based on textual descriptions, perfect for applications requiring dynamic content creation.
Create Moderation: Evaluate content to determine if it meets certain safety or appropriateness criteria.
List Models: Access a list of available models you can use, tailored to different tasks and requirements.
Create Speech: Convert text into natural-sounding speech, enhancing accessibility and user engagement.
Getting Started
To begin using the OpenAI API Plugin, you'll need to configure authentication and shared headers:
Authentication
Private Key: Include a private key in the header of your API calls. This key is for testing purposes and will not be shipped with the plugin.
Key Name:
Authorization
Private Key:
Bearer sk-proj-your-private-key
Shared Headers for All Calls
Content-Type:
application/json
Commonly Used API Calls
Chat Completions
Generate conversational responses or complete prompts with contextually relevant text.
Create Image
Create images from textual descriptions, suitable for various applications like dynamic advertising or content personalization.
List Models
Retrieve a list of all available OpenAI models, allowing you to select the most appropriate one for your task.
Create Speech
Turn text into spoken audio, useful for accessibility features or multimedia applications.
Create Moderation
Assess whether text content adheres to specified guidelines, crucial for maintaining community standards.
More Capabilities
The plugin includes many more capabilities such as transcription, translation, fine-tuning of models, file management, and batch processing.
Support
For support and further assistance, you can contact us through the live chat feature on our website. The team at Syrup is dedicated to providing you with the necessary support to integrate and utilize AI features effectively within your Bubble applications.
Before deploying AI models in a production environment, ensure you understand the safety best practices recommended by OpenAI. For more information, refer to the Safety Best Practices article. Additionally, to optimize your organization's setup for seamless integration and deployment, consult the Production Best Practices guide on setting up your organization.
This documentation provides a quick overview to get started with the most important features of the OpenAI API Plugin for Bubble.io. For more detailed information and advanced features, please explore the full capabilities listed within the plugin in the Bubble.io environment.