File tree Expand file tree Collapse file tree 10 files changed +16
-16
lines changed
llama-index-python-kvstore
llama-index-python-vectorstore Expand file tree Collapse file tree 10 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -eu
4
4
5
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
5
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
6
6
ROOT_DIR=$( dirname $SCRIPT_DIR )
7
7
8
8
Original file line number Diff line number Diff line change @@ -104,12 +104,12 @@ setup_local_atlas() {
104
104
wait " $CONTAINER_ID "
105
105
EXPOSED_PORT=$( podman inspect --format=' {{ (index (index .NetworkSettings.Ports "27017/tcp") 0).HostPort }}' " $CONTAINER_ID " )
106
106
export CONN_STRING=" mongodb://127.0.0.1:$EXPOSED_PORT /?directConnection=true"
107
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
107
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
108
108
echo " CONN_STRING=mongodb://127.0.0.1:$EXPOSED_PORT /?directConnection=true" > $SCRIPT_DIR /.local_atlas_uri
109
109
}
110
110
111
111
fetch_local_atlas_uri () {
112
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
112
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
113
113
. $SCRIPT_DIR /.local_atlas_uri
114
114
115
115
export CONN_STRING=$CONN_STRING
@@ -120,7 +120,7 @@ fetch_local_atlas_uri() {
120
120
scaffold_atlas () {
121
121
PYTHON_BINARY=$( find_python3)
122
122
123
- EVERGREEN_PATH=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
123
+ EVERGREEN_PATH=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
124
124
TARGET_DIR=$( pwd) /$DIR
125
125
SCAFFOLD_SCRIPT=$EVERGREEN_PATH /scaffold_atlas.py
126
126
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
3
# chat-gpt-retrieval-plugin is a poetry run project
4
4
5
5
set -eu
6
6
7
7
# Get the MONGODB_URI and OPENAI_API_KEY.
8
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
8
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
9
9
ROOT_DIR=$( dirname $SCRIPT_DIR )
10
10
. $ROOT_DIR /env.sh
11
11
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
3
# Sets up a virtual environment (poetry)
4
4
# Runs the mongodb tests of the upstream repo
5
5
6
6
set -eu
7
7
8
8
# Get the MONGODB_URI.
9
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
9
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
10
10
ROOT_DIR=$( dirname $SCRIPT_DIR )
11
11
12
12
. $ROOT_DIR /env.sh
Original file line number Diff line number Diff line change 4
4
set -eu
5
5
6
6
# Get the MONGODB_URI and OPENAI_API_KEY.
7
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
7
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
8
8
ROOT_DIR=$( dirname $SCRIPT_DIR )
9
9
. $ROOT_DIR /env.sh
10
10
Original file line number Diff line number Diff line change 4
4
set -eu
5
5
6
6
# Get the MONGODB_URI and OPENAI_API_KEY.
7
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
7
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
8
8
ROOT_DIR=$( dirname $SCRIPT_DIR )
9
9
. $ROOT_DIR /env.sh
10
10
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
3
set -eu
4
4
5
5
# Get the MONGODB_URI and OPENAI_API_KEY.
6
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
6
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
7
7
ROOT_DIR=$( dirname $SCRIPT_DIR )
8
8
. $ROOT_DIR /env.sh
9
9
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
3
set -eu
4
4
5
5
# Get the MONGODB_URI and OPENAI_API_KEY.
6
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
6
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
7
7
ROOT_DIR=$( dirname $SCRIPT_DIR )
8
8
. $ROOT_DIR /env.sh
9
9
Original file line number Diff line number Diff line change 3
3
set -eu
4
4
5
5
# Get the MONGODB_URI.
6
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
6
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
7
7
ROOT_DIR=$( dirname $SCRIPT_DIR )
8
8
. $ROOT_DIR /env.sh
9
9
Original file line number Diff line number Diff line change 3
3
set -eu
4
4
5
5
# Get the MONGODB_URI and OPENAI_API_KEY.
6
- SCRIPT_DIR=$( realpath $( dirname ${BASH_SOURCE[0]} ) )
6
+ SCRIPT_DIR=$( realpath " $( dirname ${BASH_SOURCE[0]} ) " )
7
7
ROOT_DIR=$( dirname $SCRIPT_DIR )
8
8
. $ROOT_DIR /env.sh
9
9
You can’t perform that action at this time.
0 commit comments