Skip to content

intersystems-ib/workshop-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workshop-llm

Workshop to create a RAG application using LLM models.

This workshop is developed in Python 🐍 (Jupyter Notebook) and InterSystems IRIS.

The main purpose is to show you the main steps to create a RAG application using an LLM and a vector database.

You can find more in-depth information in https://learning.intersystems.com.

What do you need to install?

Setup

Build the image we will use during the workshop:

Clone the repository:

git clone https://github.com/intersystems-ib/workshop-llm
cd workshop-llm

Build the image:

docker compose build

Run the containers:

docker compose up -d

After running the containers, you should be able to access to:

RAG Application

Medicine Leaflet examples

You have some medicine leaflets (in spanish) in ./data.

This example is about creating a RAG Q&A application that can answer questions about those medicine leaflets.

Open Jupyter Notebook, there you can find:

alt text

You can test the project step by step or execute it at one time, feel free.

Hoolefoods data model text to SQL

This example is about a company called Holefoods that sells food with some hole on it :)

Using the sales data model of the company, the goal is to create an assistant that can translate natural language questions into valid SQL that answer the question.

In Jupyter Notebook, you will find: