SlideShare a Scribd company logo
ChatGPTs
Gene Leybzon, Jim Steele
December 7, 2023
DISCLAIMER
§ The views and opinions expressed by the Presenter are those of the Presenter.
§ Presentation is not intended as legal or financial advice and may not be used as legal or
financial advice.
§ Every effort has been made to assure this information is up-to-date as of the date of
publication.
Agenda for today
1. Introduction to ChatGPTs
2. Key Features
3. Creating CatGPT
4. Creating Text Style Artist
5. ChatGPT Actions
6. Domain Name Search
7. Questions and Open Discussions
GPTs
Value Proposition:
Custom versions of ChatGPT that combine instructions, extra
knowledge, and any combination of skills.
Definition:
Ability to be tailored to specific needs and applications. This
customization allows users to create a ChatGPT model that is
more directly useful and relevant to their individual or
organizational requirements. GPTs enable users to incorporate
specific instructions, additional knowledge, and various skills,
enhancing their functionality in daily life, work, or other specific
areas.
There will be a GPT for everyone and everything
https://openai.com/blog/introducing-gpts
Key Features
Personalization:
•Ability to add specific instructions, enhancing the model's responses to fit particular needs.
•Inclusion of unique knowledge sets, allowing the model to provide specialized information.
Ease of Creation:
•User-friendly interface enabling anyone to build a GPT without coding expertise.
•Step-by-step guidance through the creation process, making it accessible for non-technical
users.
Versatile Applications:
•Adaptability for various sectors such as education, business, entertainment, etc.
•Examples of custom GPTs for tasks like teaching, customer support, and creative writing.
Safety and Privacy Focused:
•Strong emphasis on data protection and user privacy.
•Options to control data sharing and usage, ensuring ethical AI practices.
Community and Sharing:
•Opportunities for sharing and discovering GPTs in the GPT Store.
•Encouragement of community involvement in creating and improving GPTs.
Demo 1: How to build 🐱CatGPT 🐱?
Enter
Application
Name and
Description
Add/edit
instructions
Add
application
data (if
any)
Add or
create icon
Publish (for
yourself) Test Publish to
the World
Add Name, Description, Prompt, and Conversation Starters
Add/edit Instructions
“Develop an interactive module that generates daily custom-
tailored advice and interesting facts about cat care. This module
should consider the specific breed, age, and personality traits of
the user's cat. Include a daily trivia quiz about feline behavior and
health, a feature for users to maintain a photo diary of their cat’s
growth and memorable moments, and a community forum where
cat owners can connect, share experiences, and seek advice. The
system should employ natural language processing to offer
conversational and engaging content, ensuring a user-friendly and
informative experience for all cat lovers.”
Upload Relevant Files and select Capabilities
Create or Upload App Icon
Save your work
Test
Check the response
Update Instructions
…The system should employ natural language processing to offer
conversational and engaging content, ensuring a user-friendly
and informative experience for all cat lovers.
Always provide URL with the link to relevant websites that talk
about cat products and services
Test Again, and Again…
Publish!
①
③
②
Demo2: Text Style Artists
Font Artist who make my text text
elegant and stylized
What would you like to make?
Demo2: Text Style Artists
Font Artist who make my text text
elegant and stylized
What would you like to make?
Name the GPT and Create Icon
Update GPT requirements from the chat
“Should produce all possible styles
available from Unicode, such as
Gothic/Bold Fraktur Script, Monospace
Script, Bold Script, Sans Serif Bold,
Double-Struck Script, as well as others.”
'Elegant Text' is a formal and professional GPT specializing in
typography, with the added capability to produce a wide range of
styles available from Unicode. It can suggest and demonstrate text
in styles like Gothic/Bold Fraktur Script, Monospace Script, Bold
Script, Sans Serif Bold, Double-Struck Script, and more. This GPT
guides users in selecting the perfect style to match the tone and
purpose of their text, whether for academic, professional, or
personal projects. It provides explanations for why certain styles
are suitable for specific contexts, combining practical advice with
typographic expertise. 'Elegant Text' maintains a formal demeanor
while offering a rich variety of typographic options, making it a
valuable resource for anyone looking to enhance their textual
presentations.
⬇️ ⬇️ ⬇️ ⬇️
Test 𝔊𝔬𝔱𝔥𝔦𝔠 𝔖𝔠𝔯𝔦𝔭𝔱
Connecting your GPT to your API
Actions are custom functionalities that can be added to GPT
models, allowing them to integrate with external data sources
or interact with real-world systems. This feature extends the
built-in capabilities of GPTs by enabling connections to
databases, email systems, e-commerce platforms, and more.
For example, a GPT could be integrated with a travel listings
database, connected to a user's email inbox, or used to
assist with online shopping.
Action example: domain name search GPT
1.The User accesses and authenticates on ChatGPT at
chat.openai.com.
2.The User sends a request.
3.ChatGPT calls the AWS Infrastructure, specifically the AWS
API Gateway.
4.The AWS API Gateway triggers an AWS Lambda function.
5.AWS Lambda checks domain availability via DNS.
6.DNS returns the domain status to AWS Lambda.
7.AWS Lambda returns the result to the AWS API Gateway.
8.The AWS API Gateway sends the response back to ChatGPT.
9.ChatGPT responds to the User.
GPT Configuration
Action Configuration
λ - FUNCTION
'use strict';
import { resolve } from 'dns/promises';
function isValidDomain(domain) {
const domainRegex = /^(?!-)([A-Za-z0-9-]{1,63}(?<!-).)+[A-Za-z]{2,}$/;
return domainRegex.test(domain);
}
export const handler = async (event, context, callback) => {
console.log('Received event:', JSON.stringify(event, null, 2));
let body;
let statusCode = '200';
const headers = {
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': '*',
'Access-Control-Allow-Headers': '*'
};
console.log("event", event);
const domainName = event.queryStringParameters.name;
console.log("domain:", domainName);
let isAvailable = false;
let message = "";
if (isValidDomain(domainName)) {
try {
await resolveDomain(domainName);
}
catch (error) {
isAvailable = true;
}
if (isAvailable) {
message = `${domainName} seems to be available (no DNS records found)!`;
}
else {
message = `${domainName} has DNS records. It's likely taken.`;
}
}
else {
message = "Ivalid domain name";
}
body = JSON.stringify({
domainName: domainName,
available: isAvailable,
message: message
});
return {
statusCode,
body,
headers,
};
};
const resolveDomain = async (domainName) => {
try {
return await resolve(domainName);
}
catch (error) {
throw error;
}
};
Domain name search demo
QUESTIONS?
About Presenter
https://www.meetup.com/members/9074420/
https://www.linkedin.com/in/leybzon/
BACKUP SLIDES
Architecture of AI Systems - Direct User Interaction
with LLM
Summary: User communicates directly
with web-based application, for
example, by connecting to
https://chat.openai.com/
Architecture of AI Systems - Direct User Interaction
with LLM
Generative AI architecture
Generative AI architecture
Generative AI architecture

More Related Content

Chat GPTs

  • 1. ChatGPTs Gene Leybzon, Jim Steele December 7, 2023
  • 2. DISCLAIMER § The views and opinions expressed by the Presenter are those of the Presenter. § Presentation is not intended as legal or financial advice and may not be used as legal or financial advice. § Every effort has been made to assure this information is up-to-date as of the date of publication.
  • 3. Agenda for today 1. Introduction to ChatGPTs 2. Key Features 3. Creating CatGPT 4. Creating Text Style Artist 5. ChatGPT Actions 6. Domain Name Search 7. Questions and Open Discussions
  • 4. GPTs Value Proposition: Custom versions of ChatGPT that combine instructions, extra knowledge, and any combination of skills. Definition: Ability to be tailored to specific needs and applications. This customization allows users to create a ChatGPT model that is more directly useful and relevant to their individual or organizational requirements. GPTs enable users to incorporate specific instructions, additional knowledge, and various skills, enhancing their functionality in daily life, work, or other specific areas.
  • 5. There will be a GPT for everyone and everything https://openai.com/blog/introducing-gpts
  • 6. Key Features Personalization: •Ability to add specific instructions, enhancing the model's responses to fit particular needs. •Inclusion of unique knowledge sets, allowing the model to provide specialized information. Ease of Creation: •User-friendly interface enabling anyone to build a GPT without coding expertise. •Step-by-step guidance through the creation process, making it accessible for non-technical users. Versatile Applications: •Adaptability for various sectors such as education, business, entertainment, etc. •Examples of custom GPTs for tasks like teaching, customer support, and creative writing. Safety and Privacy Focused: •Strong emphasis on data protection and user privacy. •Options to control data sharing and usage, ensuring ethical AI practices. Community and Sharing: •Opportunities for sharing and discovering GPTs in the GPT Store. •Encouragement of community involvement in creating and improving GPTs.
  • 7. Demo 1: How to build 🐱CatGPT 🐱? Enter Application Name and Description Add/edit instructions Add application data (if any) Add or create icon Publish (for yourself) Test Publish to the World
  • 8. Add Name, Description, Prompt, and Conversation Starters
  • 9. Add/edit Instructions “Develop an interactive module that generates daily custom- tailored advice and interesting facts about cat care. This module should consider the specific breed, age, and personality traits of the user's cat. Include a daily trivia quiz about feline behavior and health, a feature for users to maintain a photo diary of their cat’s growth and memorable moments, and a community forum where cat owners can connect, share experiences, and seek advice. The system should employ natural language processing to offer conversational and engaging content, ensuring a user-friendly and informative experience for all cat lovers.”
  • 10. Upload Relevant Files and select Capabilities
  • 11. Create or Upload App Icon
  • 13. Test
  • 15. Update Instructions …The system should employ natural language processing to offer conversational and engaging content, ensuring a user-friendly and informative experience for all cat lovers. Always provide URL with the link to relevant websites that talk about cat products and services
  • 16. Test Again, and Again…
  • 18. Demo2: Text Style Artists Font Artist who make my text text elegant and stylized What would you like to make?
  • 19. Demo2: Text Style Artists Font Artist who make my text text elegant and stylized What would you like to make?
  • 20. Name the GPT and Create Icon
  • 21. Update GPT requirements from the chat “Should produce all possible styles available from Unicode, such as Gothic/Bold Fraktur Script, Monospace Script, Bold Script, Sans Serif Bold, Double-Struck Script, as well as others.” 'Elegant Text' is a formal and professional GPT specializing in typography, with the added capability to produce a wide range of styles available from Unicode. It can suggest and demonstrate text in styles like Gothic/Bold Fraktur Script, Monospace Script, Bold Script, Sans Serif Bold, Double-Struck Script, and more. This GPT guides users in selecting the perfect style to match the tone and purpose of their text, whether for academic, professional, or personal projects. It provides explanations for why certain styles are suitable for specific contexts, combining practical advice with typographic expertise. 'Elegant Text' maintains a formal demeanor while offering a rich variety of typographic options, making it a valuable resource for anyone looking to enhance their textual presentations. ⬇️ ⬇️ ⬇️ ⬇️
  • 23. Connecting your GPT to your API Actions are custom functionalities that can be added to GPT models, allowing them to integrate with external data sources or interact with real-world systems. This feature extends the built-in capabilities of GPTs by enabling connections to databases, email systems, e-commerce platforms, and more. For example, a GPT could be integrated with a travel listings database, connected to a user's email inbox, or used to assist with online shopping.
  • 24. Action example: domain name search GPT 1.The User accesses and authenticates on ChatGPT at chat.openai.com. 2.The User sends a request. 3.ChatGPT calls the AWS Infrastructure, specifically the AWS API Gateway. 4.The AWS API Gateway triggers an AWS Lambda function. 5.AWS Lambda checks domain availability via DNS. 6.DNS returns the domain status to AWS Lambda. 7.AWS Lambda returns the result to the AWS API Gateway. 8.The AWS API Gateway sends the response back to ChatGPT. 9.ChatGPT responds to the User.
  • 27. λ - FUNCTION 'use strict'; import { resolve } from 'dns/promises'; function isValidDomain(domain) { const domainRegex = /^(?!-)([A-Za-z0-9-]{1,63}(?<!-).)+[A-Za-z]{2,}$/; return domainRegex.test(domain); } export const handler = async (event, context, callback) => { console.log('Received event:', JSON.stringify(event, null, 2)); let body; let statusCode = '200'; const headers = { 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': '*', 'Access-Control-Allow-Headers': '*' }; console.log("event", event); const domainName = event.queryStringParameters.name; console.log("domain:", domainName); let isAvailable = false; let message = ""; if (isValidDomain(domainName)) { try { await resolveDomain(domainName); } catch (error) { isAvailable = true; } if (isAvailable) { message = `${domainName} seems to be available (no DNS records found)!`; } else { message = `${domainName} has DNS records. It's likely taken.`; } } else { message = "Ivalid domain name"; } body = JSON.stringify({ domainName: domainName, available: isAvailable, message: message }); return { statusCode, body, headers, }; }; const resolveDomain = async (domainName) => { try { return await resolve(domainName); } catch (error) { throw error; } };
  • 32. Architecture of AI Systems - Direct User Interaction with LLM Summary: User communicates directly with web-based application, for example, by connecting to https://chat.openai.com/
  • 33. Architecture of AI Systems - Direct User Interaction with LLM

Editor's Notes

  1. https://chat.openai.com/gpts/editor
  2. /FelineBehaviorGLS.pdf
  3. https://chat.openai.com/g/g-VQeRrefbz-catgpt
  4. Font Artist who make my text text elegant and stylized
  5. Font Artist who make my text text elegant and stylized
  6. Should produce all possible styles available from Unicode, such as Gothic/Bold Fraktur Script, Monospace Script, Bold Script, Sans Serif Bold, Double-Struck Script, as well as others
  7. Elegant Text Certainly! The phrase "Hello!" in Gothic Script, particularly in a style resembling traditional Blackletter or Fraktur, looks like this: 𝔗𝔥𝔢 𝔭𝔥𝔯𝔞𝔰𝔢 "𝔗𝔥𝔢𝔩𝔩𝔬!" 𝔦𝔫 𝔊𝔬𝔱𝔥𝔦𝔠 𝔖𝔠𝔯𝔦𝔭𝔱
  8. 'use strict'; import { resolve } from 'dns/promises'; function isValidDomain(domain) { const domainRegex = /^(?!-)([A-Za-z0-9-]{1,63}(?<!-)\.)+[A-Za-z]{2,}$/; return domainRegex.test(domain); } export const handler = async (event, context, callback) => { console.log('Received event:', JSON.stringify(event, null, 2)); let body; let statusCode = '200'; const headers = { 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': '*', 'Access-Control-Allow-Headers': '*' }; console.log("event", event); const domainName = event.queryStringParameters.name; console.log("domain:", domainName); let isAvailable = false; let message = ""; if (isValidDomain(domainName)) { try { await resolveDomain(domainName); } catch (error) { isAvailable = true; } if (isAvailable) { message = `${domainName} seems to be available (no DNS records found)!`; } else { message = `${domainName} has DNS records. It's likely taken.`; } } else { message = "Ivalid domain name"; } body = JSON.stringify({ domainName: domainName, available: isAvailable, message: message }); return { statusCode, body, headers, }; }; const resolveDomain = async (domainName) => { try { return await resolve(domainName); } catch (error) { throw error; } };