-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'workshop-llm/main'
- Loading branch information
Showing
17 changed files
with
1,421 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,7 @@ | |
.local | ||
.npm | ||
.cache | ||
.env | ||
shared | ||
data/model | ||
data/model | ||
__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"objectscript.conn": { | ||
"username": "superuser", | ||
"password": "SYS", | ||
"active": true, | ||
"ns": "LLMRAG", | ||
"host": "localhost", | ||
"port": 52774, | ||
"docker-compose": { | ||
"service": "iris" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
// unexpire default passwords | ||
set $namespace = "%SYS" | ||
do ##class(Security.Users).UnExpireUserPasswords("*") | ||
|
||
// create namespace | ||
do $SYSTEM.OBJ.Load("/opt/irisapp/src/LLMRAG/Installer.cls", "ck") | ||
do ##class(LLMRAG.Installer).Install() | ||
|
||
// import source code & schemas | ||
set $namespace="LLMRAG" | ||
do $SYSTEM.SQL.Schema.ImportDDL("/opt/irisapp/sql/dump.sql",,"IRIS") | ||
|
||
// install zpm | ||
s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c") | ||
|
||
// install some sample data (Holefoods, etc.) | ||
zpm "install samples-bi" | ||
|
||
// load some modifications on Holefoods (e.g. ForeignKeys, etc.) | ||
do $SYSTEM.OBJ.LoadDir("/opt/irisapp/src/HoleFoods/", "ck", ,1) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
FROM jupyter/minimal-notebook | ||
|
||
USER root | ||
|
||
# install IRIS DBAPI driver | ||
COPY /jupyter/intersystems_irispython-3.2.0-py3-none-any.whl / | ||
RUN chmod 777 /intersystems_irispython-3.2.0-py3-none-any.whl | ||
|
||
COPY /jupyter/requirements.txt / | ||
RUN chmod 777 /requirements.txt | ||
|
||
RUN pip install /*.whl | ||
|
||
# install python requirements | ||
COPY /jupyter/requirements.txt / | ||
RUN pip install -r /requirements.txt |
Oops, something went wrong.