Enabling GenAI Builder on Hybrid Manager

GenAI Builder is EDB's integration of Griptape, a tool that allows you to build AI agents.

To enable the GenAI Builder launchpad application in your Hybrid Manager instance you must create a secret for the application and configure dedicated object storage.

Creating a secret for GenAI Builder

For EKS installations using the eks-install-secrets.sh script, you can skip key and secret creation and go straight to Configure DataLake object storage, CORS configuration and Backing up the Fernet key. Other EKS setups and operating systems require manual secret creation with the Fernet key.

  1. Create a Fernet key and store in a variable:

    FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
    Note

    Fernet is a cryptographic library used by Python. It provides symmetric encryption/decryption and is required to store secret data.

  2. Create a namespace for the integration:

    kubectl create namespace upm-griptape
  3. Create a secret that references the created fernet key and is stored in the dedicated namespace:

    kubectl apply -f - <<EOF
    apiVersion: v1
    kind: Secret
    metadata:
       name: fernet-secret
       namespace: upm-griptape
    stringData:
       FERNET_KEY: ${FERNET_KEY}
    EOF

Configuring DataLake object storage for GenAI builder

  1. Create a DataLake bucket in the object storage you are using for your Hybrid Manager deployment. GenAI Builder will use it to store structures, tools, and indexed data.

  2. Note the following information for your bucket. You will need it later when first using the GenAI launchpad application. The UI will prompt you for your DataLake bucket configuration, which requires the following:

    • DATA_LAKE_ROOT_BUCKET: The name of the bucket for use with DataLake.

    • DATA_LAKE_S3_ACCESS_KEY: The access_key used to connect to the DataLake bucket.

    • DATA_LAKE_S3_SECRET_ACCESS_KEY: The secret_access_key used to connect to the DataLake bucket.

    • DATA_LAKE_S3_ENDPOINT_UR: The endpoint URL used to connect to the DataLake bucket.

Configuring CORS

After you have configured the secret and created a dedicated bucket, continue with the Hybrid Manager installation.

Backing up the Fernet key

The Hybrid Manager administrator must keep the Fernet key safe and back it up.

Fetch the key so you can store it safely:

kubectl get secret -n upm-griptape fernet-secret -o yaml

Could this page be better? Report a problem or suggest an addition!