SlideShare a Scribd company logo
1 of 27
Download to read offline
AI Deep Dive
A Journey through
Heroku/OpenAI Integration
Shelly Sousa
Enterprise Architect, CoBank
Credentialing SME
TDX 24 Speaker
14x Salesforce Certified
10x Industry Certified
Five Star Ranger
https://www.linkedin.com/in/shellybsousa
Agenda
● Heroku Employee Database GPT
● Heroku Ask PDF GPT
● Architectural Considerations for Custom GPTs
● Salesforce Certified AI Associate
○ Bonus Demo: GPT Study Buddy
Thank you Julián!
Julián Duque
Principal Developer Advocate at Heroku
Heroku Employee
Database GPT
User Story
Title: Search an Employee Database using Generative AI
As a Human Resources Representative
I want to use Generative AI to search and retrieve information from our employee database
So that I can quickly and efficiently find details about employees without manually sifting through records
Acceptance Criteria
1. Search Capability: I can search using natural language (e.g. “Provide the names of all employees hired in 2022.”)
2. Accurate Results: The AI understands the context of my inquiries and returns accurate and relevant information.
3. Fast response times: The system provides requested information in seconds.
4. User-Friendly Interface: The interface is intuitive, requiring minimal technical knowledge to operate
5. Data Security and Privacy Compliance: The system adheres to applicable data privacy laws and company policies
regarding employee data.
Demo
Components
● Heroku
○ Cloud Development platform supporting multiple programming languages. Provides web hosting, server management,
monitoring, and features like managed database services
● PostgreSQL Database
○ Open source object-relational database system.
● OpenAI Chat Completions API
○ The Chat completions endpoint accepts text as input and uses an OpenAI model (GPT-4) to generate an output.
● Node.js
○ Backend API server using OpenAI Node API library. Provides access to the OpenAI REST API.
Getting started
● Heroku
● OpenAI API
● Github
● https://blog.heroku.com/gpt-backed-heroku-api
● https://github.com/heroku-reference-apps/employee-directory-gpt-action
Heroku Ask PDF GPT
User Story
Title: Search a PDF using Generative AI
As a company employee
I want to use Generative AI to search complex PDF documents
So that I can easily gain insights and generate summaries without manually analyzing a full PDF
Acceptance Criteria
1. Search Capability: I can search using natural language (e.g. “Provide a summary of this document.”).
2. Accurate Results: The AI understands the context of my inquiries and returns accurate and relevant information.
3. Fast response times: The system provides requested information in seconds.
4. User-Friendly Interface: The interface is intuitive, requiring minimal technical knowledge to operate
5. Data Security and Privacy Compliance: The system adheres to applicable data privacy laws and company policies
regarding sensitive documents.
Demo
Components
● Heroku
○ Cloud Development platform supporting multiple programming languages.
● PostgreSQL Database
○ Open source object-relational database system
● pgvector
○ Open-source extension for PostgreSQL designed to efficiently store and search through large volumes of vector data.
● OpenAI Embeddings API
○ The Embeddings endpoint accepts text as input and measures the relatedness of text strings
● AWS S3
○ Simple Storage Service to store the PDF so it can be accessed throughout the process
Vector What?
Vectors, in this context, refer to lists or arrays of numbers which can represent various types
of data, such as features extracted from images, text, or other multidimensional data.
Embeddings are like an index that group similar pieces of data together. So “dog” might be
similar to “cat” because they are both pets and animals.
pgvector makes it easier and faster to handle and search through complex data directly
where it’s stored (like in a PostgreSQL database).
Getting started
● Heroku
● OpenAI API
● AWS
● Github
● https://github.com/heroku-reference-apps/ask-pdf
Architectural
Considerations for
Custom GPTs
Considerations
● Pros
○ Tailored performance
○ Control over data
○ Privacy and security
○ Unique features
○ Competitive advantage
● Cons
○ High Costs
○ Technical expertise
○ Resource intensive
○ Scalability challenges
○ Ethics and compliance
AI Associate Exam
Overview
Who Is a Salesforce Certified AI Associate?
Invested in Salesforce Customer 360 Platform
Validate foundational knowledge of and interest in Salesforce
Committed to driving success with AI + Data
Understand importance of data quality and its application to AI
Ready to bring positive change with AI
Develop a foundation of trust with customers
Validate Foundational Skills in Four Key Areas
39%
Ethical Considerations
of AI
36%
Data for AI
8%
AI Capabilities in CRM
17%
AI Fundamentals
Prepare for Your Exam
Exam Guide
About the Exam
Audience Description
Recommended Training and References
Exam Outline
Candidate Code of Conduct
Maintenance Information
Trailmix
Artificial Intelligence Fundamentals
Generative AI Basics
Natural Language Processing Basics
Meet Salesforce’s Trusted AI Principles
Responsible Creation of Artificial
Intelligence
Data Analytics Fundamentals
PLUS:
Cert Prep
Module
Navigate the Exam Experience
Exam Details
40 multiple-choice questions
70 minutes
65% passing score
Cost
$75 USD
$0 USD retake fee
Delivery Options
Proctored exam delivered onsite at testing center
Online proctored environment
AI Study Buddy Demo
AI Deep Dive_ A Journey through Heroku_OpenAI Integration.pdf
AI Deep Dive_ A Journey through Heroku_OpenAI Integration.pdf

More Related Content

Similar to AI Deep Dive_ A Journey through Heroku_OpenAI Integration.pdf

Data Science Pipelines in Python using Luigi
Data Science Pipelines in Python using LuigiData Science Pipelines in Python using Luigi
Data Science Pipelines in Python using LuigiShivam Bansal
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
Worst Practices in Artificial Intelligence
Worst Practices in Artificial IntelligenceWorst Practices in Artificial Intelligence
Worst Practices in Artificial IntelligenceWilliam Tsoi
 
Keynote: Harnessing the power of Elasticsearch for simplified search
Keynote: Harnessing the power of Elasticsearch for simplified searchKeynote: Harnessing the power of Elasticsearch for simplified search
Keynote: Harnessing the power of Elasticsearch for simplified searchElasticsearch
 
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...NadinaLisbon1
 
2016_Mrutyunjaya_SharePoint2013
2016_Mrutyunjaya_SharePoint2013 2016_Mrutyunjaya_SharePoint2013
2016_Mrutyunjaya_SharePoint2013 Mrutyunjaya Rath
 
Heroku Connect: The New Way to Build Connected Customer Applications
Heroku Connect: The New Way to Build Connected Customer ApplicationsHeroku Connect: The New Way to Build Connected Customer Applications
Heroku Connect: The New Way to Build Connected Customer ApplicationsHeroku
 
Gen AI Cognizant & AWS event presentation_12 Oct.pdf
Gen AI Cognizant & AWS event presentation_12 Oct.pdfGen AI Cognizant & AWS event presentation_12 Oct.pdf
Gen AI Cognizant & AWS event presentation_12 Oct.pdfPhilipBasford
 
Tejas bichave m tech python
Tejas bichave  m tech pythonTejas bichave  m tech python
Tejas bichave m tech pythontejas bichave
 
Accelerate ML Deployment with H2O Driverless AI on AWS
Accelerate ML Deployment with H2O Driverless AI on AWSAccelerate ML Deployment with H2O Driverless AI on AWS
Accelerate ML Deployment with H2O Driverless AI on AWSSri Ambati
 
Session 2023-11.pptx
Session 2023-11.pptxSession 2023-11.pptx
Session 2023-11.pptxAndreeaTom
 
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Naoki (Neo) SATO
 
Semantic search in the cloud
Semantic search in the cloudSemantic search in the cloud
Semantic search in the cloudlucenerevolution
 
Running Data Platforms Like Products
Running Data Platforms Like ProductsRunning Data Platforms Like Products
Running Data Platforms Like ProductsVMware Tanzu
 

Similar to AI Deep Dive_ A Journey through Heroku_OpenAI Integration.pdf (20)

Data Science Pipelines in Python using Luigi
Data Science Pipelines in Python using LuigiData Science Pipelines in Python using Luigi
Data Science Pipelines in Python using Luigi
 
Resume
ResumeResume
Resume
 
Data-Driven @ Netflix
Data-Driven @ NetflixData-Driven @ Netflix
Data-Driven @ Netflix
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
Worst Practices in Artificial Intelligence
Worst Practices in Artificial IntelligenceWorst Practices in Artificial Intelligence
Worst Practices in Artificial Intelligence
 
Keynote: Harnessing the power of Elasticsearch for simplified search
Keynote: Harnessing the power of Elasticsearch for simplified searchKeynote: Harnessing the power of Elasticsearch for simplified search
Keynote: Harnessing the power of Elasticsearch for simplified search
 
Resume
ResumeResume
Resume
 
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
 
Sujeet Kumar
Sujeet KumarSujeet Kumar
Sujeet Kumar
 
Semantic SharePoint
Semantic SharePointSemantic SharePoint
Semantic SharePoint
 
2016_Mrutyunjaya_SharePoint2013
2016_Mrutyunjaya_SharePoint2013 2016_Mrutyunjaya_SharePoint2013
2016_Mrutyunjaya_SharePoint2013
 
Heroku Connect: The New Way to Build Connected Customer Applications
Heroku Connect: The New Way to Build Connected Customer ApplicationsHeroku Connect: The New Way to Build Connected Customer Applications
Heroku Connect: The New Way to Build Connected Customer Applications
 
Gen AI Cognizant & AWS event presentation_12 Oct.pdf
Gen AI Cognizant & AWS event presentation_12 Oct.pdfGen AI Cognizant & AWS event presentation_12 Oct.pdf
Gen AI Cognizant & AWS event presentation_12 Oct.pdf
 
Tejas bichave m tech python
Tejas bichave  m tech pythonTejas bichave  m tech python
Tejas bichave m tech python
 
Accelerate ML Deployment with H2O Driverless AI on AWS
Accelerate ML Deployment with H2O Driverless AI on AWSAccelerate ML Deployment with H2O Driverless AI on AWS
Accelerate ML Deployment with H2O Driverless AI on AWS
 
Session 2023-11.pptx
Session 2023-11.pptxSession 2023-11.pptx
Session 2023-11.pptx
 
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
 
Semantic search in the cloud
Semantic search in the cloudSemantic search in the cloud
Semantic search in the cloud
 
Running Data Platforms Like Products
Running Data Platforms Like ProductsRunning Data Platforms Like Products
Running Data Platforms Like Products
 
Himanshu Bhatia Resume
Himanshu Bhatia ResumeHimanshu Bhatia Resume
Himanshu Bhatia Resume
 

Recently uploaded

Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...rajveerescorts2022
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756dollysharma2066
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...lizamodels9
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with CultureSeta Wicaksana
 

Recently uploaded (20)

Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 

AI Deep Dive_ A Journey through Heroku_OpenAI Integration.pdf

  • 1. AI Deep Dive A Journey through Heroku/OpenAI Integration
  • 2. Shelly Sousa Enterprise Architect, CoBank Credentialing SME TDX 24 Speaker 14x Salesforce Certified 10x Industry Certified Five Star Ranger https://www.linkedin.com/in/shellybsousa
  • 3. Agenda ● Heroku Employee Database GPT ● Heroku Ask PDF GPT ● Architectural Considerations for Custom GPTs ● Salesforce Certified AI Associate ○ Bonus Demo: GPT Study Buddy
  • 4. Thank you Julián! Julián Duque Principal Developer Advocate at Heroku
  • 6. User Story Title: Search an Employee Database using Generative AI As a Human Resources Representative I want to use Generative AI to search and retrieve information from our employee database So that I can quickly and efficiently find details about employees without manually sifting through records Acceptance Criteria 1. Search Capability: I can search using natural language (e.g. “Provide the names of all employees hired in 2022.”) 2. Accurate Results: The AI understands the context of my inquiries and returns accurate and relevant information. 3. Fast response times: The system provides requested information in seconds. 4. User-Friendly Interface: The interface is intuitive, requiring minimal technical knowledge to operate 5. Data Security and Privacy Compliance: The system adheres to applicable data privacy laws and company policies regarding employee data.
  • 8. Components ● Heroku ○ Cloud Development platform supporting multiple programming languages. Provides web hosting, server management, monitoring, and features like managed database services ● PostgreSQL Database ○ Open source object-relational database system. ● OpenAI Chat Completions API ○ The Chat completions endpoint accepts text as input and uses an OpenAI model (GPT-4) to generate an output. ● Node.js ○ Backend API server using OpenAI Node API library. Provides access to the OpenAI REST API.
  • 9.
  • 10. Getting started ● Heroku ● OpenAI API ● Github ● https://blog.heroku.com/gpt-backed-heroku-api ● https://github.com/heroku-reference-apps/employee-directory-gpt-action
  • 12. User Story Title: Search a PDF using Generative AI As a company employee I want to use Generative AI to search complex PDF documents So that I can easily gain insights and generate summaries without manually analyzing a full PDF Acceptance Criteria 1. Search Capability: I can search using natural language (e.g. “Provide a summary of this document.”). 2. Accurate Results: The AI understands the context of my inquiries and returns accurate and relevant information. 3. Fast response times: The system provides requested information in seconds. 4. User-Friendly Interface: The interface is intuitive, requiring minimal technical knowledge to operate 5. Data Security and Privacy Compliance: The system adheres to applicable data privacy laws and company policies regarding sensitive documents.
  • 13. Demo
  • 14. Components ● Heroku ○ Cloud Development platform supporting multiple programming languages. ● PostgreSQL Database ○ Open source object-relational database system ● pgvector ○ Open-source extension for PostgreSQL designed to efficiently store and search through large volumes of vector data. ● OpenAI Embeddings API ○ The Embeddings endpoint accepts text as input and measures the relatedness of text strings ● AWS S3 ○ Simple Storage Service to store the PDF so it can be accessed throughout the process
  • 15.
  • 16. Vector What? Vectors, in this context, refer to lists or arrays of numbers which can represent various types of data, such as features extracted from images, text, or other multidimensional data. Embeddings are like an index that group similar pieces of data together. So “dog” might be similar to “cat” because they are both pets and animals. pgvector makes it easier and faster to handle and search through complex data directly where it’s stored (like in a PostgreSQL database).
  • 17. Getting started ● Heroku ● OpenAI API ● AWS ● Github ● https://github.com/heroku-reference-apps/ask-pdf
  • 19. Considerations ● Pros ○ Tailored performance ○ Control over data ○ Privacy and security ○ Unique features ○ Competitive advantage ● Cons ○ High Costs ○ Technical expertise ○ Resource intensive ○ Scalability challenges ○ Ethics and compliance
  • 21. Who Is a Salesforce Certified AI Associate? Invested in Salesforce Customer 360 Platform Validate foundational knowledge of and interest in Salesforce Committed to driving success with AI + Data Understand importance of data quality and its application to AI Ready to bring positive change with AI Develop a foundation of trust with customers
  • 22. Validate Foundational Skills in Four Key Areas 39% Ethical Considerations of AI 36% Data for AI 8% AI Capabilities in CRM 17% AI Fundamentals
  • 23. Prepare for Your Exam Exam Guide About the Exam Audience Description Recommended Training and References Exam Outline Candidate Code of Conduct Maintenance Information Trailmix Artificial Intelligence Fundamentals Generative AI Basics Natural Language Processing Basics Meet Salesforce’s Trusted AI Principles Responsible Creation of Artificial Intelligence Data Analytics Fundamentals PLUS: Cert Prep Module
  • 24. Navigate the Exam Experience Exam Details 40 multiple-choice questions 70 minutes 65% passing score Cost $75 USD $0 USD retake fee Delivery Options Proctored exam delivered onsite at testing center Online proctored environment