¿Qué hace ai-sdk?
Responde preguntas sobre el SDK de IA y ayuda a construir funciones potenciadas por IA. Útil cuando los desarrolladores: (1) preguntan sobre funciones del SDK de IA como generateText, streamText, ToolLoopAgent, embed o herramientas, (2) quieren construir agentes de IA, chatbots, sistemas RAG o funciones de generación de texto, (3) tienen preguntas sobre proveedores de IA (OpenAI, Anthropic, Google, etc.), streaming, llamadas a herramientas, salidas estructuradas o embeddings, (4) usan hooks de React como useChat o useCompletion. Se activa con: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".