Skip to content

Build, test and evaluate a chat app with GCP's Generative AI Studio

License

Notifications You must be signed in to change notification settings

rastringer/building_apps_with_genai_studio

Repository files navigation

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

About

Build, test and evaluate a chat app with GCP's Generative AI Studio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published