Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion select-ai/r/.gitkeep

This file was deleted.

12 changes: 10 additions & 2 deletions select-ai/r/R+AI-helper-functions.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# ==============================================================================
# HELPER FUNCTIONS LIBRARY FOR R+AI RAG IMPLEMENTATION
# R and Select AI:
# Use RAG from your database to answer questions about the R Consortium
# ==============================================================================

#
# Helper functions for R+AI.R
#
# Copyright (c) 2025 Oracle Corporation and/or its affilitiates.
#
# The Universal Permissive License (UPL), Version 1.0
# https://oss.oracle.com/licenses/upl/
#
# ------------------------------------------------------------------------------
# DATABASE CONNECTION FUNCTIONS
# ------------------------------------------------------------------------------
Expand Down
11 changes: 9 additions & 2 deletions select-ai/r/R+AI.R
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# ==============================================================================
# R+AI: Use RAG from your database to answer questions about the R Consortium
# R and Select AI:
# Use RAG from your database to answer questions about the R Consortium
# ==============================================================================
#
# Setup -Run R+AI-helper-functions.R - R+AI-helper-functions.R
#
# This script demonstrates Retrieval Augmented Generation (RAG) using
# Oracle Autonomous AI Database Select AI to answer natural language questions
# based on R Consortium blog content.
#
# RAG augments your prompt to give the LLM new knowledge without fine tuning
# using your natural language prompt for semantic similarity search.
#
# Prerequisite: Run R+AI-helper-functions.R
# Copyright (c) 2025 Oracle Corporation and/or its affilitiates.
#
# The Universal Permissive License (UPL), Version 1.0
# https://oss.oracle.com/licenses/upl/
#
# ==============================================================================
# SETUP: Load Libraries and establish database connection
# ==============================================================================
Expand Down