Skip to content

Commit

Permalink
Merge pull request #10 from 0xsarwagya/main
Browse files Browse the repository at this point in the history
CHORE : Added .env.example for examples
  • Loading branch information
0xsarwagya authored Oct 26, 2024
2 parents 79f13dc + 1aeee07 commit 596c9e0
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# -------------------------------
# Ollama API Configuration
# -------------------------------

# Base URL for the Ollama service used for embedding tasks.
OLLAMA_BASE_URL="http://localhost:11434"

# Model used by Ollama for general tasks.
OLLAMA_MODEL_NAME="qwen2.5:1.5b"

# Model used by Ollama specifically for embeddings.
OLLAMA_EMBEDDING_MODEL_NAME="mxbai-embed-large"


# -------------------------------
# Demo Mode Configuration
# -------------------------------

# Set to "true" to enable demo mode in the application.
NEXT_PUBLIC_IS_DEMO="true"


# -------------------------------
# Supabase Configuration
# -------------------------------

# URL of the Supabase instance used in the project.
SUPABASE_URL="EXAMPLE_URL"

# Private API key for accessing Supabase services.
SUPABASE_PRIVATE_KEY="EXAMPLE_KEY"


# -------------------------------
# Application URLs
# -------------------------------

# Production URL for the application.
NEXT_PUBLIC_URL_PROD="https://rag-demo.rebackk.xyz"

# Development URL for local testing.
NEXT_PUBLIC_URL_DEV="http://localhost:3000"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ yarn-debug.log*
yarn-error.log*

# env files (can opt-in for commiting if needed)
.env*
.env

# vercel
.vercel
Expand Down

0 comments on commit 596c9e0

Please sign in to comment.