SlideShare a Scribd company logo
Unlocking Oracle Database Mysteries:
AHF Insights and the AI-LLM Duo
Sandesh Rao
VP AIOps and Machine Learning , Autonomous Database
@sandeshr
https://www.linkedin.com/in/raosandesh/
https://www.slideshare.net/SandeshRao4
Copyright © 2024, Oracle and/or its affiliates
2
1. AHF AIOPs platform
2. Challenges faced by Support & DevOps Engineers
3. Diagnostic Assistant - Solution
4. Diagnostic Assistant - High Level Architecture
5. Benefits of using NLU techniques and LLMs together
6. Support User Workflow
7. Intent Classification Overview
8. LLM - RAG Pipeline
Agenda
Copyright © 2024, Oracle and/or its affiliates
3
Observe Engage
Automate
AHF
AIOps
Realtime
data
Historical
data
Notification
Collaboration
Compliance
Incident
detection
Diagnostic
collection
Issue / Service Request
Cause & solution
identification
Runbooks
Machine
Learning
Health
Availability
Performance
Capacity
Logs
Scripts
Health
Checks Anomaly
Detection
Email
Pager
Jira
Bug
SR
Slack
ACR Sanitization
Copyright © 2024, Oracle and/or its affiliates
4
Fleet Level - Data Collection Fleet Level - Event Distribution
Copyright © 2024, Oracle and/or its affiliates
5
Fleet Level - Best Practice Issue Distribution
Copyright © 2024, Oracle and/or its affiliates
Cluster Level - AHF Insights
Copyright © 2024, Oracle and/or its affiliates
Event Information Best Practice Violations
Copyright © 2024, Oracle and/or its affiliates
Operating System Metrics
Copyright © 2024, Oracle and/or its affiliates
Anomaly Identification & Root Cause Analysis
Copyright © 2024, Oracle and/or its affiliates
10
Software Recommendations
RPMs
Copyright © 2024, Oracle and/or its affiliates
11
1. Loss of time
• Delays in information retrieval for triaging & debugging
• Manual and repetitive tasks that could be automated
• Managing a high volume of support tickets and requests
• Delayed resolution results in customer dissatisfaction
2. Information Overload
• Complex Systems and Integrations
• Misinterpretation of logs and symptoms leading to incorrect troubleshooting steps
3. Information silos / Navigation Issues
• Issue navigating to right source of information
• Learning curve to get accustomed to different applications
Challenges faced by Support & DevOps Engineers
Copyright © 2024, Oracle and/or its affiliates
12
When was the last patch applied ?
Any OS Issues identified 15 minute
before 3 AM ?
What are the CRS issues from alert
log around 3 AM ?
What are the major events between
8AM to 9AM ?
What is a node eviction issue ?
Are there any slow queries or
database performance issues?
What is the purpose of log writer
process ?
Support / DevOps
Information Engineers Need for troubleshooting
Diagnostics Specific
Product Specific
Diagnostics
Copyright © 2024, Oracle and/or its affiliates
13
1. AI Chatbot with Natural Language Support
• On-demand information retrieval using natural language queries
• Makes troubleshooting simpler and faster
2. Leverages
• Intent Classification
• Entity Recognition
• Retrieval-Augmented Generation (RAG) – LLM
- Oracle Database Documentation, Knowledge Management Documents
• Structured diagnostic data & analysis
- AHF Collection, AHF Insights
• API Integration with various internal data sources
3. Persona based user workflow automation
Diagnostic Assistant - Solution
Copyright © 2024, Oracle and/or its affiliates
14
Any OS Issues identified 15 minute
before 3AM ?
What are the CRS issues from alert
log around 3AM ?
What is a node eviction issue ?
What is the purpose of log writer
process ?
Support / DevOps
Diagnostic Assistant’s on-demand responses
Diagnostics Specific
Product Specific
Copyright © 2024, Oracle and/or its affiliates
15
• LLMs are advanced AI models trained on vast amounts of data to understand and generate human-like text
• They employ transformer architectures, which enable them to capture and process relationships between
words and phrases effectively
• GPT-3,3.5,4o (Generative Pre-trained Transformer) Developed by OpenAI , Cohere, Anthropic (Claude) ,
LLama 2,3 by Meta are examples of these LLMS
• They are known for their large scale and ability to generate coherent human-like text across a variety of
tasks
• BERT (Bidirectional Encoder Representations from Transformers) developed by Google
• BERT focuses on improving the understanding of context in natural language processing tasks
• After pre-training on this data, LLMs can be fine-tuned on specific tasks or domains by exposing them to
additional data relevant to the task at hand
Lets get the basics first
Copyright © 2024, Oracle and/or its affiliates
16
• LLMs maintain context over multiple turns of conversation, which is crucial for building coherent and
engaging chatbots.
• Besides chatbots, LLMs are used for content generation, translation, summarization, sentiment analysis
• Basic steps to build a chatbot
• Collect a diverse dataset of conversations (e.g., customer service, healthcare, education)
• Clean and preprocess the data by tokenizing sentences (e.g., punctuation, stopwords)
• Use a pre-trained LLM and fine-tune it on your specific dataset using techniques like transfer learning
• Adjust the model's parameters and training to optimize performance
• Integrate the fine-tuned LLM into a chatbot application framework (e.g Hugging Face)
• Test the chatbot rigorously to ensure it performs well across different scenarios and user inputs
• Gather user feedback and iterate on the chatbot's responses and functionalities
Lets get the basics first
Copyright © 2024, Oracle and/or its affiliates
17
Diagnostic Assistant - High Level Architecture
Copyright © 2024, Oracle and/or its affiliates
18
1. NLU (Intent + Entity Recognition)
1. Advantages
1. Provides accurate & repeatable results
2. Provides structured responses
3. Easy to reinforce new training data
4. Ability to score intent confidence
5. Items can be tailored through entity
recognition
6. Cheaper to perform the operation
2. Disadvantages
1. If low scoring intents are identified, there
are no results
2. Can support areas where APIs
corresponding to intents are available
Benefits of using NLU techniques and LLMs together
1. LLM
1. Advantages
1. Provides generative natural language
answers for a wider scope of natural
language queries
2. RAG approaches significantly increase their
scope of operations with additional
knowledge sources
2. Disadvantages
1. Does not provide repeatable results
2. Structured response require fine tuning,
prompt engineering and tailoring
3. Costly to perform the operation
Copyright © 2024, Oracle and/or its affiliates
19
Intent
Response
LLM
Response
Support User Workflow
Copyright © 2024, Oracle and/or its affiliates
20
Intent
Response
Support User Workflow
Copyright © 2024, Oracle and/or its affiliates
21
Support User Workflow
Intent
Response
Copyright © 2024, Oracle and/or its affiliates
22
Intent Classification Implementation & Feedback Loop
Confidential – Oracle Internal
25
Behind the scenes
for this bug,
change the support
contact to Marco
and the severity
to 4
Input query
0.14
-0.23
0.81
0.01
-0.97
-0.26
0.50
0.62
Embedding
0.01
0.08
0.03
0.11
0.02
0.36
0.09
0.03
Sentence
Encoder
0.01
0.27
Intent classifier
Complexity
classifier
Copyright © 2024, Oracle and/or its affiliates
26
Confusion Matrix
• Helps to visualize
• which APIs are being mis-classified
• which other API are being confused
• Helps better understand
• when there is a poor representation of a
word.
• Note
• Correct Classification are find over the
diagonal of the matrix.
• Mis-Classifications are any other position
out of the diagonal, indicating which actual
intent (row) was mis-classified as another
intent (column)
Confidential – Oracle Internal
27
Intent Samples
Intent Samples used for training
Copyright © 2024, Oracle and/or its affiliates
31
Intent Testing and Training Interface
Copyright © 2024, Oracle and/or its affiliates
32
User Feedback for Intent Training and LLM response improvement
Copyright © 2024, Oracle and/or its affiliates
33
LLM - RAG Pipeline
Confidential – Oracle Internal
34
1. Separating the knowledge base into
fixed-size chunks.
2. Vectorizing each chunk with an
embedding model.
3. Vectorizing the input/query at
inference time and using vector
search to find relevant chunks.
4. Adding relevant chunks into the
LLM’s prompt.
RAG Pipeline with customizations as per Use Case
Copyright © 2024, Oracle and/or its affiliates
35
1. No need to create very
low level tailored APIs
2. Context can be
restricted to a specific
diagnostic document
3. Better vocab and
context understanding
4. Better prompt results
from LLM (Generative,
Summarization)
Custom Diagnostic Documentation Creation
Templatization
Structured Data
Demo
Copyright © 2024, Oracle and/or its affiliates
37
1. Query : “What were the major events between
8 PM to 10 PM ?”
2. Intent Mapping : “get_bug_events”
3. Scoring: 0.30
4. What was the training dataset ?
- show me event list
- present all events for this bug
- give all detected events
- send list events
- display me all listed events
- retrieve me event types
- list me events from database obelyx_sty
- list events from host stbm000060-vm1
- give events from 30/09/2023 to 22/10/2024
- get all events from Feb to Jun
Natural Language Query -> Intent Classifier -> LLM (x)
Copyright © 2024, Oracle and/or its affiliates
38
1. Query : “How do you create a table in
Oracle database ?”
2. Intent Mapping : NO_API
3. Scoring : 0.18
4. Request passed onto LLM
Natural Language Query -> Intent Classifier (x) -> LLM
Thank you
39
Copyright © 2024, Oracle and/or its affiliates
Ad

More Related Content

Similar to Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM Duo.pdf (20)

Omc for oracle_ebs_demo_script
Omc for oracle_ebs_demo_scriptOmc for oracle_ebs_demo_script
Omc for oracle_ebs_demo_script
Syed Irfan
 
Augmentation, Collaboration, Governance: Defining the Future of Self-Service BI
Augmentation, Collaboration, Governance: Defining the Future of Self-Service BIAugmentation, Collaboration, Governance: Defining the Future of Self-Service BI
Augmentation, Collaboration, Governance: Defining the Future of Self-Service BI
Denodo
 
Resume_Informatica_4.3yrs_CSC_MCA_from_NIT_Venkat_CV.v1.0
Resume_Informatica_4.3yrs_CSC_MCA_from_NIT_Venkat_CV.v1.0Resume_Informatica_4.3yrs_CSC_MCA_from_NIT_Venkat_CV.v1.0
Resume_Informatica_4.3yrs_CSC_MCA_from_NIT_Venkat_CV.v1.0
Venkat Bathem
 
Lingustic Harmony in the Tower of Babel
Lingustic Harmony in the Tower of BabelLingustic Harmony in the Tower of Babel
Lingustic Harmony in the Tower of Babel
Ann Kelly
 
Using the power of OpenAI with your own data: what's possible and how to start?
Using the power of OpenAI with your own data: what's possible and how to start?Using the power of OpenAI with your own data: what's possible and how to start?
Using the power of OpenAI with your own data: what's possible and how to start?
Maxim Salnikov
 
How AI is transforming DevOps | Calidad Infotech
How AI is transforming DevOps | Calidad InfotechHow AI is transforming DevOps | Calidad Infotech
How AI is transforming DevOps | Calidad Infotech
Calidad Infotech
 
GenerativeAI and Automation - IEEE ACSOS 2023.pptx
GenerativeAI and Automation - IEEE ACSOS 2023.pptxGenerativeAI and Automation - IEEE ACSOS 2023.pptx
GenerativeAI and Automation - IEEE ACSOS 2023.pptx
Allen Chan
 
OSMC 2024 | SecureAI: A Scalable, Secure, and Compliant AI Solution by Leanne...
OSMC 2024 | SecureAI: A Scalable, Secure, and Compliant AI Solution by Leanne...OSMC 2024 | SecureAI: A Scalable, Secure, and Compliant AI Solution by Leanne...
OSMC 2024 | SecureAI: A Scalable, Secure, and Compliant AI Solution by Leanne...
NETWAYS
 
CV_Dhanya
CV_DhanyaCV_Dhanya
CV_Dhanya
Dhanya Jose
 
AI presentation for dummies LLM Generative AI.pptx
AI presentation for dummies LLM Generative AI.pptxAI presentation for dummies LLM Generative AI.pptx
AI presentation for dummies LLM Generative AI.pptx
emceemouli
 
Feature Store as a Data Foundation for Machine Learning
Feature Store as a Data Foundation for Machine LearningFeature Store as a Data Foundation for Machine Learning
Feature Store as a Data Foundation for Machine Learning
Provectus
 
Experimentation to Industrialization: Implementing MLOps
Experimentation to Industrialization: Implementing MLOpsExperimentation to Industrialization: Implementing MLOps
Experimentation to Industrialization: Implementing MLOps
Databricks
 
Bridging the Gap: from Data Science to Production
Bridging the Gap: from Data Science to ProductionBridging the Gap: from Data Science to Production
Bridging the Gap: from Data Science to Production
Florian Wilhelm
 
Xybion Enterprise Content and Data Management
Xybion Enterprise Content and Data Management Xybion Enterprise Content and Data Management
Xybion Enterprise Content and Data Management
Xybion Corporation
 
Chapter 1. Introduction to Software Engineering.pptx
Chapter 1. Introduction to Software Engineering.pptxChapter 1. Introduction to Software Engineering.pptx
Chapter 1. Introduction to Software Engineering.pptx
gadisaAdamu
 
Retrieval Augmented Generation A Complete Guide.pdf
Retrieval Augmented Generation A Complete Guide.pdfRetrieval Augmented Generation A Complete Guide.pdf
Retrieval Augmented Generation A Complete Guide.pdf
imoliviabennett
 
Santosh_Nayak_CV
Santosh_Nayak_CVSantosh_Nayak_CV
Santosh_Nayak_CV
Santosh Nayak
 
The Changing Role of a DBA in an Autonomous World
The Changing Role of a DBA in an Autonomous WorldThe Changing Role of a DBA in an Autonomous World
The Changing Role of a DBA in an Autonomous World
Maria Colgan
 
10 out of 10 in ERP MANAGEMENT ISSUES
10 out of 10 in ERP MANAGEMENT ISSUES10 out of 10 in ERP MANAGEMENT ISSUES
10 out of 10 in ERP MANAGEMENT ISSUES
Sivakumar Ganesan
 
Blending AI in Enterprise Architecture.pdf
Blending AI in Enterprise Architecture.pdfBlending AI in Enterprise Architecture.pdf
Blending AI in Enterprise Architecture.pdf
Calvin Hendryx-Parker
 
Omc for oracle_ebs_demo_script
Omc for oracle_ebs_demo_scriptOmc for oracle_ebs_demo_script
Omc for oracle_ebs_demo_script
Syed Irfan
 
Augmentation, Collaboration, Governance: Defining the Future of Self-Service BI
Augmentation, Collaboration, Governance: Defining the Future of Self-Service BIAugmentation, Collaboration, Governance: Defining the Future of Self-Service BI
Augmentation, Collaboration, Governance: Defining the Future of Self-Service BI
Denodo
 
Resume_Informatica_4.3yrs_CSC_MCA_from_NIT_Venkat_CV.v1.0
Resume_Informatica_4.3yrs_CSC_MCA_from_NIT_Venkat_CV.v1.0Resume_Informatica_4.3yrs_CSC_MCA_from_NIT_Venkat_CV.v1.0
Resume_Informatica_4.3yrs_CSC_MCA_from_NIT_Venkat_CV.v1.0
Venkat Bathem
 
Lingustic Harmony in the Tower of Babel
Lingustic Harmony in the Tower of BabelLingustic Harmony in the Tower of Babel
Lingustic Harmony in the Tower of Babel
Ann Kelly
 
Using the power of OpenAI with your own data: what's possible and how to start?
Using the power of OpenAI with your own data: what's possible and how to start?Using the power of OpenAI with your own data: what's possible and how to start?
Using the power of OpenAI with your own data: what's possible and how to start?
Maxim Salnikov
 
How AI is transforming DevOps | Calidad Infotech
How AI is transforming DevOps | Calidad InfotechHow AI is transforming DevOps | Calidad Infotech
How AI is transforming DevOps | Calidad Infotech
Calidad Infotech
 
GenerativeAI and Automation - IEEE ACSOS 2023.pptx
GenerativeAI and Automation - IEEE ACSOS 2023.pptxGenerativeAI and Automation - IEEE ACSOS 2023.pptx
GenerativeAI and Automation - IEEE ACSOS 2023.pptx
Allen Chan
 
OSMC 2024 | SecureAI: A Scalable, Secure, and Compliant AI Solution by Leanne...
OSMC 2024 | SecureAI: A Scalable, Secure, and Compliant AI Solution by Leanne...OSMC 2024 | SecureAI: A Scalable, Secure, and Compliant AI Solution by Leanne...
OSMC 2024 | SecureAI: A Scalable, Secure, and Compliant AI Solution by Leanne...
NETWAYS
 
AI presentation for dummies LLM Generative AI.pptx
AI presentation for dummies LLM Generative AI.pptxAI presentation for dummies LLM Generative AI.pptx
AI presentation for dummies LLM Generative AI.pptx
emceemouli
 
Feature Store as a Data Foundation for Machine Learning
Feature Store as a Data Foundation for Machine LearningFeature Store as a Data Foundation for Machine Learning
Feature Store as a Data Foundation for Machine Learning
Provectus
 
Experimentation to Industrialization: Implementing MLOps
Experimentation to Industrialization: Implementing MLOpsExperimentation to Industrialization: Implementing MLOps
Experimentation to Industrialization: Implementing MLOps
Databricks
 
Bridging the Gap: from Data Science to Production
Bridging the Gap: from Data Science to ProductionBridging the Gap: from Data Science to Production
Bridging the Gap: from Data Science to Production
Florian Wilhelm
 
Xybion Enterprise Content and Data Management
Xybion Enterprise Content and Data Management Xybion Enterprise Content and Data Management
Xybion Enterprise Content and Data Management
Xybion Corporation
 
Chapter 1. Introduction to Software Engineering.pptx
Chapter 1. Introduction to Software Engineering.pptxChapter 1. Introduction to Software Engineering.pptx
Chapter 1. Introduction to Software Engineering.pptx
gadisaAdamu
 
Retrieval Augmented Generation A Complete Guide.pdf
Retrieval Augmented Generation A Complete Guide.pdfRetrieval Augmented Generation A Complete Guide.pdf
Retrieval Augmented Generation A Complete Guide.pdf
imoliviabennett
 
The Changing Role of a DBA in an Autonomous World
The Changing Role of a DBA in an Autonomous WorldThe Changing Role of a DBA in an Autonomous World
The Changing Role of a DBA in an Autonomous World
Maria Colgan
 
10 out of 10 in ERP MANAGEMENT ISSUES
10 out of 10 in ERP MANAGEMENT ISSUES10 out of 10 in ERP MANAGEMENT ISSUES
10 out of 10 in ERP MANAGEMENT ISSUES
Sivakumar Ganesan
 
Blending AI in Enterprise Architecture.pdf
Blending AI in Enterprise Architecture.pdfBlending AI in Enterprise Architecture.pdf
Blending AI in Enterprise Architecture.pdf
Calvin Hendryx-Parker
 

More from Sandesh Rao (20)

Will Oracle 23ai make you a better DBA or Developer?
Will Oracle 23ai make you a better DBA or Developer?Will Oracle 23ai make you a better DBA or Developer?
Will Oracle 23ai make you a better DBA or Developer?
Sandesh Rao
 
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Sandesh Rao
 
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh Rao
 
Whats new in Autonomous Database in 2022
Whats new in Autonomous Database in 2022Whats new in Autonomous Database in 2022
Whats new in Autonomous Database in 2022
Sandesh Rao
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
Sandesh Rao
 
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Sandesh Rao
 
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Analysis of Database Issues using AHF and Machine Learning v2 -  SOUGAnalysis of Database Issues using AHF and Machine Learning v2 -  SOUG
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Sandesh Rao
 
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
Sandesh Rao
 
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
Sandesh Rao
 
Machine Learning and AI at Oracle
Machine Learning and AI at OracleMachine Learning and AI at Oracle
Machine Learning and AI at Oracle
Sandesh Rao
 
Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous Database
Sandesh Rao
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
Sandesh Rao
 
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
Sandesh Rao
 
TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it
Sandesh Rao
 
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmeaIntroduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Sandesh Rao
 
How to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmeaHow to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmea
Sandesh Rao
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020
Sandesh Rao
 
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEAIntroduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Sandesh Rao
 
20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database
Sandesh Rao
 
TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new
Sandesh Rao
 
Will Oracle 23ai make you a better DBA or Developer?
Will Oracle 23ai make you a better DBA or Developer?Will Oracle 23ai make you a better DBA or Developer?
Will Oracle 23ai make you a better DBA or Developer?
Sandesh Rao
 
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Sandesh Rao
 
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh Rao
 
Whats new in Autonomous Database in 2022
Whats new in Autonomous Database in 2022Whats new in Autonomous Database in 2022
Whats new in Autonomous Database in 2022
Sandesh Rao
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
Sandesh Rao
 
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Sandesh Rao
 
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Analysis of Database Issues using AHF and Machine Learning v2 -  SOUGAnalysis of Database Issues using AHF and Machine Learning v2 -  SOUG
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Sandesh Rao
 
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
Sandesh Rao
 
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
Sandesh Rao
 
Machine Learning and AI at Oracle
Machine Learning and AI at OracleMachine Learning and AI at Oracle
Machine Learning and AI at Oracle
Sandesh Rao
 
Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous Database
Sandesh Rao
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
Sandesh Rao
 
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
Sandesh Rao
 
TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it
Sandesh Rao
 
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmeaIntroduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Sandesh Rao
 
How to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmeaHow to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmea
Sandesh Rao
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020
Sandesh Rao
 
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEAIntroduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Sandesh Rao
 
20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database
Sandesh Rao
 
TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new
Sandesh Rao
 
Ad

Recently uploaded (20)

Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Ad

Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM Duo.pdf

  • 1. Unlocking Oracle Database Mysteries: AHF Insights and the AI-LLM Duo Sandesh Rao VP AIOps and Machine Learning , Autonomous Database @sandeshr https://www.linkedin.com/in/raosandesh/ https://www.slideshare.net/SandeshRao4
  • 2. Copyright © 2024, Oracle and/or its affiliates 2 1. AHF AIOPs platform 2. Challenges faced by Support & DevOps Engineers 3. Diagnostic Assistant - Solution 4. Diagnostic Assistant - High Level Architecture 5. Benefits of using NLU techniques and LLMs together 6. Support User Workflow 7. Intent Classification Overview 8. LLM - RAG Pipeline Agenda
  • 3. Copyright © 2024, Oracle and/or its affiliates 3 Observe Engage Automate AHF AIOps Realtime data Historical data Notification Collaboration Compliance Incident detection Diagnostic collection Issue / Service Request Cause & solution identification Runbooks Machine Learning Health Availability Performance Capacity Logs Scripts Health Checks Anomaly Detection Email Pager Jira Bug SR Slack ACR Sanitization
  • 4. Copyright © 2024, Oracle and/or its affiliates 4 Fleet Level - Data Collection Fleet Level - Event Distribution
  • 5. Copyright © 2024, Oracle and/or its affiliates 5 Fleet Level - Best Practice Issue Distribution
  • 6. Copyright © 2024, Oracle and/or its affiliates Cluster Level - AHF Insights
  • 7. Copyright © 2024, Oracle and/or its affiliates Event Information Best Practice Violations
  • 8. Copyright © 2024, Oracle and/or its affiliates Operating System Metrics
  • 9. Copyright © 2024, Oracle and/or its affiliates Anomaly Identification & Root Cause Analysis
  • 10. Copyright © 2024, Oracle and/or its affiliates 10 Software Recommendations RPMs
  • 11. Copyright © 2024, Oracle and/or its affiliates 11 1. Loss of time • Delays in information retrieval for triaging & debugging • Manual and repetitive tasks that could be automated • Managing a high volume of support tickets and requests • Delayed resolution results in customer dissatisfaction 2. Information Overload • Complex Systems and Integrations • Misinterpretation of logs and symptoms leading to incorrect troubleshooting steps 3. Information silos / Navigation Issues • Issue navigating to right source of information • Learning curve to get accustomed to different applications Challenges faced by Support & DevOps Engineers
  • 12. Copyright © 2024, Oracle and/or its affiliates 12 When was the last patch applied ? Any OS Issues identified 15 minute before 3 AM ? What are the CRS issues from alert log around 3 AM ? What are the major events between 8AM to 9AM ? What is a node eviction issue ? Are there any slow queries or database performance issues? What is the purpose of log writer process ? Support / DevOps Information Engineers Need for troubleshooting Diagnostics Specific Product Specific Diagnostics
  • 13. Copyright © 2024, Oracle and/or its affiliates 13 1. AI Chatbot with Natural Language Support • On-demand information retrieval using natural language queries • Makes troubleshooting simpler and faster 2. Leverages • Intent Classification • Entity Recognition • Retrieval-Augmented Generation (RAG) – LLM - Oracle Database Documentation, Knowledge Management Documents • Structured diagnostic data & analysis - AHF Collection, AHF Insights • API Integration with various internal data sources 3. Persona based user workflow automation Diagnostic Assistant - Solution
  • 14. Copyright © 2024, Oracle and/or its affiliates 14 Any OS Issues identified 15 minute before 3AM ? What are the CRS issues from alert log around 3AM ? What is a node eviction issue ? What is the purpose of log writer process ? Support / DevOps Diagnostic Assistant’s on-demand responses Diagnostics Specific Product Specific
  • 15. Copyright © 2024, Oracle and/or its affiliates 15 • LLMs are advanced AI models trained on vast amounts of data to understand and generate human-like text • They employ transformer architectures, which enable them to capture and process relationships between words and phrases effectively • GPT-3,3.5,4o (Generative Pre-trained Transformer) Developed by OpenAI , Cohere, Anthropic (Claude) , LLama 2,3 by Meta are examples of these LLMS • They are known for their large scale and ability to generate coherent human-like text across a variety of tasks • BERT (Bidirectional Encoder Representations from Transformers) developed by Google • BERT focuses on improving the understanding of context in natural language processing tasks • After pre-training on this data, LLMs can be fine-tuned on specific tasks or domains by exposing them to additional data relevant to the task at hand Lets get the basics first
  • 16. Copyright © 2024, Oracle and/or its affiliates 16 • LLMs maintain context over multiple turns of conversation, which is crucial for building coherent and engaging chatbots. • Besides chatbots, LLMs are used for content generation, translation, summarization, sentiment analysis • Basic steps to build a chatbot • Collect a diverse dataset of conversations (e.g., customer service, healthcare, education) • Clean and preprocess the data by tokenizing sentences (e.g., punctuation, stopwords) • Use a pre-trained LLM and fine-tune it on your specific dataset using techniques like transfer learning • Adjust the model's parameters and training to optimize performance • Integrate the fine-tuned LLM into a chatbot application framework (e.g Hugging Face) • Test the chatbot rigorously to ensure it performs well across different scenarios and user inputs • Gather user feedback and iterate on the chatbot's responses and functionalities Lets get the basics first
  • 17. Copyright © 2024, Oracle and/or its affiliates 17 Diagnostic Assistant - High Level Architecture
  • 18. Copyright © 2024, Oracle and/or its affiliates 18 1. NLU (Intent + Entity Recognition) 1. Advantages 1. Provides accurate & repeatable results 2. Provides structured responses 3. Easy to reinforce new training data 4. Ability to score intent confidence 5. Items can be tailored through entity recognition 6. Cheaper to perform the operation 2. Disadvantages 1. If low scoring intents are identified, there are no results 2. Can support areas where APIs corresponding to intents are available Benefits of using NLU techniques and LLMs together 1. LLM 1. Advantages 1. Provides generative natural language answers for a wider scope of natural language queries 2. RAG approaches significantly increase their scope of operations with additional knowledge sources 2. Disadvantages 1. Does not provide repeatable results 2. Structured response require fine tuning, prompt engineering and tailoring 3. Costly to perform the operation
  • 19. Copyright © 2024, Oracle and/or its affiliates 19 Intent Response LLM Response Support User Workflow
  • 20. Copyright © 2024, Oracle and/or its affiliates 20 Intent Response Support User Workflow
  • 21. Copyright © 2024, Oracle and/or its affiliates 21 Support User Workflow Intent Response
  • 22. Copyright © 2024, Oracle and/or its affiliates 22 Intent Classification Implementation & Feedback Loop
  • 23. Confidential – Oracle Internal 25 Behind the scenes for this bug, change the support contact to Marco and the severity to 4 Input query 0.14 -0.23 0.81 0.01 -0.97 -0.26 0.50 0.62 Embedding 0.01 0.08 0.03 0.11 0.02 0.36 0.09 0.03 Sentence Encoder 0.01 0.27 Intent classifier Complexity classifier
  • 24. Copyright © 2024, Oracle and/or its affiliates 26 Confusion Matrix • Helps to visualize • which APIs are being mis-classified • which other API are being confused • Helps better understand • when there is a poor representation of a word. • Note • Correct Classification are find over the diagonal of the matrix. • Mis-Classifications are any other position out of the diagonal, indicating which actual intent (row) was mis-classified as another intent (column)
  • 25. Confidential – Oracle Internal 27 Intent Samples Intent Samples used for training
  • 26. Copyright © 2024, Oracle and/or its affiliates 31 Intent Testing and Training Interface
  • 27. Copyright © 2024, Oracle and/or its affiliates 32 User Feedback for Intent Training and LLM response improvement
  • 28. Copyright © 2024, Oracle and/or its affiliates 33 LLM - RAG Pipeline
  • 29. Confidential – Oracle Internal 34 1. Separating the knowledge base into fixed-size chunks. 2. Vectorizing each chunk with an embedding model. 3. Vectorizing the input/query at inference time and using vector search to find relevant chunks. 4. Adding relevant chunks into the LLM’s prompt. RAG Pipeline with customizations as per Use Case
  • 30. Copyright © 2024, Oracle and/or its affiliates 35 1. No need to create very low level tailored APIs 2. Context can be restricted to a specific diagnostic document 3. Better vocab and context understanding 4. Better prompt results from LLM (Generative, Summarization) Custom Diagnostic Documentation Creation Templatization Structured Data
  • 31. Demo
  • 32. Copyright © 2024, Oracle and/or its affiliates 37 1. Query : “What were the major events between 8 PM to 10 PM ?” 2. Intent Mapping : “get_bug_events” 3. Scoring: 0.30 4. What was the training dataset ? - show me event list - present all events for this bug - give all detected events - send list events - display me all listed events - retrieve me event types - list me events from database obelyx_sty - list events from host stbm000060-vm1 - give events from 30/09/2023 to 22/10/2024 - get all events from Feb to Jun Natural Language Query -> Intent Classifier -> LLM (x)
  • 33. Copyright © 2024, Oracle and/or its affiliates 38 1. Query : “How do you create a table in Oracle database ?” 2. Intent Mapping : NO_API 3. Scoring : 0.18 4. Request passed onto LLM Natural Language Query -> Intent Classifier (x) -> LLM
  • 34. Thank you 39 Copyright © 2024, Oracle and/or its affiliates