-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest_database.env.example
More file actions
50 lines (37 loc) · 1.82 KB
/
test_database.env.example
File metadata and controls
50 lines (37 loc) · 1.82 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
# Example .env file for BMLibrarian Database Setup and Testing
# Copy this file to test_database.env and fill in your actual values
#
# Usage: python initial_setup_and_download.py test_database.env
# ============================================================================
# PostgreSQL Connection Parameters (REQUIRED)
# ============================================================================
# Database host (typically localhost for local testing)
POSTGRES_HOST=localhost
# Database port (default PostgreSQL port is 5432)
POSTGRES_PORT=5432
# Database user with CREATE DATABASE privileges
POSTGRES_USER=your_username
# Database password
POSTGRES_PASSWORD=your_password
# Database name (will be created if it doesn't exist)
# Use a test database name, NOT your production database!
POSTGRES_DB=bmlibrarian_test
# ============================================================================
# File System Configuration (OPTIONAL)
# ============================================================================
# Base directory for PDF file storage
# Default: ~/knowledgebase/pdf
PDF_BASE_DIR=~/knowledgebase/pdf_test
# ============================================================================
# PubMed/NCBI Configuration (OPTIONAL but recommended)
# ============================================================================
# Email address for NCBI (recommended for better service)
NCBI_EMAIL=your.email@example.com
# NCBI API key for higher rate limits (optional)
# Get one at: https://www.ncbi.nlm.nih.gov/account/settings/
NCBI_API_KEY=
# ============================================================================
# Ollama Configuration (OPTIONAL - for embeddings)
# ============================================================================
# Ollama server URL (default: http://localhost:11434)
OLLAMA_HOST=http://localhost:11434