Skip to content

AI Report Generator

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

Publisher
AMD

Overview

AI Report Generator UI

This Solution Blueprint illustrates how automated technical report generation can be implemented using AMD Inference Microservices (AIMs). It employs a multi-stage LLM workflow with integrated web research, where the system plans, researches, writes, and compiles content to produce comprehensive, evidence-based technical documents on any topic.

The blueprint follows a four-stage pipeline:

  • Planning: Generates search queries and creates a section outline
  • Research: Gathers sources for each section, either from live web search via the Tavily API or from a bundled offline sample corpus
  • Writing: Generates content for each section using the gathered research
  • Compilation: Assembles the final markdown report with introduction and conclusion

The blueprint runs out of the box with no third-party account. By default it researches from a small bundled corpus of AMD sources, which is enough to demonstrate the full pipeline end to end. Supplying a Tavily API key switches it to live web search across any topic.

AMD Solution Blueprints are packaged as Helm charts for deployment on a Kubernetes cluster. For development or further exploration, the source code is public and available in the Solution Blueprints GitHub repository.

Architecture

Report generation is performed by a four-stage pipeline with LLM and web research integration.Report generation is performed by a four-stage pipeline with LLM and web research integration.

The blueprint integrates a Streamlit web UI, a FastAPI backend, an AIM LLM service, and Tavily web search. LangChain orchestrates the multi-stage workflow across planning, research, writing, and compilation.

ComponentRole
StreamlitWeb-based user interface
FastAPIREST API backend
AIM (LLM)Technical writing and synthesis (defaults: GPT OSS 20B on AMD Instinct; Qwen 3 VL 8B on AMD Radeon; Llama 3.1 8B on AMD EPYC)
LangChainOrchestration of LLM calls
Offline corpusBundled AMD sample sources used when no Tavily key is configured (default)
Tavily APIOptional live web search for research integration

Key Features

  • Offline and online search: runs out of the box on a bundled AMD sample corpus, or switch to live web search across any topic by adding a Tavily API key
  • Generates comprehensive technical reports on any user-provided topic
  • Users can customize the report structure or use intelligent defaults
  • Real-time progress tracking shows each stage of the generation process
  • Research results are automatically integrated and cited in the final report
  • The active research mode is shown in the UI and recorded in the generated report