ChatGPT and Beyond - Elevating DevOps Productivity

VictorSzoltysek 122 views 43 slides May 13, 2024
Slide 1
Slide 1 of 47
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47

About This Presentation

In the dynamic field of DevOps, the quest for efficiency and productivity is endless. This talk introduces a revolutionary toolkit: Large Language Models (LLMs), including ChatGPT, Gemini, and Claude, extending far beyond traditional coding assistance. We'll explore how LLMs can automate not jus...


Slide Content

By: Victor Szoltysek
May 9th / 2024
Toronto Enterprise DevOps Meetup
Elevating DevOps Productivity with Large
Language Models
CHATGPT AND BEYOND

GAIN 37% PRODUCTIVITY*;
LEARN A BIT; WORTH IT?
* https://economics.mit.edu/sites/default/files/inline-files/Noy_Zhang_1.pdf (March 2023)

WORK WITHOUT INTERNET?
IT'S LIKE IGNORINGLLM’S.

WORK WITHOUT INTERNET?
IT'S LIKE IGNORINGCHATGPT*.
* or Gemini, Grok, Claude, Llama, MS Copilot etc

STILL ON CHATGPT3.5?

STILL ON CHATGPTFREE*
IT’S LIKE STILL USING DIAL-UP.
?
* or any free LLM model

Image Capabilities (output and input)
Longer Working Memory (4x)Superior Code Writer
Much Smarter Model (ChatGPT 4.0)
Advanced Data Analytics (aka Code
Interpreter)
Newer Model Data (Dec 2023)
UPGRADE TO CHATGPT PLUS*
Custom GPTs (API calling / workflows / etc)
* Not on OpenAI's payroll—I just like good tech!

LLMS DON’T DO YOUR JOB;
THEY EMPOWER YOU TO DO MORE.
JUST LIKE THE INTERNET.

HOW TO UNLOCK THESE TOOLS?
UNDERSTAND THE USE CASES
AND LIMITATIONS.

EXPLORING USE CASES
Skip the analysis paralysis. Use these practical use
cases as your springboard to start experimenting
with AI and learn by doing.
Putting Theory Into Practice

STUDYING AID
Forget outdated educational models. Discover the
power of a personalized learning approach that fits
your schedule and enhances your understanding.
The End of Conventional Education

STUDYING AID
Simple Explanation Prompt
Explain the difference between Continuous Integration,
Continuous Delivery, and Continuous Deployment.

STUDYING AID
Exam Cert Study Aid Prompt
I'm new to DevOps and aiming to pass the AWS DevOps Engineer certification
exam with flying colors but currently, I know as much about DevOps as I do
about quantum physics. Could you draft a comprehensive study guide for me?
This guide should include:
-
A summary of the essential topics covered in the exam.
-
A step-by-step learning plan starting from the basics.
-
Tips and tricks on how to effectively absorb and retain this new knowledge.
-
Additionally, explain how you can be my study buddy throughout this
process.

STUDYING AID
Exam Question Help Prompt
Solve the following AWS DevOps Exam question for me, explain the answer, give
me some rules-of-thumb for these types of question for the exam.
A developer is adding sign-up and sign-in functionality to an application. The application must make an API
call to a custom analytics solution to log user sign-in events.
Which combination of actions should the developer perform to meet these requirements? (Select TWO.)
A) Use Amazon Cognito to provide the sign-up and sign-in functionality.
B) Use AWS Identity and Access Management (IAM) to provide the sign-up and sign-in functionality.
C) Configure an AWS Config rule to make the API call when a user is authenticated.
D) Invoke an Amazon API Gateway method to make the API call when a user is authenticated.
E) Invoke an AWS Lambda function to make the API call when a user is authenticated.

WRITING ENHANCEMENT
Elevate a range of writing tasks—from customer
emails to RFPs and SOWs. Automate routine documents
like TPS cover letters for streamlined efficiency.
Transforming Communication

WRITING ENHANCEMENT
Leadership Persuasion Prompt
After discovering the transformative power of DevOps, I'm ready to pitch this
initiative to our company’s leadership. The aim is to foster magical synergies that'll
propel our projects forward like they’re on a Hogwarts express run. Could you help
me draft an email that:
-
Outlines the key benefits of adopting DevOps practices.
-
Emphasizes the potential for a significant increase in ROI due to these
efficiencies.
-
Incorporates buzzwords like 'innovation', 'synergies', and 'strategic advantages'
to engage our C-suite effectively ?

WRITING ENHANCEMENT
Team Motivational Speech Prompt
I got buy-in from my leadership, now I want to get my dev team excited about this
DevOps work.
Craft a motivational speech for them for this new DevOps initiative to help improve
their pains points, and slow release cycles.
Do it in the style of:
Shakespearean Monologue
Sports Coach Halftime Pep Talk
President Speech from Independence Day

SEARCH AND SOLUTIONING
Utilize LLMs for instant retrieval and resolution,
transforming how you search and solve problems.
Beyond Google and StackOverflow

SEARCH AND SOLUTIONING
Error Resolver Prompt
While deploying to Kubernetes, I received the error
'ImagePullBackOf.' Could you explain what causes this and
outline a detailed solution to fix this error within a DevOps
pipeline?

SEARCH AND SOLUTIONING
Code Snippet Writer Prompt
Write a Bash script for a DevOps setup that checks the
health of a web server every 5 minutes and logs the status in
a file. Include error handling for failed health checks.

SEARCH AND SOLUTIONING
Process Optimization Prompt
I'm supposed to improve our DevOps processes, but I'm as lost as a non-techie at
a hackathon. Could you walk me through conducting a Value Stream Mapping
(VSM) analysis? Please include:
-
A simple explanation of what VSM is and why it’s crucial for DevOps.
-
A step-by-step guide to identifying key stages and bottlenecks in our current
processes.
-
Suggestions on how to optimize these stages based on DevOps principles.

VISUAL DIGITIZATION
Convert sketches and handwritten notes to digital
formats with OCR, making your creative and
planning processes more efficient.
Digitize Your Ideas

VISUAL DIGITIZATION
Sketch to Specification Prompt
I made this sketch of a Value Stream Map
that looks more like abstract art than a
business tool. Can you help transform this
doodle into a clear, professional digital
format? The new diagram should:
-
Clearly outline each step with
associated metrics.
-
Identify areas for potential optimization.

BRAINSTORMING AID
Provide detailed context and let ChatGPT brainstorm
ideas, discover connections, and pose questions that
inspire deeper thinking and innovative solutions.
Unlock Creative Potential

BRAINSTORMING AID
DevOps Strategy Generator Prompt
I’ve appended a slew of unorganized finding from our DevOps activities into your
virtual lap. We need to sift through this to find gold nuggets of improvement.
Could you analyze this data and:
Identify key performance patterns.
-
Suggest improvements with potential impacts.
-
Develop a strategy for implementing these improvements.
-
Give me your recommend top priority for an item to tackle first.
<APPENDED FINDINGS>

OPTIONS AND TOOL COMPARISON
Compare options and tools effortlessly, presenting
complex comparisons and data in user-friendly
table formats, applicable across diverse scenarios.
Streamline Evaluations and Comparisons

OPTIONS AND TOOL COMPARISON
Slow PR Option Prompt
Following our brainstorming session, we've identified that our feature branching
strategy and slow PR processes are hampering our speed. I need a comprehensive
comparison of different branching strategies and code review processes that can
help us speed up. Please provide:
-
In table format - pros and cons for each strategy, focusing on their impact on PR
speed and collaboration.
-
Recommendations for best practices in code reviews to facilitate faster and
more efficient code integration.

TEXT-BASED CREATIONS
Transform textual descriptions into various text-based
outputs, including comprehensive diagrams, 3D object
files, calendar event files, json, and more. If you can
describe it, ChatGPT can create it.
Beyond Diagrams

TEXT-BASED CREATIONS
Commit Flowchart Prompt
We're considering moving to a trunk-based development approach to address our
slow PR process. Can you create a detailed diagram in Mermaid format that
illustrates a trunk-based development flow? The diagram should include:
-
How commits can be made directly to the trunk, with optional PRs.
-
Processes for handling Work In Progress (WIP) commits.
-
Integration points with CI/CD pipelines to ensure stability despite frequent
commits.
-
A subsection that briefly outlines emergency rollback procedures when commits
fail.

DATA ANALYTICS
Perform sophisticated data analysis, create insightful
visual graphs, and execute mathematical computations
and code, enhancing data-driven strategies.
Empowering Data Decisions

DATA ANALYTICS
Writing Prompt
We've pulled down an excel file of our commit history to
understand the bottlenecks in our current workflow better. Please
analyze this data to uncover:
-
Trends and patterns in commit frequencies and PR merge times.
-
Identification of periods with high activity and their impact on
project timelines.
-
Graph something useful.
Commit History Data.xls

CUSTOM GPTS
Customize AI functionalities, integrate your knowledge
base, configure complex no-code workflows with ease,
and enable API interactions using Custom GPTs.
Tailor Your AI to Your Needs

Custom No-Code Workflow Instructions
When you to notify something, use the SendMessageToMSTeams action to send
messages.
CUSTOM GPTS
When you need to get commit information, use the GetLast10CommitMessages
action to gather the latest commit messages.
When you need to to report an update, then first call GetLast10CommitMessages, get
the info, and pass that info (all commits) to the SendMessageToMSTeams action. The
SendMessagetoMSTeams action will send all commits messages with a humorous
spin on all the commit message, and also a general motivational comment based on
all the commit messages.

VISUAL GENERATION
Effortlessly generate detailed images from textual
descriptions, enhancing your presentations and
documents with high-quality visuals.
Visuals at Your Command

VISUAL GENERATION
Victory Email with Visuals Prompt
Our DevOps team has smashed through a huge milestone—it's time to throw a
massive virtual bash to celebrate! I need your help to craft an eye-catching email
that will get the whole company buzzing.
Create a dazzling, colorful image to include in the email. Think of a spectacular,
over-the-top celebration featuring superheroes—everyone's decked out in
costumes, there's an explosion of balloons and confetti, and our heroes are striking
epic poses amidst digital fireworks. Let’s make this an unforgettable virtual party
invitation!

NAVIGATING LIMITATIONS
Understanding these boundaries and learning
effective workarounds can lead to more informed
and powerful usage.
Working Within Constraints

CONCERNED ABOUT DATA PRIVACY?
Still concerned? Reconsider storing anything sensitive
in the cloud and stop using the internet altogether.
Opt-Out of Model Training To Protect Your Data
Limit: By default (Free/Plus), your data is used to train the model.

HALLUCINATION CONCERNS?
They're Overrated
Approach them as you would any tool: use
responsibly and verify when necessary.
Limit: LLMs may occasionally generate incorrect information.

STRUGGLING WITH LARGE DATA ?
Work Within Context Window Limits
Use other models (ChatGPT 4, Claude, etc) with larger context
windows, call the API directly, or split up work being done.
Limit: 8k (ChatGPT Free), 32k (ChatGPT Plus), 4k output (all), 4 tokens = ~3 words. Max output is ~1.5 pages.

OUTDATED INFORMATION?
Model Data Is Not Current
Use newer models (ChatGPT 4) or add new data to
the context window.
Limit: ChatGPT 3.5 (Jan 2022), ChatGPT 4(Dec 2023).

INCORRECT MATH CALCULATIONS?
Calculate Math Pragmatically
Use Advanced Data Analytics (ChatGPT Plus) if you
need precise math or data calculations.
Limit: LLMs are incapable of performing mathematical calculations.

FRUSTRATED WITH LOSING CONTEXT?
Master ChatGPT's Memory Tools
Utilize memory techniques, including threaded conversations,
Custom Instructions, and CustomGPTs. Refresh existing prompts
rather than starting new threads to maintain context.
Limit: Contextual memory is limited by session or conversation length; resets may occur unpredictably.

STRUGGLING WITH PERSONAL DATA?
Understand RAG Limitations
Work within the known limitations for optimal
results, and consider fine tuning your input data.
Limit: Augmented data (via RAG including MS Copilot) generally fails with aggregate data reasoning.

HITTING USAGE CAPS?
Maximize Your Query Efficiency
Workaround by including multiple questions in a single query,
employing dynamic calling strategies, using ChatGPT 3.5 for simpler
questions, or using the API playground.
Limit: 60 calls per 3 hours (ChatGPT 4.0).

RESISTING CHANGE
Choosing not to use and resisting LLMs today is like choosing
to ignore the Internet back in the 90s;
It’s crazy.

CALL TO ACTION
Install ChatGPT, upgrade to Plus, apply the lessons learned
and avoid missing out on this Massive Productivity Leap.
At work, push for MS Co-pilot, GitHub Co-pilot, or ChatGPT
Teams to advance productivity.