1 option
OpenAI API Cookbook : Build Intelligent Applications Including Chatbots, Virtual Assistants, and Content Generators / Henry Habib.
- Format:
- Book
- Author/Creator:
- Habib, Henry, author.
- Language:
- English
- Subjects (All):
- ChatGPT.
- Artificial intelligence--Computer programs.
- Artificial intelligence.
- Programming languages (Electronic computers).
- Physical Description:
- 1 online resource (192 pages)
- Edition:
- First edition.
- Place of Publication:
- Birmingham, England : Packt Publishing Ltd., [2024]
- Biography/History:
- Habib Henry: Henry Habib is a Manager at one of the world's top management consulting firms, advising F500 companies on analytics and operations, with a particular focus on building intelligent AI-driven solutions and tools to create impact. He is a passionate online instructor and educator, amassing a of more than 120K paid students and facilitating technical programs at large banks and governmental. A proponent in the no-code and LLM revolution, he believes that anyone can now create powerful and intelligent applications without any deep technical skills. Henry resides in Toronto, Canada with his wife, and enjoys reading AI research papers and playing tennis in his free time.
- Summary:
- Explore the vast possibilities of integrating the ChatGPT API across various domains, from creating simple wrappers to developing knowledge-based assistants, multi-model applications, and conversational interfaces Key Features Understand the different elements, endpoints, and parameters of the OpenAI API Build tailored intelligent applications and workflows with the OpenAI API Create versatile assistants with for a multitude of tasks Purchase of the print or Kindle book includes a free PDF eBook Book Description As artificial intelligence continues to reshape industries with OpenAI at the forefront of AI research, knowing how to create innovative applications such as chatbots, virtual assistants, content generators, and productivity enhancers is a game-changer. This book takes a practical, recipe-based approach to unlocking the power of OpenAI API to build high-performance intelligent applications in diverse industries and seamlessly integrate ChatGPT in your workflows to increase productivity. You'll begin with the OpenAI API fundamentals, covering setup, authentication, and key parameters, and quickly progress to the different elements of the OpenAI API. Once you've learned how to use it effectively and tweak parameters for better results, you'll follow advanced recipes for enhancing user experience and refining outputs. The book guides your transition from development to live application deployment, setting up the API for public use and application backend. Further, you'll discover step-by-step recipes for building knowledge-based assistants and multi-model applications tailored to your specific needs. By the end of this book, you'll have worked through recipes involving various OpenAI API endpoints and built a variety of intelligent applications, ready to apply this experience to building AI-powered solutions of your own. What you will learn Grasp the fundamentals of the OpenAI API Navigate the API's capabilities and limitations of the API Set up the OpenAI API with step-by-step instructions, from obtaining your API key to making your first call Explore advanced features such as system messages, fine-tuning, and the effects of different parameters Integrate the OpenAI API into existing applications and workflows to enhance their functionality with AI Design and build applications that fully harness the power of ChatGPT Who this book is for This book is perfect for developers, data scientists, AI/tech enthusiasts, citizen developers, and no-code aficionados keen on using and mastering the OpenAI API. Whether you're a beginner or experienced professional, this book is ideal for quickly creating intelligent applications such as chatbots or content generators, through step-by-step recipes that take you from the basics of the API to creating sophisticated applications systematically. The OpenAI API is accessed with Python in this book, so familiarity with Python and APIs is preferred but not mandatory.
- Contents:
- Cover
- Title Page
- Copyright and credits
- Dedication
- Foreword
- Contributors
- Table of Contents
- Preface
- Chapter 1: Unlocking OpenAI and Setting Up Your API Playground Environment
- Technical requirements
- Setting up your OpenAI Playground environment
- Getting ready
- How to do it…
- How it works…
- Running a completion request in the OpenAI Playground
- There's more…
- Using the System Message in the OpenAI Playground
- Using the Chat Log to modify the model's behavior
- Making OpenAI API requests with Postman
- Chapter 2: OpenAI API Endpoints Explained
- Generating customized responses using the Chat Completions endpoint
- Creating pictures using the Images endpoint
- Generating transcripts using the Audio endpoint
- Chapter 3: Understanding Key Parameters and Their Impact on Generated Responses
- Changing the model parameter and understanding its impact on generated responses
- Controlling the number of generated responses using the n parameter
- Determining the randomness and creativity of generated responses using the temperature parameter
- Chapter 4: Incorporating Additional Features from the OpenAI API
- Using the Python library to call the OpenAI API
- Benefits and drawbacks of using the Python library.
- Using the embedding model for text comparisons and other use cases
- Fine-tuning a completion model
- Chapter 5: Staging the OpenAI API for Application Development
- Creating a public endpoint server that calls the OpenAI API
- Extending the endpoint server to accept parameters and return data
- Calling the user-created endpoint from no-code applications
- Chapter 6: Building Intelligent Applications with the OpenAI API
- Creating a wrapper application that generates replies to your emails
- Creating a multi-modal application that generates travel itineraries
- Chapter 7: Building Assistants with the OpenAI API
- Creating a knowledge-retrieval assistant application
- Creating a knowledge-retrieval assistant through the Assistants API
- Index
- Other Books You May Enjoy.
- Notes:
- Description based on publisher supplied metadata and other sources.
- Description based on print version record.
- ISBN:
- 9781805125730
- 1805125737
- OCLC:
- 1426762135
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.