Building a React Project with Google Bard and the PalM2 API
1h 22mIntermediate2023-09-01
Authors

Ray Villalobos
Senior Staff Instructor at LinkedIn Learning
Course details
You can talk with ChatGPT easily, and ask it questions, but how do you build it into your own applications? In this course, Ray Villalobos shows how to set up a secure environment for connecting your code to ChatGPT using Bard, the chatbot from Google that’s based on the large language model called PaLM 2. PaLM2 has been trained on millions of parameters and is extremely effective at tasks like reasoning, code, math, and other languages. Ray takes a look at what it takes to create an application that uses the PaLM2 API to create your own personal chatbot. He shows you how to use NodeJS together with React to create an interface that answers simple questions, managing the connectivity between the client and the server.
Skills covered
BardNatural Language Processing (NLP)GoogleArtificial Intelligence (AI)One-Off
Concepts
0. Introduction
- 01 - The competition in AI from Google
- 02 - Working with slides
1. Understanding the ChatGPT API
- 03 - The PaLM 2 API
- 04 - The PaLM 2 playground
- 05 - Getting an API key
- 06 - Running PaLM with Node.js
- 07 - Using environment variables
- 08 - Creating a Node.js server with Express
2. Building an App with the API
- 09 - Installing React
- 10 - Adding custom CSS
- 11 - Getting data from the server
- 12 - Handling POST requests
- 13 - Submitting data from your form
- 14 - Displaying clean markdown
- 15 - Improving your interface
Conclusion
- 16 - What's next