Skip to content

intersystems-ib/workshop-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workshop-llm

Workshop to create a RAG application to use LLM models. This workshop is developed in Python using Jupyter Notebook connected using the official libraries to IRIS.

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:

$ git clone https://github.com/intersystems-ib/workshop-llm
$ cd workshop-llm
$ docker-compose build

Configuration

The main purpose of this example is to identify the main steps to create a RAG application using MISTRAL as LLM and IRIS as vector database to save and search the specific context.

ATTENTION Docker configuration

There is a known issue related to the permission request from Docker Desktop to access to the folders of the project, this permission has to be granted before to launch docker-compose up -d. To allow the file sharing in Docker Desktop you have to open settings option, select Resources and File Sharing, from that screen you have to include the path to the project, you can see here an example: alt text

If you don't share this folder previously PostgreSQL database won't be initialized and the project will fail.

Test Production

  • Run the containers that we will use in the workshop:
docker-compose build

docker-compose up -d

Automatically an IRIS instance, will be deployed, a Jupyter Notebook is deployed under (http://localhost:8888) too.

IRIS database

  • Open the Management Portal.
  • Login using the default superuser/ SYS account.
  • Open System Explorer --> SQL
  • Select NAMESPACE USER and Schema Test

Testing with Jupyter Notebook

This project is devolped in Python using Jupyter Notebook, you can access to it from here and open LLMTests.ipnyb file. alt text

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published