Skip to content

Install

This python-based Enrich LLM SDK is still in experimental mode. The distribution will be freely available once the SDK moves to general availability stage.

Supported Platforms

  1. Ubuntu 20.04 or above (Other linux distributions should work as well)
  2. Python 3.9 or above only
  3. Cloud Platforms: AWS, GCP, and Azure
  4. On-prem services: Untested but should work - VMWare VSphere, RHEL 9+

OS Dependencies

For now, LLM SDK is privately distributed and not available via pypi. It wil be over time.

$ sudo apt-get update
$ sudo apt-get install python3.9-dev python3.9-venv # or later verions
$ workon scribble # this or next line

Poppler is required for advanced usecases such as extraction from tables in pdf documents and images.

$ cat install-poppler.sh
#!/bin/bash

echo "Installing poppler updated version to make pdf2image work with docusign documents"

sudo apt-get install libopenjp2-7-dev libgdk-pixbuf2.0-dev cmake checkinstall
sudo apt-get build-dep libpoppler-cpp-dev
sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev

cd /tmp
wget https://poppler.freedesktop.org/poppler-23.04.0.tar.xz
tar -xf poppler-23.04.0.tar.xz
cd poppler-23.04.0

mkdir build
cd build
cmake ..
sudo checkinstall make install

# update .so index
echo "Check libc.conf"
sudo grep "/usr/local/lib" /etc/ld.so.conf.d/libc.conf
sudo ldconfig

cd /tmp
rm -r poppler-23.04.0

Now run the install script:

$ ./install-poppler.sh

Install

There are steps beyond this that can be found in the SDK README.

$ python3.9 -m venv venv
$ source venv/bin/activate
$ pip3 install wheel llmsdk.tgz