Understanding AI SDKs: Why streamText is Superior to generateText for AI Chatbots and When to Use Each