Introducing function calling and structured output for open-source and fine-tuned LLMs
Sep 12, 2024

Summary
This post introduces built-in support for function calling and structured output (JSON mode) within Baseten's TensorRT-LLM Engine Builder. This feature operates at the model server level, using logit biasing within NVIDIA's Triton inference server to enforce output schemas and tool selection during inference. The implementation guarantees 100% output structure with negligible marginal latency, addressing the challenge of integrating unstructured LLM output with structured application requirements. The functionality is available for all LLMs deployed via the Engine Builder and matches OpenAI API specifications.
More from the Baseten AI Model Deployment and Serving Platform trail
- LangChain trains custom models for LangSmith Engine with Baseten Loops
- DeepSeek-V4.1-Flash: more efficient prefill for coding agents
- Blaxel is joining Baseten to build the future of agentic infrastructure
- How Baseten makes pyannote’s diarization models 9.6x faster
- Optimizing delta weight syncs for managed rollouts