Members-Only
Recent Talks & Demos are for members only
You must be an AI Tinkerers active member to view these talks and demos.
OpenAI Assistants: JSON and Tools
Explore OpenAI Assistants API: configuration, JSON output strategies, threads/runs, and a live NextJS demo with function calls and vector store integration.
Assistants are a new (beta) part of OpenAI’s API. They are powerful but also have some interesting quirks. In this talk, I’ll start with the basics of configuring an Assistant in the Playground. Next I will show a few different ways of getting assistants to respond with JSON output, including workarounds for current limitations when using function calling or file search/vector store. Then we’ll get into working via the API - understanding concepts like threads, runs and the various flows needed to programmatically engage with Assistants. I’ll conclude by discussing our observations about accuracy, consistency and cost.
Code that I will demo includes a NextJS app + API that uses the node OpenAI API library to lookup company information via an assistant and return it in JSON format. It then uses this information to query another assistant that has access to a vector store database (single json file) + file search to recommend projects that would be appropriate for the company based on the files in the database. Then it uses the same assistant to allow for creating a custom project brief.
If there’s time, I will also briefly show PHP code that uses a more complex tool calling flow.
Google Slides: a JavaScript web application leveraging Closure Library for presentations.
- OpenAI APIOpenAI API: Your direct gateway to cutting-edge AI models (GPT-4o, DALL-E 3, Whisper), enabling scalable, multimodal intelligence integration into any application.The OpenAI API provides authenticated, programmatic access to a powerful suite of generative AI models. Developers leverage REST endpoints and official libraries (Python, Node.js) to integrate capabilities like advanced text generation (GPT-4o), image creation (DALL-E 3), and speech-to-text transcription (Whisper). This platform is engineered for scale, supporting millions of daily requests for tasks from complex reasoning to real-time customer support agents, ensuring your application gets reliable, state-of-the-art intelligence.
- NextNext.js is the full-stack React framework: it delivers high-performance web applications via hybrid rendering and powerful, Rust-based tooling.This is the React Framework for production: Next.js enables you to build full-stack web applications with zero configuration and maximum efficiency. It supports a hybrid rendering approach (Server-Side Rendering, Static Site Generation, and Incremental Static Regeneration) for optimal speed and SEO performance. Key features include React Server Components, Server Actions for running server code directly, and the App Router for advanced routing and nested layouts. Developed by Vercel, it leverages Rust-based tools like Turbopack and the Speedy Web Compiler for the fastest possible builds and a superior developer experience.
- OpenAIOpenAI is an AI research and deployment company: We build safe artificial general intelligence (AGI) to benefit all of humanity.OpenAI is a premier AI research and deployment company, focused on developing safe Artificial General Intelligence (AGI) for global benefit. The organization operates under a unique structure: a non-profit Foundation governs a for-profit Group, which functions as a public benefit corporation. Its technology portfolio includes industry-defining models like the GPT series (e.g., GPT-4o, GPT-5.1), the conversational platform ChatGPT, and the text-to-video model Sora. These tools drive innovation across multiple sectors, providing powerful, accessible AI capabilities for developers, businesses, and consumers worldwide.
- PHPPHP is the open-source, server-side scripting language (Hypertext Preprocessor) driving dynamic web content: it is the core engine for platforms like WordPress and Drupal.PHP (Hypertext Preprocessor) is a powerful, open-source, server-side scripting language built specifically for web development: it handles everything from database integration (MySQL, PostgreSQL) to session management. Its ubiquity is undeniable, serving as the foundational technology for major Content Management Systems (CMS) like WordPress and Drupal. The language runs on the Zend Engine, and recent releases, specifically the PHP 8.x series, introduced significant performance gains, including Just-In-Time (JIT) compilation, cementing its status as a fast, reliable, and continuously evolving platform for building modern, high-traffic web applications.
Related projects
AI Fundamentals and Best Practices
Boston
An overview of AI fundamentals, practical tips for using ChatGPT and Co‑Pilot, and real‑world examples to help beginners…
Okta Ventures: Supporting the Builder Community
San Francisco
Explore how Okta provides startup builders access to its identity platform, partnership pathways, capital, technical guidance, and business…
Drop-in OpenAI Assistants Replacement
Boston
Learn how to replace the OpenAI Assistants API with a compatible library that supports non‑OpenAI LLMs, multilingual embeddings,…
AI APIs and Output Wrangling
Atlanta
This talk explores best practices for interacting with AI APIs, covering prompt design, idempotence, schema management, error detection,…
Baseten
New York City
Learn how to deploy and scale custom ML models using Baseten’s inference layer, covering SOC 2 compliance, self‑hosting options,…
Candy Mountain: Building the Agentic Office
Boston
Learn how to construct a cloud‑based digital office using SQLite, Docker, and AI agents, with a conversational director…