Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions examples/amazon_s3_embedding/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ AMAZON_S3_BUCKET_NAME=your-bucket-name

# Optional
# AMAZON_S3_SQS_QUEUE_URL=

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/azure_blob_embedding/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex
AZURE_STORAGE_ACCOUNT_NAME=testnamecocoindex1
AZURE_BLOB_CONTAINER_NAME=testpublic1
AZURE_BLOB_PREFIX=

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/code_embedding/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Postgres database address for cocoindex
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/face_recognition/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Postgres database address for cocoindex
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/fastapi_server_docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@coco_db:5436/cocoindex

# For local testing
# COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/gdrive_text_embedding/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ GOOGLE_SERVICE_ACCOUNT_CREDENTIAL=/path/to/service_account_credential.json
# Google Drive root folder IDs, comma separated.
#! PLEASE FILL IN
GOOGLE_DRIVE_ROOT_FOLDER_IDS=id1,id2

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/image_search/.env
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export COCOINDEX_DATABASE_URL="postgres://cocoindex:cocoindex@localhost/cocoindex"

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/manuals_llm_extraction/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Postgres database address for cocoindex
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/multi_format_indexing/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Postgres database address for cocoindex
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/paper_metadata/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex

OPENAI_API_KEY=

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/pdf_embedding/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Postgres database address for cocoindex
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/text_embedding/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Postgres database address for cocoindex
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1
4 changes: 4 additions & 0 deletions examples/text_embedding_qdrant/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Postgres database address for cocoindex
COCOINDEX_DATABASE_URL=postgres://cocoindex:cocoindex@localhost/cocoindex

# Fallback to CPU for operations not supported by MPS on Mac.
# It's no-op for other platforms.
PYTORCH_ENABLE_MPS_FALLBACK=1