Gorilla: Generating API Calls with Language Models

Matthew Berman introduces a 2023 research project on using retrieved documentation to help language models generate tool calls.

MBMatthew Berman연사 · Forward Future
채널
Matthew Berman
게시일
2023년 8월 1일
영상
2:25
읽기
2분
슬라이드
1
원문
영어
YouTube에서 열기
스크롤하면 영상이 오른쪽 아래로 작아져 계속 재생됩니다. 자막은 읽기 언어를 따릅니다.
읽기 언어2개 언어로 읽을 수 있음
이 글은 아직 한국어 번역이 없어 영어 원문으로 표시합니다.
요약

30초 요약

Matthew Berman describes Gorilla, a model from UC Berkeley and Microsoft Research trained to generate API calls. He imagines applications such as shopping and booking, and contrasts its approach with the ChatGPT plugins of 2023. The paper evaluates a defined set of machine-learning APIs and documentation changes. Generating a call does not by itself demonstrate that the system can execute arbitrary actions on any website.

  1. 1A model for tool callsBerman introduces Gorilla as a language model designed to use external tools through API calls.
  2. 2Plugins and external servicesHe contrasts the 2023 ChatGPT plugin model with the research goal of interpreting tool documentation.
  3. 3Adapting to documentationGorilla’s retriever can supply relevant API documentation; its demonstrated scope is not every possible online action.
  4. 4A bounded evaluationThe paper reports API-call comparisons on APIBench, comprising Hugging Face, TorchHub and TensorHub APIs.

핵심 정리

  1. Gorilla is a fine-tuned language model designed to generate API calls from user requests.
  2. A document retriever can supply API documentation at inference time, helping the model adapt to tested documentation changes.
  3. The paper’s APIBench uses APIs from Hugging Face, TorchHub and TensorHub, not every internet service.
  4. Berman’s shopping and travel examples are imagined applications rather than results demonstrated in this clip.
  5. The paper reports stronger API-call results than selected models in its evaluation; that does not establish universal superiority or autonomous access.
전문

챕터별로 다듬은 전문 읽기

원본 자막만 보기
01

Why tool use matters

Berman introduces Gorilla and gives examples of tasks he imagines an assistant could perform. He compares this with ChatGPT’s 2023 plugin approach.

Gorilla is a research project from UC Berkeley and Microsoft Research aimed at helping a language model generate calls to external tools. I imagine uses such as booking travel or ordering food. Those are illustrations of potential applications, not evidence that this research system can perform anything on the internet or that it has the necessary access to those services.

At the time of the video, ChatGPT plugins connected the assistant to external services through APIs. Gorilla pursues a related problem: turning a user’s request into an appropriate API call and using documentation to understand available interfaces. A generated call still needs a real integration, permissions and execution environment to perform an action.

02

Documentation and API-call evaluation

He describes adapting to new or changed tools. The paper evaluates API-call generation in a defined benchmark, not unrestricted use of every website.

An illustrated cloud command
슬라이드 1 / 1An illustrated cloud commandThe video shows a cloud-command example as an illustration of tool use; it is not evidence that every online service is available.

I find it exciting that a retriever can provide documentation at inference time, including changes to a tool’s interface. This does not mean the model automatically learns every possible tool or has unrestricted access. The paper tests its behavior on a defined set of machine-learning APIs and altered documentation, rather than demonstrating arbitrary shopping on Amazon.

The authors report that their fine-tuned LLaMA-based model performs well at generating API calls in their APIBench evaluation, including comparisons with selected general-purpose models. APIBench covers Hugging Face, TorchHub and TensorHub APIs. The code, model and demo were released with the research, but the results do not guarantee correct or safe tool use in every setting.

같은 채널의 다른 글

슬라이드 12장34:21EN
Matthew Berman· 2026년 10월 27일Matthew Berman Examines Anthropic’s IPO Filing, AI Growth and GovernanceMatthew Berman, Sam Altman · Forward FutureThe presenter reviews the S-1’s financial metrics, compute strategy and voting structure while questioning the tension between rapid AI development and safety.AnthropicAI Safety엔터프라이즈 AI+2
슬라이드 6장25:50EN
Matthew Berman· 2026년 10월 24일Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
슬라이드 2장32:20EN
Matthew Berman· 2026년 10월 23일Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1
슬라이드 6장1:03:37EN
Matthew Berman· 2026년 10월 23일Matthew Berman’s Team Tests Kimi K3.1 on Animation, Games, and ChartsMatthew Berman, Alex, Brian · Forward FutureA live team AMA turns into an informal test of Kimi K3.1, from personal-agent workflows to motion graphics, a browser game, and a benchmark chart.코딩 에이전트Generative media평가(Evals)+2
0:53EN
Matthew Berman· 2026년 10월 22일Sam Altman on AI and the Discovery of New KnowledgeSam Altman · OpenAIAltman expects progress in mathematical discovery to extend to biology, materials and energy.AI for scienceMathematicsComputational Biology+1
슬라이드0:22EN
Matthew Berman· 2026년 10월 21일A Robot Bodyguard Video Shows Dramatic Rescue ScenariosMatthew Berman · Forward FutureMatthew Berman reacts to a short robot demonstration depicting fighting and vehicle-rescue scenarios.Robotics평가(Evals)