If your organization uses shared filesystem with Nas/windows share or other technology you can let gebo.ai access them to have access to your documentation.

The software have to be enabled to access filesystems area that will be the future source for documents in the knowledge bases configuration.

Gebo.ai can be configured to have access to local filesystems in 2 ways:

  1. Using application.yml settings file
  2. Using the software setup page.

Settings of the application.yml (or application.properties) file

By using the following properties you can disable (ai.gebo.filesystem.allowFilesystemSharesUI: false) or enable (ai.gebo.filesystem.allowFilesystemSharesUI: true) the setting of the shared filesystems in the software “setup” section.

Optionally you can disable the UI settings and directly configure filesystems base paths with the ai.gebo.filesystem.shares configuration keys as follows.

ai.gebo.filesystem:
  allowFilesystemSharesUI: false
  shares:
    - absolutePath: <your shared path filesystem>
      description: <your shared path filesystem description>

Bundled filesystem configuration in the docker image

In the docker image the setup page of shared filesystem configuration is disabled by default and the internal unique shared filesystem setting is as follows

ai.gebo.filesystem:
  allowFilesystemSharesUI: false
  shares:
    - code: STDSHARE
      absolutePath: /opt/gebo.ai/shares
      description: Server shared document folder (/opt/gebo.ai/shares)

Due to the fact that the Docker contanerized version has a private filesystem the system is configured to use /opt/gebo.ai/shares as a volume that you can map to external single or multiple shared filesystems entry points by using the volume mounting docker options in the docker-compose.yml .

It is very important that you provide the system hosting the docker image being configured to extensively using UTF-8 character encoding to allow the docker image of correctly handling non ASCII filenames with spaces accents and so on.

Mounting windows shared filesystems (SMB CIFS) to be visible to your gebo.ai linux server

If you plan to host gebo.ai in a linux server or in a linux server using docker-compose, please ensurie that your linux service ha an extensive support for eventually present UTF-8 characters encoding in file names (view preceiding chapters). To successfully let your windows shared filesystem being visible to your gebo.ai server let’s mount them with the following commands:

#mount  /mnt/windows-share -t cifs -o username=<user name>,password=<password>,uid=<owner id>,gid=<group id>,iocharset=utf8 

Or

#mount  /mnt/windows-share -t cifs -o username=<user name>,password=<password>,uid=<owner id>,gid=<group id>,iocharset=utf8,codepage=cp850 

You can statically provide the reference to your company’s windows shares to your /etc/fstab configuration file and configure those mounted volumes to be visible to your gebo.ai system.

Setting organization shared folders or disks using the setup UI

Selecting the shared filesystem settings section
Selecting shared filesystem area and inserting a description
Confirming the inserted data
Added shared filesystem area configuration