This WordPress plugin enables integration with OpenAI's powerful AI models, allowing you to leverage the capabilities of models like gpt-3.5-turbo-instruct
directly within your WordPress site.
To install the OpenAI Integration plugin, follow these steps:
-
Download the Plugin: Download the ZIP file of this plugin from the GitHub repository.
-
Upload to WordPress:
- Navigate to your WordPress admin panel.
- Go to
Plugins
>Add New
. - Click
Upload Plugin
and choose the downloaded ZIP file. - Click
Install Now
.
-
Activate the Plugin:
- Once the installation is complete, click on
Activate Plugin
.
- Once the installation is complete, click on
-
Acquire an OpenAI API Key: To use this plugin, you'll need an API key from OpenAI. You can obtain this from the OpenAI website.
-
Set up the API Key in WordPress:
- In your WordPress admin panel, navigate to the
OpenAI Integration
settings page. - Enter your OpenAI API Key in the provided field.
- In your WordPress admin panel, navigate to the
To use the plugin, insert the shortcode [openai prompt="Your Question"]
into any post or page. Replace "Your Question"
with the query you want to send to the OpenAI API.
[openai prompt="What is the capital of France?"]
This shortcode will display the AI-generated answer within your content.
- Content Creation: Generate creative writing, blog ideas, or complete sentences based on partial inputs.
- Data Analysis: Summarize complex data or generate reports.
- Language Translation: Translate sentences or paragraphs into different languages.
- Educational Purposes: Answer questions for educational content or quizzes.
This plugin is provided under the MIT License and is available "as-is" without any warranty.
Note: The use of the OpenAI API is governed by OpenAI's policies and usage limits. Ensure your usage complies with their terms and conditions.