Digital Library
Mastering Spring AI. The Java Developers Guide 2024 (Parasuraman B.)(Z-Library)
Mastering Spring AI. The Java Developers Guide 2024 (Parasuraman B.)(Z-Library)
java
No Description
13
Views
0
Downloads
0.00
Total Donations
Registered users can read the full content for free
Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.
Page
1
Mastering Spring AI The Java Developer’s Guide for Large Language Models and Generative AI — Banu Parasuraman
Page
2
Mastering Spring AI The Java Developer’s Guide for Large Language Models and Generative AI Banu Parasuraman
Page
3
Mastering Spring AI: The Java Developer’s Guide for Large Language Models and Generative AI ISBN-13 (pbk): 979-8-8688-1000-8 ISBN-13 (electronic): 979-8-8688-1001-5 https://doi.org/10.1007/979-8-8688-1001-5 Copyright © 2024 by Banu Parasuraman This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Managing Director, Apress Media LLC: Welmoed Spahr Acquisitions Editor: Melissa Duffy Development Editor: Laura Berendson Coordinating Editor: Gryffin Winkler Cover designed by eStudioCalamar Cover image by chandlervid85 on Freepik (freepik.com) Distributed to the book trade worldwide by Apress Media, LLC, 1 New York Plaza, New York, NY 10004, U.S.A. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation. For information on translations, please e-mail booktranslations@springernature.com; for reprint, paperback, or audio rights, please e-mail bookpermissions@springernature.com. Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales web page at http://www.apress.com/bulk-sales. Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub (https://github.com/Apress). For more detailed information, please visit https://www.apress.com/gp/services/source-code. If disposing of this product, please recycle the paper Banu Parasuraman Frisco, TX, USA
Page
4
To my beloved wife, Vijaya Anirudhran, whose unwavering support and love have been my anchor through every journey. And to my wonderful children, Pooja Anirudhran and Deepika Anirudhran, who inspire me every day with their curiosity, resilience, and boundless potential. This book is a testament to the love and strength of our family.
Page
5
v About the Author xi About the Technical Reviewers xiii Acknowledgments xv Chapter 1: Introduction to Generative AI and Large Language Models (LLMs) 1 1.1 Understanding the Basics of Artificial Intelligence .........................................2 1.2 The Journey from Traditional Machine Learning to Generative AI ...................6 1.3 Exploring Large Language Models: A Paradigm Shift in AI .............................8 1.4 Overview of Prominent LLMs: GPT, BERT, and Beyond ..................................11 1.5 Real-World Applications and Impact of LLMs ...............................................18 1.6 Ethical Considerations and Challenges in the Use of LLMs ..........................22 1.7 Future Trends and Potential Developments in LLM Technology ....................28 1.8 How Can Spring AI Contribute .......................................................................32 1.9 Conclusion ....................................................................................................34 Chapter 2: Exploring Springio, Spring Components for GenAI: The Developer’s Backbone 35 2.1 Introduction to Spring.io ...............................................................................36 2.2 Data Management for AI with Spring Data ....................................................38 2.2.1 Let’s Code .............................................................................................41 2.3 Reactive Programming with Spring WebFlux for AI Streams ........................49 2.3.1 Let’s Code .............................................................................................52 Table of Contents
Page
6
vi 2.4 Spring Security for GenAI Applications .........................................................60 2.4.1 Let’s Code .............................................................................................60 2.5 Spring Cloud for AI Microservices .................................................................63 2.5.1 Let’s Code .............................................................................................66 2.6 Integrating LLMs with Spring Applications ...................................................71 2.7 Deploying and Scaling AI Services with Spring ............................................76 2.8 Conclusion: Spring—A Solid Foundation for the Future ...............................80 Chapter 3: Spring AI and LLMs 81 3.1 Introduction to Spring AI ...............................................................................82 3.2 Headfirst into Spring AI .................................................................................83 3.2.1 A Simple “Hello World” Application with Spring AI ...............................84 3.2.2 Simple Image Generation .....................................................................92 3.2.3 Audio Transcription ...............................................................................96 3.2.4 Prompting with Spring AI ......................................................................99 3.3 Practical Value of Spring AI in Prompt Engineering ....................................109 3.4 Chapter Summary .......................................................................................111 Chapter 4: Spring AI and RAG (Retrieval-Augmented Generation) 115 4.1 Introduction .................................................................................................115 4.2 Token Limits and Context Windows in LLMs ...............................................117 4.2.1 Understanding Tokens and Context Windows .....................................118 4.2.2 Key Differences Between Token Limits and Context Windows ...........119 4.3 What Is Retrieval-Augmented Generation or RAG? .....................................120 4.3.1 Introduction ........................................................................................120 4.3.2 Detailed Overview of Naive RAG, Advanced RAG, and Modular RAG .......................................................................................122 4.4 RAG in the Context of Private Data (Enterprise Context) .............................128 4.4.1 Benefits of RAG in Enterprise Context ................................................128 Table of ConTenTs
Page
7
vii 4.4.2 Challenges in Deploying RAG..............................................................131 4.4.3 Mitigation Strategies ..........................................................................134 4.5 RAG Pipelines ..............................................................................................136 4.5.1 What Is a RAG Pipeline? .....................................................................136 4.5.2 RAG Pipelines: From Simple to Complex ............................................138 4.6 RAG with Spring AI ......................................................................................142 4.6.1 Introduction ........................................................................................142 4.6.2 Let’s Code ...........................................................................................144 4.7 Ingesting Structured Data with Spring AI ....................................................172 4.7.1 Introduction ........................................................................................172 4.7.2 Let’s Code ...........................................................................................173 4.8 Conclusion ..................................................................................................178 Chapter 5: Conversational AI with Spring AI 181 5.1 Introduction .................................................................................................181 5.2 Prompting Types in Conversational AI .........................................................183 5.2.1 Types of Prompting in Conversational AI ............................................183 5.2.2 Benefits of Using Various Prompting Types ........................................194 5.3 Implementing a Simple Conversation AI with Spring AI ..............................195 5.3.1 Let’s Code ...........................................................................................196 5.4 Enabling Conversational History .................................................................202 5.4.1 Let’s Code ...........................................................................................202 5.5 Chain of Thought Prompting .......................................................................213 5.5.1 What Is Chain of Thought (CoT) Prompting? .......................................214 5.5.2 Benefits of CoT Prompting in Conversational AI .................................215 5.5.3 Examples and Scenarios Where CoT Prompting Enhances Interactions .........................................................................................216 5.5.4 Conclusion ..........................................................................................219 5.5.5 Let’s Code ...........................................................................................219 Table of ConTenTs
Page
8
viii 5.6 ReACT Prompting ........................................................................................233 5.6.1 What Is ReACT Prompting? .................................................................233 5.6.2 The Mechanism Behind ReACT ...........................................................233 5.6.3 Benefits of ReACT Prompting .............................................................234 5.6.4 Practical Applications for Programmers .............................................234 5.6.5 Let’s code ...........................................................................................235 5.7 Conclusion ..................................................................................................248 Chapter 6: Function Calling with Spring AI 251 6.1 Introduction .................................................................................................251 6.2 The Concept of Function Calling in AI Models .............................................252 6.2.1 Function Calling Illustrated .................................................................257 6.3 How Spring AI Implements and Facilitates Function Calling .......................260 6.4 Implementing a Spring AI Function Call Application ...................................262 6.4.1 Use Case: Facilities Management .......................................................262 Chapter 7: Productionizing Spring AI 291 7.1 Introduction .................................................................................................291 7.2 AI Governance .............................................................................................294 7.2.1 Common Regulatory Themes .............................................................295 7.2.2 Action Plan for the Enterprise .............................................................296 7.2.3 Regulations Across the Globe .............................................................301 7.3 LLM Ops ......................................................................................................301 7.3.1 What Is LLMOps ..................................................................................302 7.3.2 LLMOps vs. MLOps .............................................................................302 7.3.3 Metrics to Consider When Working with LLMs ...................................308 7.3.4 Tools for LLMOps ................................................................................311 7.4 Prompt Governance (Testing and Evaluation) .............................................315 7.4.1 Prompt Governance in Spring AI .........................................................316 Table of ConTenTs
Page
9
ix 7.4.2 Let’s Code ...........................................................................................318 7.5 Scaling Spring AI .........................................................................................334 7.6 Security in Spring AI ....................................................................................338 7.7 Performance Optimization in Spring AI .......................................................344 7.8 Let’s Code (Scaling, Security, and Performance) ........................................349 Chapter 8: Use Cases 357 8.1 Introduction .................................................................................................357 8.2 Conversational AI As a Singular Interface for Your Enterprise Applications .................................................................................................359 8.2.1 An LLM That Is Multimodal .................................................................361 8.2.2 Conversational AI with History (As Described in Chapter 5) ...............362 8.2.3 Integrations with Systems Through Function Calling (As Described in Chapter 6) ................................................................363 8.2.4 JavaScript or Other UI Generating Tools .............................................364 8.3 Enhanced Decision Support Systems .........................................................365 8.3.1 The Role of LLMs in Decision Support Systems .................................365 8.3.2 Implementing LLMs in Enterprise Decision Support Systems ............366 8.4 Content Generation and Personalization .....................................................372 8.5 AI-Driven Anomaly Detection ......................................................................377 8.6 Intelligent Document Processing ................................................................382 8.6.1 Key Capabilities of Intelligent Document Processing with GenAI .......383 8.6.2 Benefits of Integrating GenAI with Intelligent Document Processing .... 387 8.7 Customer Journey Optimization with GenAI Such As ChatGPT or Llama ....... 388 8.7.1 Key Capabilities of Customer Journey Optimization with GenAI ........388 8.7.2 Benefits of Using GenAI for Customer Journey Optimization .............394 Appendix 395 Index 409 Table of ConTenTs
Page
10
xi About the Author Banu Parasuraman is a seasoned technologist with over 30 years of experience in the IT industry, currently focusing on the transformative fields of AI and automation. Throughout his distinguished career, Banu has provided invaluable advisory services to clients across a multitude of industries, guiding them in leveraging AI-driven solutions and automation technologies to enhance their operations and achieve digital transformation. His expertise has been sought by over 25 leading companies spanning sectors like retail, healthcare, logistics, banking, manufacturing, automotive, oil and gas, pharmaceuticals, media, and entertainment across the United States, Europe, and Asia. A passionate advocate for AI and automation, Banu has been at the forefront of encouraging organizations to adopt these technologies early, helping them to streamline operations, improve decision-making, and maintain a competitive edge. His deep knowledge extends across all major AI and automation platforms, including advanced cloud services and tools that integrate seamlessly into enterprise environments. Banu is a respected speaker, having participated in numerous external engagements such as VMworld, SpringOne, Spring Days, and Spring Developer Forum Meetups, where he shared his insights with CXOs and engineers alike. His internal engagements include leading workshops on AI-driven solutions and automation strategies, where he has been instrumental in enabling sales plays and strategies focused on these cutting-edge technologies.
Page
11
xii Beyond speaking engagements, Banu is an active thought leader in the industry, contributing to the wider adoption of AI and automation through his blogs on Medium and LinkedIn, where he shares his knowledge and promotes best practices in AI and automation development. He is also the author of the book Practical Spring Cloud Function: Developing Cloud-Native Functions for Multi-Cloud and Hybrid-Cloud Environments, available on Amazon. Banu's work continues to shape the future of technology, inspiring organizations to innovate and embrace the power of AI and automation. abouT The auThor
Page
12
xiii Andres Sacco has been a professional developer since 2007, working with various languages, including Java, Scala, PHP, Node. js, and Kotlin. His background is mainly in Java and its associated libraries or frameworks, like Spring, JSF, iBATIS, Hibernate, and Spring Data. He is focused on researching new technologies to improve the performance, stability, and quality of the applications he develops. In 2017, he started to find new ways to optimize data transference between applications to reduce the cost of infrastructure. He suggested some actions, some applicable to all the microservices and others to just a few of them; as a result, the cost was reduced by 55%. Some of these actions are connected directly with the bad use of the databases. He recently published some books with Apress about the last version of Scala and Spring Data. He also published a set of theoretical-practical projects on uncommon testing methods, such as architecture tests and chaos engineering. About the Technical Reviewers
Page
13
xiv Debasish Banerjee, Ph.D., is a seasoned thought leader, hands-on architect, and practitioner of cutting-edge technologies. He has a proven track record spanning more than a decade of advising and closely working with Fortune 500 and other customers in the United States, Europe, and Asia. He recently joined Guild Systems Inc (www.guildsystems.com) as the ITOps and FinOps lead. Until September 2024, he was a principal Customer Success Manager at IBM. Debasish’s work successfully established several advanced IBM technologies in the field and has generated several hundred million USD in revenue for IBM. Debasish’s present areas of interest are superior observability to reduce the mean time to recovery, automatic application resource management, FinOps, and the use of AI to enhance these technologies. Debasish obtained his Ph.D. in combinator-based functional programming languages. He is the father of two brilliant software engineer daughters, Cheenar and Neehar, who are his pride and joy. abouT The TeChniCal reviewers
Page
14
xv Acknowledgments I would like to express my deepest gratitude to the individuals who played a crucial role in bringing this book to life. First and foremost, I extend my sincere thanks to Melissa Duffy, Editor at Apress, for reaching out to me and giving me the opportunity to write this book. Her belief in my vision and guidance throughout this journey were invaluable. A special thanks to Shonmirin P. A., Production Editor, whose meticulous attention to detail ensured that every aspect of this book was polished and perfected. Your dedication and hard work made this process smooth and successful. I am also deeply grateful to Andres Sacco and Debasish Banerjee from IBM, who served as the technical reviewers for this book. Their expert insights and thorough reviews were instrumental in ensuring the technical accuracy and quality of the content. Their feedback was critical in refining the ideas presented in this book. Finally, I would like to acknowledge the entire Apress staff who contributed to the creation of this book. Your professionalism, support, and collaborative efforts were essential in bringing this project to fruition. Thank you for your hard work and commitment to excellence. This book is a result of the collective efforts of all these remarkable individuals, and I am truly thankful for their contributions.
Page
15
1© Banu Parasuraman 2024 B. Parasuraman, Mastering Spring AI, https://doi.org/10.1007/979-8-8688-1001-5_1 CHAPTER 1 Introduction to Generative AI and Large Language Models (LLMs) In the constantly evolving realm of artificial intelligence (AI) and machine learning (ML), few advancements have been as revolutionary in recent years as the ascent of Generative AI and Large Language Models (LLMs). These cutting-edge models have redefined our comprehension of AI systems, unleashing a wave of unprecedented opportunities and applications spanning diverse fields. In this chapter, we will embark on an enlightening exploration of the underpinnings, evolution, and profound impact of Generative AI and Large Language Models. Moreover, we will examine how Spring AI seamlessly integrates into this dynamic landscape, shaping the future of AI-driven solutions.
Page
16
2 1.1 Understanding the Basics of Artificial Intelligence Definition and Historical Perspective of AI Artificial intelligence, often abbreviated as AI, is a multidisciplinary field of computer science that aims to create systems and machines capable of performing tasks that typically require human intelligence. These tasks encompass a wide range of activities, from problem-solving and decision- making to natural language understanding and perception. The concept of AI has been a part of human imagination for centuries, with early myths and stories featuring mechanical beings capable of human-like thought. However, it wasn’t until the mid-20th century that AI as we know it today began to take shape. The term “artificial intelligence” was coined by John McCarthy in 1956 during the Dartmouth Workshop, which marked the birth of AI as a formal academic discipline. Over the decades, AI has undergone several waves of enthusiasm and disappointment, known as AI winters, where the expectations often exceeded the capabilities of the technology at the time. Today, AI has become an integral part of our lives, powering intelligent virtual assistants, recommendation systems, autonomous vehicles, and much more. Its historical journey from myth to reality highlights the persistence and determination of researchers and engineers to create machines that can mimic human intelligence. See Figure 1-1. Chapter 1 IntroduCtIon to GeneratIve aI and LarGe LanGuaGe ModeLs (LLMs)
Page
17
3 Figure 1-1. AI timeline Key Concepts in AI: Algorithms, Neural Networks, and Data Processing To understand AI fully, it’s essential to grasp some key concepts that underpin the field. These concepts include algorithms, neural networks, and data processing. Chapter 1 IntroduCtIon to GeneratIve aI and LarGe LanGuaGe ModeLs (LLMs)
Page
18
4 Algorithms: Algorithms are step-by-step sets of instructions designed to solve specific problems or perform particular tasks. In AI, algorithms are crucial for decision-making and problem-solving. They are the building blocks of AI systems, guiding how data is processed, analyzed, and acted upon. Neural Networks: Neural networks are computational models inspired by the structure and function of the human brain. They consist of interconnected nodes, or “neurons,” organized in layers. Neural networks are capable of learning patterns from data through a process called training, making them central to many AI applications, including image recognition, natural language processing, and speech recognition. Data Processing: Data is the lifeblood of AI. Machine learning algorithms1 rely on large datasets to learn and make predictions or decisions. Data processing involves collecting, cleaning, and transforming data into a format suitable for AI models. The quality and quantity of data significantly impact AI performance. 1 Algorithms are automated instructions that can vary in complexity based on their depth. Machine learning and artificial intelligence are both based on sets of algorithms, with the key difference being how they handle structured vs. unstructured data Chapter 1 IntroduCtIon to GeneratIve aI and LarGe LanGuaGe ModeLs (LLMs)
Page
19
5 The Role of AI in Modern Technology and Society AI’s role in modern technology and society is profound and far- reaching. It has permeated various aspects of our lives, from the devices we use to the services we access. Here are some key areas where AI plays a pivotal role: 1. Healthcare: AI is revolutionizing healthcare by enabling faster and more accurate diagnosis, drug discovery, and personalized treatment plans. Machine learning models can analyze medical images, detect anomalies, and predict patient outcomes. 2. Finance: In the financial industry, AI is used for fraud detection, algorithmic trading, and risk assessment. AI-driven chatbots and virtual assistants also enhance customer service and support. 3. Education: AI-powered educational tools offer personalized learning experiences, adapt to individual student needs, and provide valuable insights to educators. This promotes more effective learning outcomes. 4. Natural Language Processing: AI models excel in understanding and generating human language. This capability drives advancements in virtual assistants like Siri and Alexa, as well as language translation services. 5. Autonomous Vehicles: Self-driving cars rely on AI algorithms to navigate and make split-second decisions based on sensor data. This technology has the potential to reshape transportation systems. Chapter 1 IntroduCtIon to GeneratIve aI and LarGe LanGuaGe ModeLs (LLMs)
Page
20
6 6. Entertainment: AI is used in content recommendation systems, video game design, and even the creation of art and music. As AI continues to advance, it poses both exciting opportunities and ethical challenges. It is essential to strike a balance between innovation and responsible use to harness the full potential of AI for the benefit of society. 1.2 The Journey from Traditional Machine Learning to Generative AI Fundamentals of Machine Learning: Supervised, Unsupervised, and Reinforcement Learning Machine learning (ML) serves as the foundation upon which Generative AI and Large Language Models are built. ML is a subset of AI that focuses on developing algorithms capable of learning from data and making predictions or decisions without explicit programming. There are several categories of machine learning, with three primary paradigms being supervised learning, unsupervised learning, and reinforcement learning: Supervised Learning: In supervised learning, algorithms are trained on labeled datasets, where the correct answers are provided. The goal is to learn a mapping from inputs to outputs, allowing the model to accurately predict unseen data. This paradigm is used for tasks like classification and regression. Unsupervised Learning: Unsupervised learning deals with unlabeled data and aims to discover patterns, structures, or groupings within the data. Common techniques include clustering and Chapter 1 IntroduCtIon to GeneratIve aI and LarGe LanGuaGe ModeLs (LLMs)
The above is a preview of the first 20 pages. Register to read the complete e-book.
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
AI guide
【One-Line Pitch】
A practical guide for Java developers who want to build generative AI applications using Spring AI, covering everything from LLM fundamentals to production-ready systems with RAG, function calling, and governance.
【Book Arc】
- **Opening (~0%–10%)**: Introduces AI and LLM basics, contrasting them with traditional ML models, and surveys major providers like Mistral and IBM Granite, setting the stage for why Spring AI matters.
- **Early (~10%–23%)**: Explores Spring ecosystem components for GenAI—Spring Data for persistence, WebClient for reactive API calls, and Spring Security for protecting AI apps—with hands-on code for a ChatGPT service and article generation.
- **Early (~23%–32%)**: Dives into Spring AI itself, covering its origins (inspired by LangChain/LlamaIndex), portable abstractions, model support (OpenAI, Bedrock, etc.), and vector database compatibility, plus practical examples like audio transcription.
- **Middle (~32%–48%)**: Focuses on advanced prompting techniques (including ReACT) and Retrieval-Augmented Generation (RAG), explaining token limits, context windows, and how to load PDFs into vector stores with Spring AI.
- **Late (~48%–end)**: Moves to production concerns—function calling for real-world use cases like facilities management, plus AI governance, LLMOps, and prompt testing/evaluation to ensure reliable, compliant deployments.
【Key Takeaways】
- **LLMs differ fundamentally from traditional ML** (Early): They rely on vast pre-training and context, not handcrafted features, making them powerful but requiring new approaches to prompt design and evaluation.
- **Spring AI offers a portable, abstraction-based API** (Early): Model providers like OpenAI, Amazon, and Google can be swapped with minimal code changes, reducing vendor lock-in and simplifying integration.
- **Reactive programming is key for AI services** (Early): Using Spring WebClient and Flux/Mono enables non-blocking calls to LLM APIs, crucial for handling streaming responses and high concurrency.
- **Security is non-negotiable in GenAI apps** (Early): Spring Security provides authentication and authorization layers, protecting both the data feeding models and the generated content from misuse.
- **RAG enhances LLMs with external knowledge** (Middle): By retrieving relevant documents (e.g., PDFs) and embedding them into vector stores, you overcome token limits and improve answer accuracy for domain-specific queries.
- **Prompt engineering is a strategic skill** (Middle): Techniques like ReACT prompting guide models toward structured reasoning, improving output quality for complex tasks like code generation or multi-step problem solving.
- **Productionizing AI requires governance and LLMOps** (Late): Beyond coding, you need metrics, testing, and regulatory compliance to ensure AI systems are reliable, transparent, and ethical in enterprise settings.
【Reading Tips】
- **Skim Chapter 1** if you're already familiar with AI/LLM concepts; focus on the provider comparisons and ethical challenges if you need context for enterprise decisions.
- **Deep-read Chapter 2** for the Spring ecosystem setup—the code listings for WebClient, Spring Data, and Security are foundational for all later examples.
- **Pay close attention to Chapter 4 (RAG)**—it's the most complex and valuable part; work through the PDF loading and vector store examples step-by-step, as they're directly reusable.
- **Treat Chapter 7 as a reference** for production concerns; you don't need to memorize regulations, but understand the LLMOps metrics and governance action plan before deploying.
- **Have a Spring Boot project ready** to experiment with; the book's value comes from coding along, not just reading.
【Coverage Limits】
This guide synthesizes excerpts from the first ~48% of the book; later chapters on function calling and productionization are covered only at a high level, and specific code listings for those sections are not detailed here.
Passage locations
Page 8
............................................................294 7.2.1 Common Regulatory Themes ................................................................
View in text
Excerpt 2
n across industries, academia, and regulatory bodies will be key to shaping a future where LLMs contribute positively to societal progress. 11. Small Lan...
View in text
Excerpt 3
tion to model support, Spring AI offers compatibility with major vector database providers such as Azure Vector Search, Chroma, Milvus, Neo4j, PostgreSQL/p...
View in text
Excerpt 4
ting strict access controls and regular audits to monitor data access and ensure compliance with privacy regulations • Privacy-Preserving Techniques: Usin...
View in text
Support Author
0.00
Total Amount (¥)
0
Donation Count
Please enter an amount
Minimum ¥1
You will be redirected to Alipay to complete payment, then return here.
Order created — please complete Alipay payment
{{#payUrl}} Pay with Alipay {{/payUrl}} {{^payUrl}}{{message}}
{{/payUrl}}
Donation failed:{{message}}
Log in to link the donation to your account (anonymous payment also works)
Recommended for You
{{#thumbnailUrl}}
{{/thumbnailUrl}}
{{^thumbnailUrl}}
{{/thumbnailUrl}}
Loading recommended books...
Failed to load, please try again later