Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.42 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.42 KB

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.

Prompting and verification

  • 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

Chain of thought

  • Ask the chat model to show us its thought process and conclusions in a multi-step process.

Chaining prompts

  • Post processing; converting chat outputs into Python dictionaries
  • Giving clear guidelines and preventing ‘hallucinations’
  • Giving the chat product details from json
  • Checking outputs

Evaluation

  • Giving the model ideal examples and evaluating the quality its outputs