Back to projects

Machine learning · Full-stack

PokéPal.

Nine answers, 151 Pokémon, and a match you can understand. An explainable recommendation engine using local MiniLM embeddings and weighted personality features to find your Kanto counterpart.

PokéPal Pokédex-style personality match interface
PRODUCT VIEW / POKÉPAL

THE OVERVIEW

What’s the idea?

PokéPal ranks all 151 original Kanto Pokémon from nine free-text answers. The Pokédex-inspired interface presents a personalized explanation, a compatibility index, and two alternative matches.

  • Python
  • FastAPI
  • MiniLM
  • ONNX Runtime
  • NumPy
  • Next.js
  • React
  • Tailwind CSS
  • PokéAPI
01 / THE QUESTION

The problem.

How can nine natural-language answers produce a personal Pokémon match with a clear, traceable explanation?

02 / THE RESPONSE

The approach.

A FastAPI backend runs pretrained-model inference locally on the CPU with MiniLM sentence embeddings and ONNX Runtime. Semantic ranking combines similarity, 11 interpretable personality dimensions, and weighted environmental and elemental preferences.

INSIDE THE BUILD

Details that matter.

01

Semantic understanding

Pretrained sentence embeddings interpret natural-language answers beyond exact keyword matches.

02

Weighted matching

Personality, problem-solving, and behavior carry more weight, while music and favorite color have limited influence.

03

All 151 candidates

Distinct profiles separate documented Pokémon characteristics from subjective personality interpretations. Independent human-reviewed match accuracy has not yet been measured.

04

Explainable results

Deterministic templates connect meaningful user answers to the selected profile, explaining the match alongside a compatibility index and two alternatives.

05

Efficient CPU inference

The model loads once and candidate embeddings are precomputed. Local diagnostics measured approximately 62 ms average CPU inference, excluding network time.

06

Reliable responses

Input validation, deterministic ranking, concurrent-request tests, and local display-data fallbacks support reliable results when PokéAPI fails.

TECHNICAL FLOW / A HIGH-LEVEL VIEW

  1. 01

    Nine free-text answers

  2. 02

    MiniLM & ONNX Runtime

  3. 03

    Weighted semantic ranking

  4. 04

    Explained Pokémon matches

KEEP EXPLORING / NEXT PROJECT

Personal Portfolio