← All case studies
RAGRetail & Media[RE]DESIGN · 2024

Nora AI

Goal-based book recommendation assistant on self-hosted Llama 3 8B with Qdrant retrieval.

~$0marginal cost vs $10k/mo on APIs

Context

Readers wanted to describe a goal (“I want to get better at negotiating”) and get a short, reasoned reading list, not a keyword search.

Challenge

Commercial-API pricing for the projected traffic came to roughly $10,000 a month, which the product could not support.

My role

Designed and built the assistant and made the call to self-host after sizing the workload.

Architecture

How the system fits together

Nora AI architecture diagramOn-prem GPU · A6000Readergoal in plain wordsChat APIsession · promptsEmbedderquery vectorQdrantcatalogue indexLlama 3 8BOllama runtimeReading listwith reasonstop-k
User / outputServiceModel / AIData storeTelemetry / async

Simplified for public sharing; client-specific details are omitted.

Approach

Key engineering decisions

  1. 01

    Retrieval does the heavy lifting

    A Qdrant index over the catalogue returns strong candidates, so the model mainly ranks and explains them, which is a task an 8B model handles well.

  2. 02

    Self-hosted inference

    Llama 3 8B runs under Ollama on A6000 GPUs. Steady, predictable traffic keeps the reserved hardware busy.

  3. 03

    Narrow domain, tight prompts

    Prompts constrain answers to retrieved titles, which keeps recommendations grounded and avoids invented books.