7

Useful Frameworks, Libraries, and APIs

As you might expect, Python is the most popular programming language for building intelligent AI applications. This is due to its flexibility and ease of use, as well as for its vast number of AI and machine learning (ML) libraries. Python has a specialized library for nearly all the necessary tasks required to build a generative AI (GenAI) application.

In Chapter 1, Getting Started with Generative AI, you read about the GenAI stack and the evolution of AI. Like the AI landscape, the Python library and framework space also went through an evolution phase. Earlier, libraries such as pandas, NumPy, and polars were used for data cleanup and transformation work, while PyTorch, TensorFlow, and scikit-learn ...

Get Building AI Intensive Python Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.