# Setting Up and Managing AI Integration

This guide explains how to configure the AI integration feature powered by OpenAI.

# Configuring the Connection to OpenAI

Refer to OpenAI's help documentation for instructions on obtaining API keys and other necessary information.

  • Set the following environment variables:
    • Set AI_ENABLED to true.
    • Specify the service type in OPENAI_SERVICE_TYPE.
      • Example: For OpenAI, specify openai.
    • Set OPENAI_API_KEY to the API key obtained from the OpenAI service.

# Knowledge Assistant Feature

# Verifying Connection in the Application

If the environment variables required for the Knowledge Assistant are set, the Knowledge Assistant icon will appear on the top bar of the GROWI screen.

setup-ai_1
  • If an error message indicates a connection failure despite the environment variables being correctly set, recheck OpenAI's status and the integration settings.

# Rebuilding the Vector Store

  • Performing a "Rebuild Vector Store" uploads all public page data in GROWI to the Vector Store.
    • The AI integration feature uses documents uploaded to the Vector Store for machine learning.
  • If you are adding the AI integration feature to an existing GROWI setup, it is recommended to perform a "Rebuild Vector Store"
    setup-ai_2