2023 Market Outlooks: Search and Summarize

Index and search a library of PDFs on each bank's 2023 market outlook.

2023 Market Outlooks: Search and Summarize
Photo by Etienne Martin / Unsplash

Every year each of the world’s largest banks publishes their 2023 Market Outlooks in PDF form.

This makes it challenging to quickly grok through to uncover trends.

To solve this, we’ll be using Mixpeek’s indexer which extracts and stores the contents of each PDF in order for us to do some quick investor due diligence.

Here is a GitHub repo that contains each of the PDFs in raw form, in addition to the code used in this walkthrough:


Extract the Content and Index

from mixpeek import Mixpeek

# index entire S3 bucket, which contains each PDF
mix = Mixpeek(
    "file_ids": [

Search Across Every File

# i want to see what their stance on nuclear energy is
n = mix.search("nuclear")

# or maybe, how they perceive the semiconductor market
s = mix.search("semiconductor")

Demo of it in action: https://demo.mixpeek.com/files?defaultSearch=nuclear

There are plenty of other finance-related use cases.

We also wrote a tutorial on searching across Amazon Inc’s various Investor Relations assets such as their 10K (pdf) Webcast (audio) and 5K (excel): https://learn.mixpeek.com/automated-stock-analysis/

Build Your Own Search Application

  1. Register an API key for free
  2. Read the Docs
  3. Build, build, build and contact us for help