GPT-4o App Template
Introduction
This document describes our customizable GPT-4o app template that is designed for creating a bot app based on OpenAI GPT-4o technology.
Important: Before You Can Test
To test this AI technology, obtaining an API key from the OpenAI portal is required. So, open this link (or go to the API Access section of your OpenAI account dashboard) and either generate a new API key or manage your existing API keys.
Video: How to create a new app with GPT-4o support or add this support to your existing mobile or web app.
If interested, you can also check out this video to learn how to create mobile and web apps with GPT-4o using Appery.io:
Using GPT-4o App Template
No special knowledge or experience is required to use our GPT-4o app template — just follow the simple steps below to install the app and enjoy low-code development with Appery.io!
Important!
Please rest assured that you are the creator and you are the only owner of this application (actually, like any other app created with Appery.io).
For more details, you can check our Copyright, Trademark, and Content Ownership section here.
Creating App from Template
- From the Apps tab, click Create new app.
- Select GPT-4o, enter the name for your project (for example, GTP-4o), and click the Create button.
In a few moments, refresh the browser tab to see that the app will be created with the autogenerated name extension (you will also get an email from [email protected] notifying you that the project bundle import is completed)). If you like, you can now rename your project under its General tab or do it later.
After the app is renamed, you can open it.
The first thing you can see is our App Builder Educational Video Guide page with the Project View section on the left where all the predefined project data can be found.
Note!
If you are launching your project for the first time, please allow some time for the app preview to load.
Actually, the application is ready to be used and does not require any additional effort on your part so let's test the app at work and see what it's all about.
Click the TEST button in the app Toolbar; you will be redirected to the tab with the app preview.
App Description
Once loaded, the application GPT-4o Assistant page preview will launch.
What is really good - as an app user, you require no special training to use the app and can right away start testing the service.
Important!
To test this AI technology, obtaining an API key from the OpenAI portal is required. So, open this link (or go to the API Access section of your OpenAI account dashboard) and either generate a new API key or manage your existing API keys.
When done, copy and paste it into the API Key field and you are ready to test the template. Click the TEST button to begin.
GPT-4o Screen Layout
If you want the add the GPT-4o support to your existing mobile or web app , you can use the predefined GPT-4o screen layout.
When your final app version is ready, you might like to proceed with exporting your app for
Android or iOS with further installation it on a device.
Selecting Build Type
Before you can proceed with exporting your app, go to Project view > Project > App settings > Android binary/iOS binary to select the Release build type (Debug is the default type for both and can be used for testing purposes only):
If the Release and Publish type is selected under the iOS binary tab, building the release app version will be performed together with publishing it to the App Store.
Please check this step-by-step Appery.io YouTube video to learn how you can develop an iOS mobile app with Appery.io right in the browser using a Windows desktop.
Also, you will learn how to install it on an iPhone for testing and then publish it to the App Store:
Important Note!
Please, note that before you can export the app, the app certificates must be imported or automatically generated (in the case of Android).
You can check this document in case you need help with exporting your application for iOS.
Here, you will find information on generating certificates for Android.
Note as well that starting from August 2021, new apps are required to publish with the Android App Bundle (.aab
) on Google Play.
Please read more here.
You can also check this Appery.io Community video that shows how to create Android and iOS certificates:
Managing Build Error The certificate file is not set
If this is your first app created with Appery.io you will most likely get the error signifying about missing certificates that will prevent you from successfully finishing the build process.
The error reads similarly for both binary types and indicates that you should set the corresponding certificate before starting a new build.
If this notification is what you see after starting your build, please check out the this document about certificate management that explains how to add the needed certificate to your project:
- After the needed certificates have been added to your app all you need to do is to wait for the bundle to be created.
- Now, you need to select the format you prefer (you are also free to build both if you need) to start building your project:
- Once your project is generated, you will see the QR-Code that you can use to upload the application to your device (or save the file for further use):
- Then, install the app on your device and enjoy the result of your customization efforts.
Publishing App
Any app that you build in Appery.io can be published as a mobile web app. This means the app will be hosted on a server and can be accessed from any browser on a mobile device:
Also, you are free to add the published app to any site of your choice as a widget.
Below is the sample code you can use for embedding the app published on Appery.io as a widget:
<script>
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://app.appery.io/aio_chat_widget.js';
script.onload = function() {
window.aioChatWidget.init({
frameUrl: "https://gpt4o.app.appery.io/",
// buttonColor: "blue",
// buttonTextColor: "red",
// buttonImgUrl: "https://appery.io/app/resources/img/mobileframe/favicon-192x192.png",
preload: true,
// autoOpen: 5000,
// position: "top_right",
});
}
document.head.appendChild(script);
</script>
where:
frameUrl
: '', // the iframe url;buttonColor
: '#4DC95B', // css color. The button color for the chat button (if set to default, the button image is used) and close button;buttonTextColor
: '#FFFFFF', // css color. The button text color for the chat button (if set to default, the button image is used) and close button;buttonImgUrl
: '', // custom image for the button, if not set, then the default.svg
image is used;preload
: false, // if set to true - add iframesrc
on init (load frameUrl immediately), otherwise, the iframe will be loaded only after opening;autoOpen
: 0, // ms. If 0 - do not open;position
: "bottom_right" // bottom_right, bottom_left, top_right, top_left.
Updated 4 months ago