Skip to content

Getting Started with Gemini

Category Everyday AI (ChatGPT, Gemini, Grok, n8n)
Status ๐ŸŸก Partially completed
Repo nextwork-getting-started-with-gemini
Original NextWork guide nextwork.ai

Learning project

Practice work following a NextWork guide, separate from my production projects.

๐Ÿ“š NextWork learning project. This is a practice project I built while working through NextWork's Getting Started with Gemini guide. It is part of my Learning portfolio and is fully separate from my production projects.

Category: Learning โ€บ Everyday AI (ChatGPT, Gemini, Grok, n8n)
Status: ๐ŸŸก Partially completed

Overview

Changing one design decision per follow-up makes it clear what each prompt did. I tried that with a made-up pottery studio poster and rendered every version so I could compare what the model claimed against what it drew.

Summary

Asked a local chat stand-in for a poster for a made-up pottery studio as SVG, then two follow-ups that each changed one thing (colours, then headline size and a price badge), a comparison of the three versions, and Facebook and Instagram captions. All three versions were rendered in headless Chrome (docs/renders/). Partial: there's no Gemini image model, and the renders show the model didn't do what it said: version 2 kept the same yellow, the 'pot' is a labelled rectangle, and text runs off the canvas.

The checks behind this are in docs/verification.txt.

Skills & tools

Prompt engineering, Iterative prompting, Python, Local LLMs (Ollama)

What I built

  • chat.py: a small local stand-in for the vendor's chat app. It has saved conversations you can rename, list and reopen, custom instructions, a memory file read by every new chat, and artifacts saved as files. It runs on qwen2.5:3b through Ollama. test_chat.py covers it offline.
  • session.json: my own prompts for a made-up person (none copied from the guide), run with python chat.py run session.json, which writes docs/transcript.md.
  • docs/transcript.md: the poster brief, three versions, the comparison and the captions.
  • docs/artifacts/: the three SVGs.
  • docs/renders/: each SVG rendered in headless Chrome, plus versions.png side by side.
  • docs/review.md: my review of how the run went, including what the model got wrong.

How to run

# needs Ollama with qwen2.5:3b
python chat.py run session.json      # replays my prompts, writes docs/transcript.md
python chat.py list | python chat.py show <id>
python -m pytest -q test_chat.py

Verification

I ran the verification command on 2026-12-03. The full output is in docs/verification.txt.

/workspace/nextwork-portfolio/.venv/bin/python -m pytest -q -p no:cacheprovider test_chat.py && test -s docs/transcript.md && test -s docs/renders/versions.png && echo CHAT OK

What isn't done, and why

This doesn't use Gemini image generation or its account: the app is a local stand-in and the model is qwen2.5:3b, which is much weaker than the vendor's model. Features that only exist in the vendor's product aren't reproduced. A text model writing SVG is a much weaker stand-in for an image generator; there's no photo-style image and nothing was downloaded from Gemini.


Original project: https://nextwork.ai/projects/990c1a74-8678-4a00-98b6-b2f9ca9bb705 ยท Part of my NextWork Learning portfolio (hub).

Verification output

From docs/verification.txt:

$ /workspace/nextwork-portfolio/.venv/bin/python -m pytest -q -p no:cacheprovider test_chat.py && test -s docs/transcript.md && test -s docs/renders/versions.png && echo CHAT OK

...                                                                      [100%]
3 passed in 0.01s
CHAT OK

[exit code 0]