دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: Bruce Hopkins
سری:
ISBN (شابک) : 9798868801150, 9798868801167
ناشر: Apress
سال نشر: 2024
تعداد صفحات: [243]
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 5 Mb
در صورت تبدیل فایل کتاب ChatGPT for Java: A Hands-on Developer’s Guide to ChatGPT and Open AI APIs به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب ChatGPT برای جاوا: راهنمای توسعهدهنده عملی برای ChatGPT و باز کردن APIهای هوش مصنوعی نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
آینده توسعه نرم افزار را در آغوش بگیرید! ChatGPT برای جاوا نقطه شروع عالی برای توسعه دهندگان جاوا است تا یاد بگیرند که چگونه برنامه های هوشمند با استفاده از ChatGPT و Open AI API بسازند. این کتاب شما را از پایه میبرد تا نحوه استفاده از ChatGPT را به صورت برنامهریزی نشان دهد. شما با اصول ChatGPT و OpenAI API آشنا خواهید شد، از جمله نحوه احراز هویت، ارسال درخواست، تولید پاسخ، آزمایش در Playground و رسیدگی به خطاها. هر فصل شامل تمرین های عملی است که عملکردهای مختلف API را نشان می دهد و مفاهیم شما را زنده می کند. شما یاد خواهید گرفت که چگونه با استفاده از مدل هایی مانند GPT-4، GPT-3.5، Whisper، DALL-E و بسیاری دیگر، برنامه های کاربردی خود را با هوش مصنوعی فعال کنید. در نتیجه، توسعه دهندگان خواهند فهمید که ابزارهای مولد هوش مصنوعی جایگزین مشاغل توسعه نرم افزار نمی شوند! در عوض، از ChatGPT به عنوان برنامه نویس جفت هوش مصنوعی جاوا برای افزایش سرعت و بهره وری استفاده خواهید کرد. همچنین خواهید آموخت که چگونه ChatGPT میتواند قابلیتهای قدرتمند پردازش زبان طبیعی (NLP) را برای برنامههای جاوا شما به منظور درک قالبهای مختلف متن بدون ساختار ارائه دهد. گام به گام، مفاهیم پوشش داده شده را برای ایجاد چت ربات های هوشمند خود به کار می گیرید که می توانند به طور خودکار پیام های Slack on Discord را پردازش کنند. با استفاده از این کتاب، توسعهدهندگان جاوا این قدرت را پیدا میکنند تا با استفاده از قدرت هوش مصنوعی، برنامههای خود را به ارتفاعات جدیدی برسانند، زیرا این زمینه هیجانانگیز به تکامل و تحول ادامه میدهد. آنچه یاد خواهید گرفت با ChatGPT و OpenAI API احراز هویت کنید و یاد بگیرید که چگونه دستورات را مهندسی و ارسال کنید. توسعه دهندگان برای ایجاد پاسخ های منحصر به فرد و جذاب تر از ChatGPT ایجاد ربات های هوشمند برای سرورهای Slack یا Discord. زمینه را برای پاسخ های بهتر در اعلان ها ترکیب کنید و ویژگی های پیشرفته API ها را اعمال کنید. مسیرهای آینده را برای ChatGPT و OpenAI کاوش کنید. هیچ تجربه قبلی با ChatGPT یا OpenAI API مورد نیاز نیست.
Embrace the future of software development! ChatGPT for Java is the perfect starting point for Java developers to learn how to build intelligent applications using ChatGPT and Open AI APIs. This book takes you from the ground up to demonstrate how to use ChatGPT programmatically. You will learn the basics of ChatGPT and OpenAI APIs, including how to authenticate, send prompts, generate responses, test in the Playground, and handle errors. Each chapter includes practical exercises which demonstrate different API functionalities and bring your concepts to life. You will learn how to AI-enable your own applications using models such as GPT-4, GPT-3.5, Whisper, DALL-E, and many more. As a result, developers will understand that generative AI tools will not replace software development jobs! Instead, you will leverage ChatGPT as your Java AI-pair programmer to increase speed and productivity. You will also learn how ChatGPT can provide powerful Natural Language Processing (NLP) capabilities to your Java apps in order to understand various formats of unstructured text. Step-by-step, you will apply the concepts covered to create your own intelligent chatbots that can automatically process messages from either Slack on Discord. With this book, Java developers will be empowered to take their applications to new heights by leveraging the power of AI as this exciting field continues to evolve and transform. What You Will Learn Authenticate with the ChatGPT and OpenAI APIs and learn how to engineer and send prompts Test your prompts in the ChatGPT Playground How to use multiple artificial intelligence models Harness the power the temperature, top_p, and other parameters that can ONLY be accessed by developers to create more unique and engaging responses from ChatGPT Create intelligent bots for Slack or Discord servers Incorporate context into prompts for better responses and apply advanced features of the APIs. Explore future directions for ChatGPT and OpenAI Who This Book Is For Beginning and intermediate Java developers who have a basic understanding of Java programming concepts and are interested in learning how to add intelligence to their applications by using ChatGPT programmatically. No prior experience with ChatGPT or OpenAI APIs is required.
Table of Contents About the Author About the Technical Reviewer Foreword Chapter 1: Introducing ChatGPT for Java Developers Who Is This Book For? Chapter Overview Download the Code Now! So, What Exactly Is ChatGPT and Why Do I Need to Use the OpenAI APIs? Regex vs. ChatGPT: Fight! Analysis Question #1: Who Didn’t Get Any Ice Cream and Why? Analysis Question #2: Which Kid Was Probably Left Sad? Let’s Unlearn Some Words in Order to Learn More About the ChatGPT API Models. Models? Models!!! When We Talk About Tokens, Think About the StringTokenizer and Not Access Tokens Temperature Is All About Creativity Getting Started with the OpenAI Playground 1. System 2. User 3. Assistant (Optional) 4. Add Message (Optional) 5. View Code (Optional) 6. Model (Optional) 7. Temperature (Optional) 8. Maximum Length (Optional) Try It Now! Experimenting with the “System” Role Conclusion Chapter 2: Using ChatGPT As Your Java Pair-Programmer Creating Your First Java ChatGPT App: ListModels.java List Models Endpoint Creating the Request Handling the JSON Response Model (JSON) Chat Endpoint Creating the Request Chat (JSON) Handling the Response Chat Completion (JSON) Wait, How Many Tokens Are in My Prompt? ChatGPT Token Counter Creating the Next Java App: ChatGPTClient.java Conclusion Chapter 3: Using AI in the Enterprise! Creating a Text Summarizer for Slack Messages So, What Is Prompt Engineering? Updating ChatGPTClient.java (and Related Classes) with the Builder Pattern ChatGPT Is Here to Take Away Everyone’s Jobs (Not Really) Examining a Real World Problem: Customer Support for a Software Company Prompt Engineering 101: Text Summarization Prompt #1: “tl;dr” Prompt #2: “Explain This in 3 Sentences or Less” Prompt #3: “I’m a Manager. Explain to Me What Happened” Prompt #4: “Give Me Suggestions on Next Steps” Let’s Talk About Real Prompt Engineering Registering a Slack Bot App Specifying What Your Bot Can (and Can’t) Do By Setting the Scope Confirming Your Settings Viewing the OAuth and Permissions Page Installing Your Slack Bot App to Your Workspace Getting Your Slack Bot (Access) Token Inviting Your Bot to Your Channel Finding the Channel ID of Your Channel Using Your Slack Bot App to Automatically Grab Messages from a Channel Setting Up Your Dependencies Programmatically Reading Messages from Slack with ChannelReaderSlackBot.java Exercises Left for the Reader Conclusion Chapter 4: Multimodal AI: Creating a Podcast Visualizer with Whisper and DALL·E 3 Introducing the Whisper Model by OpenAI Features and Limitations of the Whisper Model Transcriptions Endpoint Creating the Request Request Body (Multipart Form Data) Creating a Utility App to Split Audio Files: AudioSplitter.java Creating the Audio Transcriber: WhisperClient.java Having a Little Fun and Trying Things Out with a Podcast Going Meta: Prompt Engineering GPT-4 to Write a Prompt for DALL·E Create Image Endpoint Creating the Request Create Image (JSON) Handling the Response Image (JSON) Creating the Image Generator: DALLEClient.java DALL·E Prompt Engineering and Best Practices DALL·E Golden Rule #1: Get Familiar with the Types of Images that DALL·E Can Generate DALL·E Golden Rule #2: Be Descriptive with What You Want in the Foreground and Background Conclusion Exercises Left for the Reader Chapter 5: Creating an Automated Community Manager Bot with Discord and Java Choosing Discord as Your Community Platform Creating a More Advanced Bot Than Our Slack Bot Creating a More Advanced Bot Than Any Typical Discord Bot Understanding the Roles for the Bots Our Example Bank: Crook’s Bank First Things First: Create Your Own Discord Server Create the Q&A Channel Registering a New Discord Bot App with Discord Specifying General Info for the Bot Specifying OAuth2 Parameters for the Bot Invite Your Bot to Your Server Getting the Discord ID Token for Your Bot and Setting the Gateway Intents Creating a Q&A Bot App in Java to Answer Questions from a Channel Setting Up Your Dependencies Creating The First Discord Bot: TechSupportBotDumb.java Loving the Lambda Expression to Simplify Code Handling Messages Sent to the Discord Server Success! Running Your First Discord Bot: TechSupportBotDumb.java Streamlining the Process of Registering Our Next Discord Bot App with Discord Registering a New Discord Bot App with Discord Specifying General Info for the Bot Specifying OAuth2 Parameters for the Bot Invite Your Bot to Your Server Getting the Discord ID Token for Your Bot and Setting the Gateway Intents Creating the Next Discord Bot: ContentModeratorBotDumb.java Handling Messages Sent to the Discord Server Success Again! Running Your Second Discord Bot: ContentModeratorBotDumb.java Conclusion Exercises Left for the Reader Chapter 6: Adding Intelligence to Our Discord Bots, Part 1: Using the Chat Endpoint for Q&A Making TechSupportBot.java More Intelligent Important Changes to Note from the Previous Version of the Tech Support Bot Updates to the onMessageReceived() Method Analyzing ChatGPTClientForQAandModeration.java Using JSONPath in Order to Extract Content Quickly in JSON Files Running Our Intelligent Q&A Bot: TechSupportBot.java We Have a Monumental Achievement… With One Slight Flaw Update the System Message to ChatGPT and Let’s Try Again Conclusion Chapter 7: Adding Intelligence to Our Discord Bots, Part 2: Using the Chat and Moderation Endpoints for Moderation Moderations Endpoint Creating the Request Create Moderation (JSON) Handling the JSON Response Moderation (JSON) Creating Our Client for the Moderations Endpoint: ModerationClient.java Making ContentModeratorBot.java More Intelligent Important Changes to Note from the Previous Version of the Content Moderator Bot Updates to the onMessageReceived() Method Running Our Intelligent Content Moderator Bot: ContentModeratorBot.java Conclusion Exercises Left for the Reader Appendix 1: List of OpenAI Models Index