Zum Inhalt springen
_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
Referenzen Technologien Blog Know-how Tools
Über uns Zusammenarbeit Karriere
CS EN DE
Lassen Sie uns sprechen

Function calling a tool use — LLM jako orchestrátor reálného světa

10. 04. 2024 1 Min. Lesezeit CORE SYSTEMSai
Function calling a tool use — LLM jako orchestrátor reálného světa

LLM generuje text. S function calling generuje akce. Model zavolá calendar API s parametry. Žádný parsing, strukturovaný output přímo od modelu.

Jak funguje

Definujete tools jako JSON schema. Model vrátí structured function call s argumenty. Aplikace vykoná, výsledek vrátí modelu.

Design principles

  • Jasné popisy: Model rozhoduje na základě description
  • Atomické funkce: Jedna tool = jedna akce
  • Validace vstupů: Nikdy nedůvěřujte parametrům bez validace
  • Idempotence: Dvojité zavolání nesmí způsobit problém

Security

Prompt injection může způsobit neautorizované API calls. Confirmation step pro destruktivní akce, allow-list, rate limiting.

Produkce

Tool-use agent pro helpdesk: 8 tools. Po 3 měsících: 60% ticketů vyřešeno bez lidského zásahu.

Function calling je bridge mezi AI a akcí

Investujte do tool designu jako do API designu — je to stejně důležité.

function callingtool useai agentsapi
Teilen:

CORE SYSTEMS

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.

Brauchen Sie Hilfe bei der Implementierung?

Unsere Experten helfen Ihnen bei Design, Implementierung und Betrieb. Von der Architektur bis zur Produktion.

Kontaktieren Sie uns