diff --git a/application/index.faiss b/application/index.faiss new file mode 100644 index 0000000..4e3784e Binary files /dev/null and b/application/index.faiss differ diff --git a/application/index.pkl b/application/index.pkl new file mode 100644 index 0000000..56774d8 Binary files /dev/null and b/application/index.pkl differ diff --git a/setup.sh b/setup.sh index 8c64485..e015ee7 100755 --- a/setup.sh +++ b/setup.sh @@ -62,6 +62,20 @@ use_openai() { + echo "The application will run on http://localhost:5173" + echo "You can stop the application by running the following command:" + echo "docker-compose down" +} + +use_openai() { + echo "LLM_NAME=docsgpt" > .env + echo "VITE_API_STREAMING=true" >> .env + echo "The .env file has been created with API_KEY set to your provided key." + + docker-compose build && docker-compose up -d + + + echo "The application will run on http://localhost:5173" echo "You can stop the application by running the following command:" echo "docker-compose down"