-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsmelt.yaml.example
More file actions
73 lines (62 loc) · 1.78 KB
/
smelt.yaml.example
File metadata and controls
73 lines (62 loc) · 1.78 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# smelt.yaml — Configuration for smelt MCP server
# All settings are optional. Defaults work out of the box.
backends:
pdf:
preferred: mineru # Best quality for PDF
fallback: [docling, pymupdf] # Graceful degradation
options:
mineru:
backend: hybrid-auto # hybrid-auto, vlm, ocr, text
device: auto # auto, cuda, mps, cpu
ocr_languages: [en]
image_resolution: 300
docling:
ocr: true
pipeline: standard # standard or vlm
pymupdf:
page_chunks: false
docx:
preferred: docling
fallback: [pandoc]
pptx:
preferred: docling
xlsx:
preferred: docling
html:
preferred: docling
fallback: [pandoc]
epub:
preferred: docling
fallback: [pandoc]
image:
preferred: mineru
fallback: [docling]
options:
mineru:
ocr_languages: [en, es]
audio:
preferred: faster-whisper
fallback: [whisper]
options:
faster-whisper:
model: large-v3
device: auto
beam_size: 5
webpage:
preferred: trafilatura
fallback: [beautifulsoup]
options:
trafilatura:
include_tables: true
include_images: false
favor_precision: true
output:
default_format: markdown # markdown, xml, doctags, json
image_handling: reference # reference, base64, discard
image_output_dir: null # null = system temp dir
server:
transport: stdio # stdio, sse, streamable-http
host: 127.0.0.1 # for SSE/HTTP transports
port: 8765
allowed_dirs: [] # empty = all directories allowed
max_file_size_mb: 500 # per-file size limit