From 1aeee076901b546673d121903b8a7cf7605bfac6 Mon Sep 17 00:00:00 2001 From: Sarwagya Date: Sat, 26 Oct 2024 15:30:08 +0200 Subject: [PATCH] CHORE : Added .env.example for examples --- .env.example | 42 ++++++++++++++++++++++++++++++++++++++++++ .gitignore | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..a66c099 --- /dev/null +++ b/.env.example @@ -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" \ No newline at end of file diff --git a/.gitignore b/.gitignore index c3bac7e..b75b58b 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,7 @@ yarn-debug.log* yarn-error.log* # env files (can opt-in for commiting if needed) -.env* +.env # vercel .vercel