Sampling
Your MCP server's research tool has gathered a stack of Wikipedia articles. To turn that raw text into a polished summary it needs a language model — but you'd prefer the server not hold its own API key or pay for tokens.
What does sampling let your server do?
Este ejercicio forma parte del curso
Model Context Protocol: Advanced Topics
ejercicio interactivo práctico
Convierte la teoría en práctica con uno de nuestros ejercicios interactivos
Empezar ejercicio