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