This repository has been archived by the owner on Jan 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated readme for users, moved environment files inside to avoid con…
…fusion
- Loading branch information
codebanesr
authored and
codebanesr
committed
Aug 19, 2023
1 parent
b8a8a1d
commit a13d547
Showing
9 changed files
with
66 additions
and
8,719 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
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,19 +1,22 @@ | ||
# Required for openai azure ------------------------------------------------------------------ | ||
USE_AZURE_OPENAI=true | ||
AZURE_OPENAI_API_KEY= | ||
AZURE_OPENAI_API_INSTANCE_NAME= | ||
AZURE_OPENAI_API_COMPLETIONS_DEPLOYMENT_NAME= | ||
AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME= | ||
AZURE_OPENAI_API_VERSION=2023-03-15-preview | ||
# -------------------------------------------------------------------------------------------- | ||
|
||
OPENAI_API_KEY= | ||
|
||
STORE=pinecone | ||
# pinecone | qdrant | ||
STORE=qdrant | ||
QDRANT_URL=http://qdrant:6333 | ||
|
||
|
||
PINECONE_API_KEY= | ||
PINECONE_ENVIRONMENT= | ||
VECTOR_STORE_INDEX_NAME= | ||
|
||
# QDRANT_URL | ||
QDRANT_URL=http://qdrant:6333 | ||
# --- if using pinecone --- | ||
# PINECONE_API_KEY= | ||
# PINECONE_ENV= | ||
# VECTOR_STORE_INDEX_NAME= | ||
# --- end pinecone --- | ||
|
||
# Required for openai azure ------------------------------------------------------------------ | ||
# USE_AZURE_OPENAI=true | ||
# AZURE_OPENAI_API_KEY= | ||
# AZURE_OPENAI_API_INSTANCE_NAME= | ||
# AZURE_OPENAI_API_COMPLETIONS_DEPLOYMENT_NAME= | ||
# AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME= | ||
# AZURE_OPENAI_API_VERSION=2023-03-15-preview | ||
# -------------------------------------------------------------------------------------------- |
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,23 @@ | ||
# Makefile to Run docker-compose for Django App | ||
|
||
# Check if Docker is installed | ||
DOCKER := $(shell command -v docker 2> /dev/null) | ||
DOCKER_COMPOSE := $(shell command -v docker-compose 2> /dev/null) | ||
|
||
ifndef DOCKER | ||
$(error "Docker is not installed. Please install Docker before proceeding.") | ||
endif | ||
|
||
ifndef DOCKER_COMPOSE | ||
$(error "Docker Compose is not installed. Please install Docker Compose before proceeding.") | ||
endif | ||
|
||
.env.docker: | ||
@echo "Error: The .env.docker file is missing. Please create it before proceeding. Refer example.env.docker or readme file in dj_backend_server/readme.md" | ||
exit 1 | ||
|
||
install: .env.docker | ||
docker-compose up -d | ||
|
||
down: | ||
docker-compose down |
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 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.