-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
75 lines (61 loc) · 1.62 KB
/
env.example
File metadata and controls
75 lines (61 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Info Naut - RAG Q&A Application Configuration
# OpenAI Configuration (Primary)
OPENAI_API_KEY=
OPENAI_API_BASE=https://api.openai.com/v1
EMBEDDING_MODEL=text-embedding-3-small
GENERATION_MODEL=gpt-4o-mini
# Database Configuration
# Options: sqlite | pinecone | mysql
RAG_STORE=sqlite
RAG_DB_URL=sqlite:///./infonaut.db
# SQLite Configuration (Default - Auto-creates on first run)
SQLITE_FILE=./infonaut.db
# Pinecone Configuration (Optional)
PINECONE_API_KEY=
PINECONE_ENV=
PINECONE_INDEX=infonaut
# MySQL Configuration (Optional - XAMPP Compatible)
MYSQL_HOST=localhost
MYSQL_PORT=3306
MYSQL_DB=infonaut
MYSQL_USER=root
MYSQL_PASSWORD=
MYSQL_SERVER=localhost
MYSQL_DATABASE=infonaut
# Vector Store Configuration
VECTOR_STORE_TYPE=chroma
CHROMA_DB_HOST=localhost
CHROMA_DB_PORT=8000
QDRANT_URL=http://localhost:6333
QDRANT_PREFER_GRPC=false
# RAG Configuration
GROUNDING_THRESHOLD=0.62
TOP_K_RETRIEVAL=5
CHUNK_SIZE=512
CHUNK_OVERLAP=50
# Guardrails Configuration
ENABLE_PII_REDACTION=true
ENABLE_PROMPT_INJECTION_DETECTION=true
ENABLE_GROUNDING_REFUSAL=true
# Application Configuration
PROJECT_NAME=Info Naut
VERSION=1.0.0
API_V1_STR=/api
SECRET_KEY=infonaut-secret-key-change-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=10080
# Storage Configuration (MinIO - Optional)
MINIO_ENDPOINT=localhost:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET_NAME=infonaut-documents
# Observability
ENABLE_TOKEN_LOGGING=true
ENABLE_COST_TRACKING=true
ENABLE_PROMPT_CACHE=true
# Provider Settings
CHAT_PROVIDER=openai
EMBEDDINGS_PROVIDER=openai
OPENAI_MODEL=gpt-4o-mini
OPENAI_EMBEDDINGS_MODEL=text-embedding-3-small
# Timezone
TZ=UTC