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-and-app-modernisation/ai-services/generative-ai-service/rag-genai/files/README.md
+13-16Lines changed: 13 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,30 +3,27 @@
3
3
## Introduction
4
4
In this article, we'll explore how to create a Retrieval-Augmented Generation (RAG) model using Oracle Gen AI, llama index, Qdrant Vector Database, and SentenceTransformerEmbeddings. This 21-line code will allow you to scrape through web pages, use llama index for indexing, Oracle Generative AI Service for question generation, and Qdrant for vector indexing.
5
5
6
+
Find below the code of building a RAG using llamaIndex with Oracle Generative AI Service.
7
+
Also check the file LangChainRAG.py which allows you to create an application (implementing RAG) using Langchain and the file langChainRagWithUI.py which includes a UI build with Streamlit.
8
+
6
9
<imgsrc="./RagArchitecture.svg">
7
10
</img>
8
11
9
-
## Limited Availability
10
-
11
-
Oracle Generative AI Service is in Limited Availability as of today when we are creating this repo.
12
-
13
-
Customers can easily enter in the LA programs. To test these functionalities you need to enrol in the LA programs and install the proper versions of software libraries.
14
-
15
-
Code and functionalities can change, as a result of changes and new features
16
-
17
12
## Prerequisites
18
13
19
14
Before getting started, make sure you have the following installed:
system_prompt="As a support engineer, your role is to leverage the information in the context provided. Your task is to respond to queries based strictly on the information available in the provided context. Do not create new information under any circumstances. Refrain from repeating yourself. Extract your response solely from the context mentioned above. If the context does not contain relevant information for the question, respond with 'How can I assist you with questions related to the document?"
0 commit comments