Skip to content

ambitus/aionz-st-document-intelligence-with-rhaiis-leveraging-ibm-spyre

Repository files navigation

AI on Spyre Accelerator for IBM Z & IBM LinuxONE Document Summarizer Solution Template

This repository contains code for summarizing documents using Spyre with Red Hat AI Inference Server. This is an AI on IBM Z solution template for document summarization using Spyre. This solution template provides an example on how to deploy RHAIIS in an IBM Z environment, while making use of Spyre, Granite models, and more.

Spyre enhanced Document Summarizer

Prerequisites

  • Podman
  • podman-compose
  • RHAIIS

Getting Started

View or download the official AI Solution Template PDF to get started

Installation as a container

1. Set Environment Variables

# Set the host IP for cross-container communication
export HOST_IP=$(hostname -I | awk '{print $1}')

2. Build and Start Containers

# Build images and start containers in detached mode
podman-compose up --build -d

3. Access the Application

Open your web browser and navigate to:

Local access:

http://localhost:3002

Network access (from other devices):

http://<your-machine-ip>:3002

4. [Optional] Adjust Podman VM resources (CPU, Memory, Disk)

# Stop the Podman machine
podman machine stop podman-machine-default

# Update resources (example: 4 CPUs, 8 GB RAM, 100 GB disk)
podman machine set --cpus 4 --memory 8192 --disk-size 100 podman-machine-default

# Restart the machine with the new configuration
podman machine start podman-machine-default

Authors & Contributors

About

Document Intelligence with RHAIIS Leveraging IBM Spyre

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors