Giter VIP home page Giter VIP logo

gophercon-gen-ai's Introduction

GopherCon 2023 Generative AI Workshop Materials

This repo includes the materials for the 2023 GopherCon workshop: "Generative AI - Go Applications that Integrate GPT-Like Models." The materials were prepared by Daniel Whitenack for live attendees at the conference. However, others might benefit from them as they build generative AI applications with Go.

Description

Learn how to build state-of-the-art, practical AI applications in Go with a focus on generative AI models like those used in ChatGPT.

Are you wondering how models like these can create practical value for you? Are you hesitant to integrate these models because of new/weird tooling, unclear reliability, or privacy concerns? Well, the goal of this half-day workshop is to share how you can leverage the latest AI-driven functionalities to build domain-specific chat assistants, fast neural search over knowledge bases, and automated agents. From the beginning, you will pair program with the instructor, walking through the fundamentals of the current wave of AI models along with key concepts like prompt engineering, augmentation, chaining, and agents.

What a student is expected to learn:

  • AI Fundamentals
  • Building a Chat Assistant
  • Integrating External Knowledge
  • Chaining and Agents

Prerequisites:

Recommended Preparation:

  • Install and configure an editor for Go.
  • Have a functioning Go environment installed.
  • Sign up for a Github account, if you do not already have one.
  • Computers should be capable of modern software development, such as access to install and run binaries, install a code editor, etc.

Agenda

  1. Introductions, logistics
  2. Accessing LLMS
    1. Example 1 - Prompting a text completion model
    2. Example 2 - Generating Go code with WizardCoder
  3. Basic Prompting
    1. Example 1 - Autocomplete
    2. Example 2 - Zero shot, prompt structure
    3. Example 2 - Few shot
  4. Prompt Engineering
    1. Example 1 - Prompt templates
    2. Example 2 - Prompt templates continued
    3. Example 3 - Parameters, temperature
    4. Example 4 - Parameters, max tokens
    5. Example 5 - Contraints, types
    6. Example 6 - Guards on factuality, toxicity
  5. Retrieval Augmented Generation
    1. Example 1 - Preparing data for injection into prompts
    2. Example 2 - Embedding chunks
    3. Example 3 - Similarity search
    4. Example 4 - Similarity search, RAG, continued
    5. Example 5 - Chaining
    6. Example 6 - Generalizing retrieval
  6. Conclusions

gophercon-gen-ai's People

Contributors

dwhitena avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.