Sign in

Kevin Whinnery

@kevin.mn
578 followers 129 following 14 posts

Developer Experience @ OpenAI. Previously DevRel for Twilio, Deno, Retool. www.kevin.mn

PostsRepliesMedia
Kevin Whinnery @kevin.mn · 10/03/2025
Likely unintentional- tracking g on a GitHub issue?
000
Kevin Whinnery @kevin.mn · 02/01/2025
Before the break, I updated the OpenAI Realtime API console sample app to use WebRTC (and @fastify.dev with @astro.build 🚀) - should be pretty light weight, uses just the RTCPeerConnection directly. Ask it for advice designing a color palette 🎨 github.com/openai/opena...
github.com
GitHub - openai/openai-realtime-console: React app for inspecting, building and debugging with the Realtime API
React app for inspecting, building and debugging with the Realtime API - openai/openai-realtime-console
000
Kevin Whinnery @kevin.mn · 25/12/2024
I like Christmas... but I find no fault in this plan either 💡
media.tenor.com
a black and white photo of a woman standing in front of a mirror and saying `` i mean ... '' .
ALT: a black and white photo of a woman standing in front of a mirror and saying `` i mean ... '' .
110
Kevin Whinnery @kevin.mn · 23/12/2024
First holiday TODO ✅ bare-minimum landing page at kevin.mn
kevin.mn
Kevin Whinnery
Kevin Whinnery is a software developer and developer experience expert based in Minneapolis, MN.
230
Kevin Whinnery @kevin.mn · 27/11/2024
Thanksgiving break mode engaged for middle teenager.
020
Kevin Whinnery @kevin.mn · 27/11/2024
This flow is how you can provide a model external data to use for generations, or allow a model to control any external system programmatically. Here's the full example I just showed, usable in Node or @deno.land: Code: gist.github.com/kwhinnery/a6... Docs: platform.openai.com/docs/guides/...
gist.github.com
Function calling in four acts. A simple but complete soup-to-nuts example of function calling with the OpenAI API.
Function calling in four acts. A simple but complete soup-to-nuts example of function calling with the OpenAI API. - example.js
000
Kevin Whinnery @kevin.mn · 27/11/2024
4️⃣ Finally, make another call to the model containing the previous prompts and messages we sent, plus the function call message sent by the model after the first request, and our response. Now the model can generate a response for the user!
100
Kevin Whinnery @kevin.mn · 27/11/2024
3️⃣ In this case, the model correctly decides it should call the "generate_horoscope" function. Instead of a text response, the model returns a message containing a JSON string of data that should be passed in to a function call in your code.
100
Kevin Whinnery @kevin.mn · 27/11/2024
2️⃣ Generate output from the model based on a prompt. Depending on the content of the prompt, the model may decide to call a function that you provide to it.
100
Kevin Whinnery @kevin.mn · 27/11/2024
1️⃣ Define a list of functions the model could decide to call based on a prompt. We provide only one function that expects an astrological sign in an input object.
100
Kevin Whinnery @kevin.mn · 27/11/2024
Simple (but complete) walkthrough of function calling in the OpenAI API in four acts. If you haven't tried it before, this is how you connect OAI models to external data or systems. Link to full code at the end of the 🧵
220
Kevin Whinnery @kevin.mn · 22/11/2024
Changi airport lives up to the hype - I get why people plan to go there early before flying out. I didn't have time to see the butterfly garden, but a sweet old lady gave me some katsu curry I watched her make from scratch for $8 and it was amazing.
010
Kevin Whinnery @kevin.mn · 21/11/2024
Did you know you can run evals on your prompts in the OpenAI dashboard? Here's a quick walkthrough of uploading a test data set and comparing GPT-4o model outputs to ground truth data in a test dataset. youtu.be/DtFCGsqwtGY
youtu.be
Running evals in the OpenAI dashboard
YouTube video by Kevin Whinnery
040
Kevin Whinnery @kevin.mn · 15/11/2024
By convention I always post the doggo first on a new social platform ☁️
130