Service · Generative AI
Add OpenAI & LLM features to your existing product
You don't need to rebuild your app to add AI features. I integrate the OpenAI API — and self-hosted models with Ollama where they make sense — into existing Node.js and Python backends, with the production details handled: streaming, error recovery, rate limits and predictable cost.
What I build
- Natural-language search and querying over your own product data.
- Summaries and drafts generated from records, documents or activity.
- Streaming responses so the UI feels fast while the model is still generating.
- Retry and fallback logic for API errors and rate limits.
- Per-request cost tracking, so usage and spend stay predictable.
- Self-hosted models with Ollama for workloads where per-call cost or data location matters.
How I approach it
- Pick one feature with a clear user benefit, and define what a good answer looks like.
- Prototype the prompts against real (anonymized) data before building UI.
- Ship behind your existing backend, with logging, cost tracking and a fallback when the model fails.
- Iterate on prompts and models using what real usage shows.
Relevant work
LLM features in an inventory product
Added natural-language querying and summarization on top of an existing inventory product without rearchitecting it. Implemented streaming responses, retry and fallback logic for API errors and rate limits, and per-request cost tracking — and evaluated self-hosted models with Ollama for lower-sensitivity workloads to reduce per-call cost.
Stack
- OpenAI API
- Ollama
- Node.js
- TypeScript
- Python
- FastAPI
- Prompt engineering
- Streaming
- AWS Lambda
FAQ
Do we need to rearchitect our app?
No. AI features are added as new endpoints or services next to your existing backend, so the rest of the product stays as it is.
How do you keep costs under control?
By tracking cost per request from day one, choosing the smallest model that does the job, and caching or batching where the feature allows it.
What if we can't send data to OpenAI?
Self-hosted models run with Ollama on your own infrastructure are an option; we'd compare quality and cost on your actual use case before committing.
Related services
- Python FastAPI backends — Typed FastAPI REST APIs over MySQL/PostgreSQL, with business rules on the server — plus React frontends when needed.
- Node.js & TypeScript backends — REST APIs, data layers, auth and jobs in Node.js/TypeScript — for product teams and as a backend contractor for agencies.
- API integrations (QuickBooks, EDI) — QuickBooks, EDI and other third-party APIs connected reliably — webhooks, sync jobs, retries and clear logs.
Tell me what you're building
Send a few lines about the project — what exists today, what you need, and any deadline. I reply within one business day.