mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-07 03:35:24 +00:00
chore: update default config yaml file
This commit is contained in:
parent
9a50c632d1
commit
d155098a1f
@ -3,9 +3,16 @@ database_path: database.db
|
|||||||
default_library: screenshots
|
default_library: screenshots
|
||||||
screenshots_dir: screenshots
|
screenshots_dir: screenshots
|
||||||
|
|
||||||
server_host: 127.0.0.1
|
server_host: 0.0.0.0
|
||||||
server_port: 8839
|
server_port: 8839
|
||||||
|
|
||||||
|
batchsize: 1
|
||||||
|
auth_username: admin
|
||||||
|
auth_password: changeme
|
||||||
|
default_plugins:
|
||||||
|
- builtin_ocr
|
||||||
|
# - builtin_vlm
|
||||||
|
|
||||||
# using ollama as the vlm server
|
# using ollama as the vlm server
|
||||||
vlm:
|
vlm:
|
||||||
concurrency: 1
|
concurrency: 1
|
||||||
@ -20,7 +27,8 @@ vlm:
|
|||||||
ocr:
|
ocr:
|
||||||
concurrency: 1
|
concurrency: 1
|
||||||
enabled: true
|
enabled: true
|
||||||
endpoint: http://localhost:5555/predict # this is not used
|
# this is not used if use_local is true
|
||||||
|
endpoint: http://localhost:5555/predict
|
||||||
force_jpeg: false
|
force_jpeg: false
|
||||||
token: ''
|
token: ''
|
||||||
use_local: true
|
use_local: true
|
||||||
@ -28,9 +36,10 @@ ocr:
|
|||||||
# using local embedding
|
# using local embedding
|
||||||
embedding:
|
embedding:
|
||||||
enabled: true
|
enabled: true
|
||||||
endpoint: http://localhost:11434/api/embed # this is not used
|
# this is not used if use_local is true
|
||||||
model: arkohut/jina-embeddings-v2-base-zh
|
endpoint: http://localhost:11434/api/embed
|
||||||
num_dim: 768
|
model: arkohut/jina-embeddings-v3
|
||||||
|
num_dim: 1024
|
||||||
use_local: true
|
use_local: true
|
||||||
use_modelscope: false
|
use_modelscope: false
|
||||||
|
|
||||||
@ -44,17 +53,11 @@ embedding:
|
|||||||
# use_modelscope: false
|
# use_modelscope: false
|
||||||
|
|
||||||
typesense:
|
typesense:
|
||||||
|
enabled: false
|
||||||
api_key: xyz
|
api_key: xyz
|
||||||
collection_name: entities
|
collection_name: entities
|
||||||
connection_timeout_seconds: 10
|
connection_timeout_seconds: 10
|
||||||
enabled: false
|
|
||||||
host: localhost
|
host: localhost
|
||||||
port: '8108'
|
port: '8108'
|
||||||
protocol: http
|
protocol: http
|
||||||
|
|
||||||
batchsize: 1
|
|
||||||
auth_username: admin
|
|
||||||
auth_password: changeme
|
|
||||||
default_plugins:
|
|
||||||
- builtin_ocr
|
|
||||||
# - builtin_vlm
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user