Build, test and evaluate a chat app with GCP's Generative AI Studio.
This course is designed to get developers rocking quickly with Google Cloud's PaLM2 model, part of its suite of tools in Generative AI Studio. The material is modified from DeepLearning AI's excellent Building Systems with the ChatGPT API course.
- Basic prompts
- Classifying user inputs to help direct queries
- Extracting relevant items and information from a product catalogue
- Checking for prompt injection and unsafe or harmful content
- Ask the chat model to show us its thought process and conclusions in a multi-step process.
- Post processing; converting chat outputs into Python dictionaries
- Giving clear guidelines and preventing ‘hallucinations’
- Giving the chat product details from json
- Checking outputs
- Giving the model ideal examples and evaluating the quality its outputs