Getting Started

Installation

  • Log in to the OpenAIopen in new window website.
  • Log in to the LINEopen in new window website.
    • Add a provider (e.g. "My Provider").
    • Create a channel (e.g. "My AI Assistant") of type Messaging API.
    • Click the "Messaging API" tab and generate a channel access token.
  • Log in to the GitHubopen in new window website.
    • Go to the gpt-ai-assistant project.
    • Click the "Star" button to support this project and the developer.
    • Click the "Fork" button to copy the source code to your own repository.
  • Log in to the Vercelopen in new window website.
    • Click the "Create a New Project" button to create a new project.
    • Click the "Import" button to import the gpt-ai-assistant project.
    • Click the "Environment Variables" tab and add the following environment variables with their corresponding values:
    • Click the "Deploy" button and wait for the deployment to complete.
    • Go to the dashboard, copy the application URL, e.g. "https://gpt-ai-assistant.vercel.app/open in new window".
  • Go back to the LINEopen in new window website.
    • Go to the page of "My AI Assistant", click the "Messaging API" tab, set the "Webhook URL" to application URL with /webhook path, e.g. "https://gpt-ai-assistant.vercel.app/webhookopen in new window" and click the "Update" button.
    • Click the "Verify" button to verify the webhook call is successful.
    • Enable the "Use webhook" feature.
    • Disable the "Auto-reply messages" feature.
    • Disable the "Greeting messages" feature.
    • Scan the QR code using the LINE mobile app to add as a friend.
  • Start chatting with your own AI assistant!

Debug

  1. Check if the environment variables of the project are filled out correctly in the Vercel.
  2. Click the "Redeploy" button to redeploy if there are any changes.
  3. If there is still a problem, please go to Issuesopen in new window page, describe your problem and attach a screenshot.