GenAI · Content generation
AI content generation platform
An internal product in development: AI features that turn a brief into generated marketing content, grounded in retrieved context.
Internal product / in developmentContent-generation features inside an internal product. Not presented as finished or commercialised.
Brief
Announce a new feature to existing customers. Friendly, concise, one clear call to action.
Context retrieved
- brand-voice
- product-notes
- past-campaigns
Draft
Generating
- FastAPI
- RAG / LLM
- Store
- AI services
- Output
The problem
Generic prompting produces generic content. Useful output needs the right context retrieved and applied consistently, behind a dependable API.
Context
An internal content-generation product, still in development, where a person describes what they need and receives a draft they can review.
My role
I designed and built the generation pipeline: the FastAPI service, retrieval-augmented prompting, persistence, and the extra AI processing applied before a draft is returned.
What I built
Built features
- 01Brief intake through a typed API
- 02Context retrieval before generation
- 03Language-model draft grounded in that context
- 04Persistence of application data and results
- 05Post-processing of the generated material
Design decisions
- Retrieve relevant context before calling the language model, instead of sending a bare prompt.
- Coordinate every step behind one FastAPI service so the flow is explicit and repeatable.
- Persist application data, retrieved context and results in Supabase and MongoDB.
- Run additional AI processing on the draft before it is returned, so the caller gets a finished artefact.
- 01A FastAPI service receives each request and coordinates the pipeline.
- 02Retrieval-augmented generation supplies the language model with relevant context.
- 03Supabase and MongoDB persist application data and results.
- 04Further AI services process the output before it is returned.
Outcome
Content-generation features are integrated into an internal product that is still in development. This is not presented as a finished or commercialised product.
Architecture
How AI content generation platform fits together.
Each step, in order. Select a node to see what it is responsible for.
A user describes the content they need.
API layer that receives requests and coordinates each step of generation.
- Python
- FastAPI
Retrieves relevant context and prompts a language model with it.
- RAG
- LLM
Persists application data, context and generated results.
- Supabase
- MongoDB
Additional AI services applied to the generated material.
Finished content returned to the user.
Stack
- Python
- FastAPI
- RAG
- LLMs
- Supabase
- MongoDB
Next project
Authentication log analytics
An end-of-studies project: a data pipeline and dashboards that turn raw authentication logs into searchable events and reporting views.