Types of RAG (Generative AI)
1: Foundations Naive RAG, Simple RAG (Original), Simple RAG with Memory Foundations
1: Foundational RAG Architectures
Algorithm & Pseudo-Code — Naive RAG
- Input: Query Q, Vector Database V, LLM
- Output: Answer A
Algorithm & Pseudo-Code — Naive RAG
Requirement:
Connect MySQL database and read content of table using N8N
Pre-requisites:
Brief description of flow :
Flow diagram is as following;
Requirement: In automation tool n8n, we want a node to connect with oracle database
Pre-requisites:
Install the NPM package
Package name : n8n-nodes-oracle-database-parameterization
Command to install
npm install n8n-nodes-oracle-database-parameterization
Set the environment variable:
export N8N_RUNNERS_ENABLED=trueexport N8N_CUSTOM_EXTENSIONS=$(pwd)/node_modules/n8n-nodes-oracle-database-parameterizatio
Start the n8n server:
n8n start
Python code , that takes the input from user and from backend it connects with OPENAI_ChatGPT and Google Gemini Modes.
As a response it prints the outcome on same screen.
Question: Where is GenAI ollama models are stored in Mac OS when we run ollama run model name
Answer: Default Locations: on macOS: ~/.ollama/models/blobs ,
here ~ defines the default home of the user is logged in to the system as.
Example:
bash-3.2$ cd /Users/neerajsingh/.ollama/models/blobs
Summary: This section explains the method to change REMOTE TRAIL location used in PUMP process in goldengate.
Description:
This blog is for modifying the remote trail RMTRAIL location in pump.
Case if to changing the mount point.
Location Before -/u02/app/oracle/product/19.0.0.0/gghome_1/dirdat/RPPPIA02/j2
Location After -/u03/app/oracle/product/19.0.0.0/gghome_1/dirdat/RPPPIA02/j2
Summary: Add new Extract process in GoldenGate
Description:
This blog is for adding a new extract in goldengate considering few assumptions.
1. GG manager is already configured.
2. DB level metadata, table/schema trandata is configured.
3. GG user is configured and had DBA access to datatabase
declare
drop_result pls_integer;
begin
drop_result := DBMS_SPM.DROP_SQL_PLAN_BASELINE(
sql_handle => '&SQL_HANDLE_NAME',
plan_name => '&SQL_BASELINE_PLAN_NAME');
dbms_output.put_line(drop_result);
end;
/
set serveroutput on
declare evolve_out CLOB;
begin
evolve_out := DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE ( SQL_HANDLE => 'SQL_abdfaaa7e926cf0a',
COMMIT => 'NO' ); dbms_output.put_line(evolve_out); end;
/