Share E-Book

Programming Large Language Models with Azure Open AI Conversational programming and prompt engineering with LLMs (Francesco Esposito)(Z-Library)

Author

Rating No ratings yet

Log in to rate

Programming
Language English

Use LLMs to build better business software applications Autonomously communicate with users and optimize business tasks with applications built to make the interaction between humans and computers smooth and natural. Artificial Intelligence expert Francesco Esposito illustrates several scenarios for which a LLM is effective: crafting sophisticated business solutions, shortening the gap between humans and software-equipped machines, and building powerful reasoning engines. Insight into prompting and conversational programming―with specific techniques for patterns and frameworks―unlock how natural language can also lead to a new, advanced approach to coding. Concrete end-to-end demonstrations (featuring Python and ASP.NET Core) showcase versatile patterns of interaction between existing processes, APIs, data, and human input. Artificial Intelligence expert Francesco Esposito helps you: Understand the history of large language models and conversational programming Apply prompting as a new way of coding Learn core prompting techniques and fundamental use-cases Engineer advanced prompts, including connecting LLMs to data and function calling to build reasoning engines Use natural language in code to define workflows and orchestrate existing APIs Master external LLM frameworks Evaluate responsible AI security, privacy, and accuracy concerns Explore the AI regulatory landscape Build and implement a personal assistant Apply a retrieval augmented generation (RAG) pattern to formulate responses based on a knowledge base Construct a conversational user interface For IT Professionals and Consultants For software professionals, architects, lead developers, programmers, and Machine Learning enthusiasts For anyone else interested in natural language processing or real-world applications of human-like language in software

Format EPUB
Size 26.2 MB
9
Views

AI Guide

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Full assistant
AI guide
【One-Line Pitch】 A practical field guide for software professionals who want to move beyond chatting with LLMs and start programming them into real business applications—covering prompting as a coding discipline, orchestration frameworks, RAG, security, and end-to-end demos in Python and ASP.NET Core. 【Book Arc】 - **Opening (~0%–10%)**: Orients you to the book's purpose and structure—why LLMs represent a paradigm shift in human–computer communication, who the book is for, and how the three-part organization (concepts → patterns/frameworks → hands-on demos) fits together. - **Early (~10%–35%)**: Builds the conceptual foundation—the history of NLP and AI, the distinction between predictive and generative AI, how LLMs actually work (embeddings, transformers, training/inference), and the business use cases where they genuinely fit. - **Middle (~35%–55%)**: Moves into prompting as a new form of coding—zero-shot, few-shot, and chain-of-thought techniques, plus fundamental use cases like chatbots and the limitations you must design around. - **Late (~55%–75%)**: Escalates to advanced engineering—fine-tuning, function calling, embeddings and vector stores, retrieval augmented generation (RAG), and orchestration frameworks (LangChain, Semantic Kernel, Guidance) for connecting LLMs to data and APIs. - **Late (~75%–85%)**: Confronts the non-negotiable concerns—responsible AI, red teaming, hallucination, bias, security, privacy, evaluation, and content filtering—so you can ship responsibly. - **Ending (~85%–100%)**: Delivers three progressively complex end-to-end projects: an email-reply assistant, a "chat with your data" RAG application, and a hotel-booking chatbot with a conversational UI—plus an appendix on LLM internals. 【Key Takeaways】 - **Prompting is a structured coding discipline, not ad-hoc chatting** (Middle): The book treats prompt engineering as a learnable skill with repeatable techniques—zero-shot, few-shot, and chain-of-thought—that you apply deliberately rather than improvise. - **LLMs are best understood as advanced autocomplete that simulates reasoning** (Early): Knowing they predict the next token—yet produce coherent, contextually relevant output—helps you calibrate expectations and design prompts that steer that prediction productively. - **Generative AI is a distinct paradigm from predictive AI** (Early): LLMs add content generation on top of classification and prediction, which is precisely what opens the door to new application categories rather than just better analytics. - **Connecting LLMs to your own data is where business value concentrates** (Late): Embeddings, vector stores, and RAG let responses be grounded in a knowledge base instead of relying solely on pretrained knowledge—essential for accuracy and relevance. - **Function calling turns LLMs into reasoning engines that orchestrate existing APIs** (Late): Rather than replacing your systems, the LLM can interpret natural-language intent and invoke the right functions, workflows, and data sources you already have. - **Orchestration frameworks are the glue for production applications** (Late): LangChain, Semantic Kernel, and Guidance each address the need to coordinate models, prompts, data connections, and agents—understanding their concepts matters more than memorizing any one API. - **Responsible AI is an engineering requirement, not an afterthought** (Late): Hallucination, bias, security, privacy, and evaluation must be designed in from the start, alongside awareness of the emerging regulatory landscape. - **Conversational interfaces can replace rigid form-based UX** (Ending): The hotel-booking demo shows a chatbot gathering dates, preferences, and budget through natural dialogue and acting on system state—no fixed input controls required. 【Reading Tips】 - **Skim the history in Chapter 1 if you already know NLP/transformer basics**; slow down at "business use cases" and "facts of conversational programming," which frame everything that follows. - **Deep-read Chapters 2–3 and 5**: prompting techniques, RAG/function calling, and the security/responsible-AI chapter carry the most transferable, decision-shaping content. - **Treat the framework chapter as conceptual, not reference**: the author explicitly says the book is not a programming reference for LangChain, Semantic Kernel, or the OpenAI APIs—grasp the patterns, then consult docs. - **Work the three demos in order** (email reply → RAG chat → hotel booking); they are designed to escalate in complexity, and the GitHub notebooks/samples are the real payoff. - **Keep the appendix handy** if you want the mathematical/architectural detail on LLM internals that the main chapters deliberately defer. 【Coverage Limits】 This guide is synthesized from stratified excerpts covering the front matter, table of contents, introduction, and early conceptual chapters; the excerpts do not cover the detailed content of the prompting, framework, security, or demo chapters, so takeaways there reflect the book's stated scope rather than chapter-level detail.

Passage locations

Excerpt 1
lse interested in natural language processing or real-world applications of human-like language in software Cover Page Title Page Programming Large Language...
View in text
Excerpt 2
sting me so much. This book is my best until the next one! Introduction Introduction T his is my third book on artificial intelligence (AI), and the first I...
View in text
Excerpt 3
t software or hardware, go to http://support.microsoft.com . Stay in touch Let’s keep the conversation going! We’re on X / Twitter: http://twitter.com/Micros...
View in text
Excerpt 4
ral network architectures (the same used for predictive AI). The concept of generative models dates to the 1990s, but the breakthrough came with the introduc...
View in text

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
← Back to List