Skip to content

AI Report Generator

Multi-stage LLM engine that researches a topic and produces structured, citation-backed technical reports.

Publisher
AMD

Deployment guide

Getting Started

This is a quick start guide on how to deploy the blueprint. For advanced options, such as reusing an existing AIM, configuring search parameters, or overriding storage classes, see Deploying Solution Blueprints with Helm or explore the advanced deployment guide.

Prerequisites

System Requirements

This blueprint can be deployed on AMD Instinct (default), AMD Radeon, and AMD EPYC. The blueprint requires the following cluster resources by default, depending on the hardware being used:

ResourceInstinctRadeonEPYC
GPUs11—
CPUs6 CPU cores6 CPU cores190 CPU cores (default)
RAM68 GiB36 GiB132 GiB

To deploy to the Kubernetes cluster, ensure the following prerequisites are met:

  • kubectl: Installed and configured to communicate with the cluster
  • Helm 3.16 – 4.2.0: Installed on your local machine
  • Storage: A Kubernetes StorageClass named mlstorage must be available. To use a different storage class or temporary emptyDir storage, see DEPLOYMENT.md.

No third-party credentials are required for the default deployment. Optionally, a Tavily API key (free tier: 1,000 requests/month) enables live web search instead of the bundled sample corpus.

Deployment

Solution Blueprints are packaged as OCI-compliant Helm charts in the Docker Hub registry and can be deployed to a Kubernetes cluster with a single command. Define the name (deployment name) and namespace (Kubernetes namespace), then pipe the output of helm template to kubectl apply -f -.

Find the deployment command below.

Note: You can create a namespace using kubectl create namespace <my-namespace>.

Terminal window
name="my-deployment"
namespace="my-namespace"
helm template $name oci://registry-1.docker.io/amdenterpriseai/aimsb-ai-report-generator \
| kubectl apply -f - -n $namespace

Without a Tavily API key the blueprint researches from its bundled sample corpus, which covers the default demo topic. To research any topic against the live web, add your key to any of the commands above:

Terminal window
--set config.tavily.apiKey=tvly-your-key-here \

Verify Deployment

To check the status of the deployment, run:

Terminal window
kubectl get pods -n $namespace

Wait until all pods report Running and Ready.

Connect to UI

To connect to the UI, port-forward to 8501. The UI will then be available at http://localhost:8501 in your browser.

Terminal window
kubectl port-forward services/aimsb-ai-report-generator-${name} 8501:8501 -n $namespace

To generate a report:

  • Enter a topic, and optionally customize the report structure (or use the intelligent default)
  • Start generation. Progress is tracked live through each pipeline stage: Planning, Research, Writing, Compilation
  • The active research mode (offline corpus or live Tavily search) is shown above the form and recorded in the generated report

Clean Up

When you are finished, remove the deployed resources using the same deployment command, with kubectl delete instead of kubectl apply. For example, for Instinct use the following command:

Terminal window
helm template $name oci://registry-1.docker.io/amdenterpriseai/aimsb-ai-report-generator \
| kubectl delete -f - -n $namespace

Third-party Components

This Solution Blueprint utilizes multiple components. For third-party license information, refer to each component’s documentation. Key third-party components are listed below.

ComponentLicense
FastAPIMIT
LangChainMIT
StreamlitApache 2.0

Tavily API: Optional web search API for live research integration. Not used by the default deployment, which researches from the bundled sample corpus.

Bundled sample corpus: src/offline_sources.yaml summarises publicly published AMD product and documentation pages, each entry linking to the page it came from. It exists so the blueprint can be demoed without a third-party account, and is not a substitute for live research.

Terms of Use

AMD Solution Blueprints are released under the MIT License, which governs the parts of the software and materials created by AMD. Third-party software and materials used within the Solution Blueprints are governed by their respective licenses.

Refer to the documentation for additional information and advanced deployment options.

View advanced deployment guide