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 exercicio faz parte do curso
Model Context Protocol: Advanced Topics
exercicio interativo prático
Transforme teoria em prática com um dos nossos exercicio interativos
Iniciar exercicio