Skip to main content

OpenAI API Integration in SmartAdmin

Overview

  • Handler: openai-handler.js
  • Supported Models: GPT-3.5, GPT-4, and others listed on OpenAI Models
  • Configuration: API key and model selection via settings (settings-handler.js)
  • Advantages:
    • Access to state-of-the-art language models
    • Reliable performance and scalability
    • Wide range of applications and use cases

Setting Up OpenAI in SmartAdmin

  1. Obtain an API Key:
    • Sign up at OpenAI and generate an API key.
  2. Configure SmartAdmin:
    • Open SmartAdmin settings.
    • Navigate to the AI Configuration section.
    • Enter your OpenAI API key.
    • Choose your desired model from the available or manually type it.