Skip to content

Commit

Permalink
WMW #11620 (#187)
Browse files Browse the repository at this point in the history
* Doc Change

first four text chunks to three chunks

* Update Introduction

Remove Sept 2021 for ChatGPT
  • Loading branch information
mw-orcl authored Jan 14, 2025
1 parent ac91ebd commit cb54e80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plsql-rag-23ai/introduction/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Retrieval Augmented Generation (RAG) plays a pivotal role in Generative AI, offe

1. Minimize Hallucinations: Large Language Models (LLMs) may generate inaccurate or irrelevant responses if they lack training on prompts. Re-training LLMs to align with desired responses incurs substantial costs.
2. Safeguarding Confidentiality: LLMs are trained on publicly available information from the internet – they do not know about your company specific data. Do not send your company specific information across the internet as you are giving away your private information to a 3rd party. Instead keep your enterprise data within your realm by using local LLMs within your data center or cloud tenancy.
3. Up to date information: LLMs are trained up to a certain date [eg Sept 2021 for ChatGPT], newer events/facts are unknown. The LLM can provide responses based on up-to-date facts in the form of prompts provided by your vector database. This means that your LLM has the benefit of the latest data from your company without the need to train the LLM on your company data.
3. Up to date information: LLMs are trained up to a certain date, newer events or facts are unknown. The LLM can provide responses based on up-to-date facts in the form of prompts provided by your vector database. This means that your LLM has the benefit of the latest data from your company without the need to train the LLM on your company data.

RAG addresses these challenges by enabling the inclusion of vital context alongside prompts provided to LLMs. In our laboratory scenario, this context comprises business information stored in Oracle Database 23ai as vectors. Using Oracle PLSQL and Oracle AI Vector Search makes implementing a RAG architecture simple.

Expand Down
2 changes: 1 addition & 1 deletion plsql-rag-23ai/lab1/lab1.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ In this lab, you will:
**3 - Split the text into chunks**
4. Use package **DBMS\_VECTOR\_CHAIN.utl\_to_chunks** to convert the BLOB into plain text and then show the first four text chunks. Click **Run** to execute the code.
4. Use package **DBMS\_VECTOR\_CHAIN.utl\_to_chunks** to convert the BLOB into plain text and then show the first three text chunks. Click **Run** to execute the code.
```
%%sql
Expand Down

0 comments on commit cb54e80

Please sign in to comment.