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
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@
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 GEN AI .
7
+
Also we have a file LangChainRAG.py which allows you to create a rag using langchain and a file langChainRagWithUI.py which also has a streamlit ui attached to the langchain rag
8
+
6
9
<imgsrc="./RagArchitecture.svg">
7
10
</img>
8
11
@@ -20,13 +23,15 @@ 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