You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ai-vector-search-and-rag/README.md
+7-30Lines changed: 7 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
-
# Oracle Database 23ai - Oracle AI Vector Search & Retrieval Augmented Generation (RAG) with Oracle APEX
1
+
# Leveraging Open Neural Network Exchangemodels to vectorize content in PDFs
2
2
3
-
This is part 2 of the Oracle Database 23ai series of technical articles. While searching for large external language models to get answers to the questions will solve one type of problem, the requirements might also differ slightly from searching for Corporate internal knowledge repositories and datasets.
3
+
While searching for large external language models to get answers to questions will solve one type of problem, the requirements might also differ slightly from searching for Corporate internal knowledge repositories and datasets.
4
4
5
-
For example, consider that your company is working on internal research and has several internal PDFs that should be searched by the AI Search engine rather than going and looking for public LLM for questions that concern us. Also, the possibility of traditional RDBMS queries along with Gen AI queries will make it more powerful.
5
+
Imagine an organization is working on internal research and has several internal PDFs that should be searched by an AI Search engine rather than going and looking for public LLMs for relevant questions. There's also the possibility of traditional RDBMS queries along with Gen AI queries to make it more powerful.
6
+
7
+
This solution will demonstrate how to use Open Neural Network Exchange (ONNX) concepts, create our own ONNX models, and use these models to read PDFs and vectorize content, ultimately developing an Oracle APEX Vector-based search engine that can query internal knowledge repositories (or sometimes also query external large language models).
6
8
7
-
In this article, we will understand Open Neural Network Exchange (ONNX) concepts, create our own ONNX models, Use these models to read PDFs and vectorise content, and Develop an Oracle APEX Vector-based search engine that can query internal knowledge repositories or sometimes also query external large language models.
8
9
9
10
### About Retrieval augmented generation (RAG)
10
11
@@ -17,8 +18,6 @@ The desire to get higher quality answers from LLMs is universal, spanning many i
17
18
- Language to code synthesis
18
19
- Answers to questions that require specialized, **domain-specific knowledge**
19
20
20
-
Please refer to the article in part 1 if you have not yet installed or configured Oracle Database 23ai, along with Oracle APEX and ORDS.
21
-
22
21
In this article, we will cover the following:
23
22
24
23
1. Open Neural Network Exchange (ONNX) - concepts
@@ -719,10 +718,10 @@ Create Search Parameters and Search Oracle Generative AI, Append both the search
719
718
720
719
[45]: images/1715409940189.png
721
720
722
-
You can [download this complete code from my GitHub repository][46]
### 14. Innovate: Integrate with text to voice based APIs
841
-
842
-
Updated July 2024, You can easily make REST API calls (**If the service provider exposes APIs**) from AI response text to video generation APIs. Please read their terms and conditions of service providers. Most of these services will have a few minutes of free usage, and you need to subscribe to their various plans for commercial licenses.
843
-
844
-
Usually, these video generations take a few seconds to a minute, so you must pragmatically check the video creation status before displaying the video using the provider's generated video URL.
0 commit comments