2024-03-07 22:58:50 +00:00
|
|
|
# DATABASE OPTIONS
|
2024-03-01 00:01:00 +00:00
|
|
|
DATABASE_NAME=postgres
|
|
|
|
DATABASE_HOST=127.0.0.1
|
|
|
|
DATABASE_USER=postgres
|
|
|
|
DATABASE_PASSWORD=testpassword
|
|
|
|
DATABASE_PORT=5432
|
|
|
|
|
2024-03-07 22:58:50 +00:00
|
|
|
# ANALYZATION OPTIONS
|
|
|
|
## GENERAL OPTIONS
|
2024-03-01 00:01:00 +00:00
|
|
|
ALT_WITH_CONTEXT=1
|
|
|
|
ALT_WITH_HASH=1
|
|
|
|
ALT_MULTITHREADED=0
|
2024-03-07 22:58:50 +00:00
|
|
|
### ALT_VERSION OPTIONS: 1, 2
|
2024-03-01 00:01:00 +00:00
|
|
|
ALT_VERSION=2
|
|
|
|
|
|
|
|
## DESC_ENGINE OPTIONS: replicateapi, bliplocal, googlevertexapi
|
|
|
|
DESC_ENGINE=replicateapi
|
|
|
|
## OCR_ENGINE OPTIONS: tesseract
|
|
|
|
OCR_ENGINE=tesseract
|
2024-03-07 22:58:50 +00:00
|
|
|
## LANG_ENGINE OPTIONS: privategpt, openaiapi
|
|
|
|
LANG_ENGINE=openaiapi
|
2024-03-01 00:01:00 +00:00
|
|
|
|
|
|
|
# DESC_ENGINE CONFIG OPTIONS
|
|
|
|
## REPLICATEAPI
|
2024-03-07 22:58:50 +00:00
|
|
|
REPLICATE_KEY=r8_somekey
|
2024-03-01 00:01:00 +00:00
|
|
|
## BLIPLOCAL
|
|
|
|
BLIPLOCAL_DIR=/path/to/image-captioning
|
|
|
|
## GOOGLEVERTEXAPI
|
|
|
|
VERTEX_PROJECT_ID=example-123456
|
|
|
|
### VERTEX_LOCATION OPTIONS: https://cloud.google.com/vertex-ai/docs/general/locations
|
|
|
|
VERTEX_LOCATION=us-central1
|
|
|
|
VERTEX_GAC_PATH=/path/to/vertex-key.json
|
|
|
|
|
|
|
|
# OCR_ENGINE CONFIG OPTIONS
|
|
|
|
## TESSERACT
|
|
|
|
TESSERACT_PATH=/path/to/tesseract.exe
|
|
|
|
|
|
|
|
# LANG_ENGINE CONFIG OPTIONS
|
2024-04-23 00:17:49 +00:00
|
|
|
## OPENAIAPI
|
|
|
|
OPENAI_API_KEY=sk-1234567890
|
|
|
|
### OPENAI_MODEL OPTIONS: https://platform.openai.com/docs/models
|
|
|
|
OPENAI_MODEL=gpt-3.5-turbo
|
2024-03-01 00:01:00 +00:00
|
|
|
## PRIVATEGPT
|
|
|
|
PRIVATEGPT_HOST=http://localhost:8001
|