From 65c2ecaa51b16bf64648c3d8dabd098ee689e53f Mon Sep 17 00:00:00 2001 From: "nabil.abdennad" <nabil.abdennadher@hesge.ch> Date: Tue, 10 Sep 2024 14:58:17 +0200 Subject: [PATCH] without service --- Part 1/.DS_Store | Bin 0 -> 6148 bytes Part 1/create-S3-and-put-docs.py | 2 +- Part 1/create-vector-db.py | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 Part 1/.DS_Store diff --git a/Part 1/.DS_Store b/Part 1/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..da8a2714080cdbc60c74f04e48e0b3552ad7993c GIT binary patch literal 6148 zcmZQzU|@7AO)+F(5MW?n;9!8zj35RBCIAV8Fop~hR0Kpbg3L%NFD^*R$xmWnVAuwg z8|)Ow?JNuh3@Hq048_RqPb$dCEG{uHxW>rD%)-jX&cV*X%@G@%kzXEMl2}q&?37p( z4dR95=jSBB*ojGDnW^RR0wT`&c_oRNd8tJpCBc~~sY!`NG2xkcDf#72`K5U&#bCWq z2@XyU&UgW_>S_ZW1xtfk9ffK`6B7d+1#@$Y+FDKyQDuGWp!n>Z+`Rk_NN_STLTCnF zC=H`J85kJgz9|bX%FD^mO9#a^Ou;BU8UmvsFd71*Aut*O4A5GHgL^bAMnhmU1V%#u zEd)U2g95bm=m4b~AT&q{RDOV(&mfuwrWM=|fT#g!1<8T5f@qLd21XDIEDzSoz{mj6 z$_Va;FfcHJyCfhQtet_80j!;YkpZlo0oL?oglK1AglK1gbzT@jJsObt5bX?%5bZGM zjnbnbFd72T5MYMT0-*Zel>wfGAflt>Xb6mkz=#L|Mi!S~7bj4qiNm{~x)xNQCP3vu zwLhdf236DyAZbvw4z7xsAOngLP^BPokX8^4u8J8MAT{}DLjV>+qx5J9&_4tKYiLR4 literal 0 HcmV?d00001 diff --git a/Part 1/create-S3-and-put-docs.py b/Part 1/create-S3-and-put-docs.py index 7587e0c..15eab79 100644 --- a/Part 1/create-S3-and-put-docs.py +++ b/Part 1/create-S3-and-put-docs.py @@ -2,7 +2,7 @@ import boto3 import os LOCAL_DIR = "pdfs" -BUCKET_NAME = 'cloud-lecture-2023' +BUCKET_NAME = 'cloud-lecture-nabil-2024-25' # Initiate S3 client s3_client = boto3.client('s3') diff --git a/Part 1/create-vector-db.py b/Part 1/create-vector-db.py index 99ddcb3..c411136 100644 --- a/Part 1/create-vector-db.py +++ b/Part 1/create-vector-db.py @@ -5,8 +5,8 @@ import time client = boto3.client('opensearchserverless') -service = 'aoss' -Vector_store_name='test2' +#service = 'aoss' +Vector_store_name='test-nabil' def createEncryptionPolicy(client): """Creates an encryption policy that matches all collections beginning with test""" -- GitLab