mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 03:05:25 +00:00
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
base_dir: ~/.memos
|
|
database_path: database.db
|
|
default_library: screenshots
|
|
screenshots_dir: screenshots
|
|
|
|
server_host: 0.0.0.0
|
|
server_port: 8839
|
|
|
|
# Enable authentication by uncommenting the following lines
|
|
# auth_username: admin
|
|
# auth_password: changeme
|
|
|
|
default_plugins:
|
|
- builtin_ocr
|
|
# - builtin_vlm
|
|
|
|
# using ollama as the vlm server
|
|
vlm:
|
|
concurrency: 8
|
|
endpoint: http://localhost:11434
|
|
force_jpeg: true
|
|
modelname: minicpm-v
|
|
prompt: 请帮描述这个图片中的内容,包括画面格局、出现的视觉元素等
|
|
token: ''
|
|
|
|
# using local ocr
|
|
ocr:
|
|
concurrency: 8
|
|
# this is not used if use_local is true
|
|
endpoint: http://localhost:5555/predict
|
|
force_jpeg: false
|
|
token: ''
|
|
use_local: true
|
|
|
|
# using local embedding
|
|
embedding:
|
|
# this is not used if use_local is true
|
|
endpoint: http://localhost:11434/api/embed
|
|
model: arkohut/jina-embeddings-v2-base-zh
|
|
num_dim: 768
|
|
use_local: true
|
|
use_modelscope: false
|
|
|
|
# using ollama embedding
|
|
# embedding:
|
|
# endpoint: http://localhost:11434/api/embed # this is not used
|
|
# model: arkohut/gte-qwen2-1.5b-instruct:q8_0
|
|
# num_dim: 1536
|
|
# use_local: false
|
|
# use_modelscope: false
|