liveBook · Manning

Notion

As explained in Investing for Programmers

Notion is a collaborative workspace application for organizing notes, documents, databases, and project information.

Notion centralizes scattered LLM prompts and answers in a structured journal. Pages can hold topic-specific research, while tags and properties support filtering and sorting. section 9.2.2 section 9.0

A Python workflow can:

  • Create a page in a database using a title property and database identifier. section 9.2.2
  • Send page content through REST requests, validate status codes, and retain the returned page ID. section 9.2.2
  • Write prompts and answers as paragraph blocks, splitting long text into chunks before submission. section 9.2.2
  • Generate repeatable titles containing a ticker, date, prompt identifier, and LLM name. section 9.2.2

Exporting an investment-research response

A workflow creates a page such as INVZ-2024_01_15-prompt42-OPENAI, writes the prompt, appends the answer, and stores the resulting page identifier for later use. section 9.2.2

Figure 9.2 A Notion journal with some reference entries. You can use Notion as a unified storage for all responses from multiple LLMs.
figure

A journal view makes Notion’s role as unified storage visible: reference entries from multiple LLMs remain organized in one searchable workspace. section 9.2.2

How Investing for Programmers covers it

How deep it goes
Demonstrates page creation, REST requests, identifiers, block writing, status checks, and chunking through Python functions.
Examples
Uses investment-research journals, reference entries, generated prompt titles, database pages, and chunked paragraph content.
What it assumes
Assumes basic Python, HTTP request handling, dictionaries, and structured research workflows.
What you can do after
Build it from scratch by exporting prompts and LLM answers into identifiable, structured Notion pages.
How it connects
Connects structured research with LLMs, Python, REST APIs, databases, tags, and SQLite-backed prompt repositories.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Investing for Programmers. The section links point to the parts of the book it draws on.