forked from CatchTheTornado/text-extract-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
17 lines (16 loc) · 783 Bytes
/
.env.example
File metadata and controls
17 lines (16 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#APP_ENV=production # sets the app into prod mode, othervise dev mode with auto-reload on code changes
REDIS_CACHE_URL=redis://redis:6379/1
OLLAMA_HOST=http://ollama:11434
STORAGE_PROFILE_PATH=/storage_profiles
LLAMA_VISION_PROMPT="You are OCR. Convert image to markdown."
# CLI settings
OCR_URL=http://localhost:8000/ocr/upload
RESULT_URL=http://localhost:8000/ocr/result/
CLEAR_CACHE_URL=http://localhost:8000/ocr/clear_cach
LLM_PULL_API_URL=http://localhost:8000/llm/pull
LLM_GENEREATE_API_URL=http://localhost:8000/llm/generate
LIST_FILES_URL=http://localhost:8000/storage/list
LOAD_FILE_URL=http://localhost:8000/storage/load
DELETE_FILE_URL=http://localhost:8000/storage/delete
OCR_REQUEST_URL=http://localhost:8000/ocr/request
OCR_UPLOAD_URL=http://localhost:8000/ocr/upload