What is your argument against function calling as the standard API interface for AI decisions?

Diogo Almeida
Replied byDiogo Almeida

Co-Founder & CEO at TypeSafe AI

Niche: AI
Revenue: Pre-revenue/month
Location: San Francisco, California, USA
Started: 2024

Function calling is a deeply antipattern interface for AI decisions. One very simple ask I always had was that for any function call you should get a calibrated probability for each option. Without that, the only way to control refusal thresholds, routing thresholds, or decision confidence is through begging in a system prompt. That is an insane interface for software engineers. Our three primitives, noul for boolean decisions, choice for structured selection like a switch statement on an enum, and score for sorting or thresholding, map directly to programming primitives. They are not new names for existing types. They are new concepts that give software engineers the ability to actually control and measure AI behavior programmatically.

0
From the Full Interview

This answer is part of a full interview with Diogo Almeida, Co-Founder & CEO at TypeSafe AI.

Share this Answer

Found this insight valuable? Share it with your network to help others learn from Diogo Almeida's experience.

Cite This Answer

Use this answer in your research, article, or academic work