SlideShare a Scribd company logo
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.
AI Deep Dive_ A Journey through Heroku_OpenAI Integration.pdf
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
AI Deep Dive_ A Journey through Heroku_OpenAI Integration.pdf
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

PDF
AI assisted testing using postman and openAI.pdf
PPTX
Intelligent Software Engineering: Synergy between AI and Software Engineering
PPTX
ACM Chicago March 2019 meeting: Software Engineering and AI - Prof. Tao Xie, ...
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
PDF
TechEvent 2019: Artificial Intelligence in Dev & Ops; Martin Luckow - Trivadis
PPTX
Agile Chennai 30-31Aug 2024 | AI Powered Digital Employee Experience by Chand...
PDF
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
PDF
Generative AI Integration: A Simple Guide
AI assisted testing using postman and openAI.pdf
Intelligent Software Engineering: Synergy between AI and Software Engineering
ACM Chicago March 2019 meeting: Software Engineering and AI - Prof. Tao Xie, ...
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
TechEvent 2019: Artificial Intelligence in Dev & Ops; Martin Luckow - Trivadis
Agile Chennai 30-31Aug 2024 | AI Powered Digital Employee Experience by Chand...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Generative AI Integration: A Simple Guide

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

DOCX
Advance Your Career with AI Engineer Certification - Shop Today!
DOCX
Advance Your Career with AI Engineer Certification - Shop Today
PPTX
Major Project Presentation (7th Sem) - Code Detection.pptx
PDF
apidays Paris 2024 - The Power of Generative AI in API Product Testing and Va...
PPTX
Building Your Own AI Instance (TBLC AI )
PDF
GDG Cloud Southlake 31: Santosh Chennuri and Festus Yeboah: Empowering Develo...
PDF
AI 2023.pdf
PDF
Generative AI for Trailblazers_ Unlock the Future of AI.pdf
PDF
chatgptandthefutureofwork-clarkboyd1-230329144127-81b35f6b (3).pdf
PDF
ChatGPT and the Future of Work - Clark Boyd
PDF
DevTour25_Harness_Powerof_LLMs_GenAI_V1.0_1747121713796001qCJ4.pdf
PDF
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
PPTX
Get the most from AI with Eggplant
PDF
ANIn Pune July 2023 |Prompt Engineering and AI first SDLC by Abhijit Shah
PDF
Gen AI Cognizant & AWS event presentation_12 Oct.pdf
PDF
Shift Remote: AI: Behind the scenes development in an AI company - Matija Ili...
PDF
Shift Remote AI: Behind the Scenes Development in an AI Company - Matija Ilij...
PDF
Understanding Generative AI in Software Development
PDF
The Impact of Generative AI-Powered Code Generation Tools on Software Enginee...
PDF
20240411 QFM009 Machine Intelligence Reading List March 2024
Advance Your Career with AI Engineer Certification - Shop Today!
Advance Your Career with AI Engineer Certification - Shop Today
Major Project Presentation (7th Sem) - Code Detection.pptx
apidays Paris 2024 - The Power of Generative AI in API Product Testing and Va...
Building Your Own AI Instance (TBLC AI )
GDG Cloud Southlake 31: Santosh Chennuri and Festus Yeboah: Empowering Develo...
AI 2023.pdf
Generative AI for Trailblazers_ Unlock the Future of AI.pdf
chatgptandthefutureofwork-clarkboyd1-230329144127-81b35f6b (3).pdf
ChatGPT and the Future of Work - Clark Boyd
DevTour25_Harness_Powerof_LLMs_GenAI_V1.0_1747121713796001qCJ4.pdf
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Get the most from AI with Eggplant
ANIn Pune July 2023 |Prompt Engineering and AI first SDLC by Abhijit Shah
Gen AI Cognizant & AWS event presentation_12 Oct.pdf
Shift Remote: AI: Behind the scenes development in an AI company - Matija Ili...
Shift Remote AI: Behind the Scenes Development in an AI Company - Matija Ilij...
Understanding Generative AI in Software Development
The Impact of Generative AI-Powered Code Generation Tools on Software Enginee...
20240411 QFM009 Machine Intelligence Reading List March 2024
Ad

Recently uploaded (20)

DOCX
unit 1 COST ACCOUNTING AND COST SHEET
PDF
Laughter Yoga Basic Learning Workshop Manual
DOCX
Business Management - unit 1 and 2
PDF
Nidhal Samdaie CV - International Business Consultant
PDF
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
PDF
Types of control:Qualitative vs Quantitative
PDF
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
PPTX
ICG2025_ICG 6th steering committee 30-8-24.pptx
PDF
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
PPTX
Probability Distribution, binomial distribution, poisson distribution
PPTX
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
PPTX
New Microsoft PowerPoint Presentation - Copy.pptx
PDF
IFRS Notes in your pocket for study all the time
PDF
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
PDF
Reconciliation AND MEMORANDUM RECONCILATION
PDF
A Brief Introduction About Julia Allison
PPTX
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
PDF
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
PPT
Data mining for business intelligence ch04 sharda
unit 1 COST ACCOUNTING AND COST SHEET
Laughter Yoga Basic Learning Workshop Manual
Business Management - unit 1 and 2
Nidhal Samdaie CV - International Business Consultant
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
Types of control:Qualitative vs Quantitative
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
ICG2025_ICG 6th steering committee 30-8-24.pptx
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
Probability Distribution, binomial distribution, poisson distribution
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
New Microsoft PowerPoint Presentation - Copy.pptx
IFRS Notes in your pocket for study all the time
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
Reconciliation AND MEMORANDUM RECONCILATION
A Brief Introduction About Julia Allison
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
Data mining for business intelligence ch04 sharda
Ad

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.
  • 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
  • 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