pensiev 0.25.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- memos/__init__.py +6 -0
- memos/cmds/__init__.py +0 -0
- memos/cmds/library.py +1289 -0
- memos/cmds/plugin.py +96 -0
- memos/commands.py +865 -0
- memos/config.py +225 -0
- memos/crud.py +605 -0
- memos/databases/__init__.py +0 -0
- memos/databases/initializers.py +481 -0
- memos/dataset_extractor_for_florence.py +165 -0
- memos/dataset_extractor_for_internvl2.py +192 -0
- memos/default_config.yaml +88 -0
- memos/embedding.py +129 -0
- memos/frame_extractor.py +53 -0
- memos/logging_config.py +35 -0
- memos/main.py +104 -0
- memos/migrations/alembic/README +1 -0
- memos/migrations/alembic/__pycache__/env.cpython-310.pyc +0 -0
- memos/migrations/alembic/env.py +108 -0
- memos/migrations/alembic/script.py.mako +30 -0
- memos/migrations/alembic/versions/00904ac8c6fc_add_indexes_to_entitymodel.py +63 -0
- memos/migrations/alembic/versions/04acdaf75664_add_indices_to_entitytags_and_metadata.py +86 -0
- memos/migrations/alembic/versions/12504c5b1d3c_add_extra_columns_for_embedding.py +67 -0
- memos/migrations/alembic/versions/31a1ad0e10b3_add_entity_plugin_status.py +71 -0
- memos/migrations/alembic/versions/__pycache__/00904ac8c6fc_add_indexes_to_entitymodel.cpython-310.pyc +0 -0
- memos/migrations/alembic/versions/__pycache__/04acdaf75664_add_indices_to_entitytags_and_metadata.cpython-310.pyc +0 -0
- memos/migrations/alembic/versions/__pycache__/12504c5b1d3c_add_extra_columns_for_embedding.cpython-310.pyc +0 -0
- memos/migrations/alembic/versions/__pycache__/20f5ecab014d_add_entity_plugin_status.cpython-310.pyc +0 -0
- memos/migrations/alembic/versions/__pycache__/31a1ad0e10b3_add_entity_plugin_status.cpython-310.pyc +0 -0
- memos/migrations/alembic/versions/__pycache__/4fcb062c5128_add_extra_columns_for_embedding.cpython-310.pyc +0 -0
- memos/migrations/alembic/versions/__pycache__/d10c55fbb7d2_add_index_for_entity_file_type_group_.cpython-310.pyc +0 -0
- memos/migrations/alembic/versions/__pycache__/f8f158182416_add_active_app_index.cpython-310.pyc +0 -0
- memos/migrations/alembic/versions/d10c55fbb7d2_add_index_for_entity_file_type_group_.py +44 -0
- memos/migrations/alembic/versions/f8f158182416_add_active_app_index.py +75 -0
- memos/migrations/alembic.ini +116 -0
- memos/migrations.py +19 -0
- memos/models.py +199 -0
- memos/plugins/__init__.py +0 -0
- memos/plugins/ocr/__init__.py +0 -0
- memos/plugins/ocr/main.py +251 -0
- memos/plugins/ocr/models/ch_PP-OCRv4_det_infer.onnx +0 -0
- memos/plugins/ocr/models/ch_PP-OCRv4_rec_infer.onnx +0 -0
- memos/plugins/ocr/models/ch_ppocr_mobile_v2.0_cls_train.onnx +0 -0
- memos/plugins/ocr/ppocr-gpu.yaml +43 -0
- memos/plugins/ocr/ppocr.yaml +44 -0
- memos/plugins/ocr/server.py +227 -0
- memos/plugins/ocr/temp_ppocr.yaml +42 -0
- memos/plugins/vlm/__init__.py +0 -0
- memos/plugins/vlm/main.py +251 -0
- memos/prepare_dataset.py +107 -0
- memos/process_webp.py +55 -0
- memos/read_metadata.py +32 -0
- memos/record.py +358 -0
- memos/schemas.py +289 -0
- memos/search.py +1198 -0
- memos/server.py +883 -0
- memos/shotsum.py +105 -0
- memos/shotsum_with_ocr.py +145 -0
- memos/simple_tokenizer/dict/README.md +31 -0
- memos/simple_tokenizer/dict/hmm_model.utf8 +34 -0
- memos/simple_tokenizer/dict/idf.utf8 +258826 -0
- memos/simple_tokenizer/dict/jieba.dict.utf8 +348982 -0
- memos/simple_tokenizer/dict/pos_dict/char_state_tab.utf8 +6653 -0
- memos/simple_tokenizer/dict/pos_dict/prob_emit.utf8 +166 -0
- memos/simple_tokenizer/dict/pos_dict/prob_start.utf8 +259 -0
- memos/simple_tokenizer/dict/pos_dict/prob_trans.utf8 +5222 -0
- memos/simple_tokenizer/dict/stop_words.utf8 +1534 -0
- memos/simple_tokenizer/dict/user.dict.utf8 +4 -0
- memos/simple_tokenizer/linux/libsimple.so +0 -0
- memos/simple_tokenizer/macos/libsimple.dylib +0 -0
- memos/simple_tokenizer/windows/simple.dll +0 -0
- memos/static/_app/immutable/assets/0.e250c031.css +1 -0
- memos/static/_app/immutable/assets/_layout.e7937cfe.css +1 -0
- memos/static/_app/immutable/chunks/index.5c08976b.js +1 -0
- memos/static/_app/immutable/chunks/index.60ee613b.js +4 -0
- memos/static/_app/immutable/chunks/runtime.a7926cf6.js +5 -0
- memos/static/_app/immutable/chunks/scheduler.5c1cff6e.js +1 -0
- memos/static/_app/immutable/chunks/singletons.583bdf4e.js +1 -0
- memos/static/_app/immutable/entry/app.666c1643.js +1 -0
- memos/static/_app/immutable/entry/start.aed5c701.js +3 -0
- memos/static/_app/immutable/nodes/0.5862ea38.js +7 -0
- memos/static/_app/immutable/nodes/1.35378a5e.js +1 -0
- memos/static/_app/immutable/nodes/2.1ccf9ea5.js +81 -0
- memos/static/_app/version.json +1 -0
- memos/static/app.html +36 -0
- memos/static/favicon.png +0 -0
- memos/static/logos/memos_logo_1024.png +0 -0
- memos/static/logos/memos_logo_1024@2x.png +0 -0
- memos/static/logos/memos_logo_128.png +0 -0
- memos/static/logos/memos_logo_128@2x.png +0 -0
- memos/static/logos/memos_logo_16.png +0 -0
- memos/static/logos/memos_logo_16@2x.png +0 -0
- memos/static/logos/memos_logo_256.png +0 -0
- memos/static/logos/memos_logo_256@2x.png +0 -0
- memos/static/logos/memos_logo_32.png +0 -0
- memos/static/logos/memos_logo_32@2x.png +0 -0
- memos/static/logos/memos_logo_512.png +0 -0
- memos/static/logos/memos_logo_512@2x.png +0 -0
- memos/static/logos/memos_logo_64.png +0 -0
- memos/static/logos/memos_logo_64@2x.png +0 -0
- memos/test_server.py +802 -0
- memos/utils.py +49 -0
- memos_ml_backends/florence2_server.py +176 -0
- memos_ml_backends/qwen2vl_server.py +182 -0
- memos_ml_backends/schemas.py +48 -0
- pensiev-0.25.5.dist-info/LICENSE +201 -0
- pensiev-0.25.5.dist-info/METADATA +541 -0
- pensiev-0.25.5.dist-info/RECORD +111 -0
- pensiev-0.25.5.dist-info/WHEEL +5 -0
- pensiev-0.25.5.dist-info/entry_points.txt +2 -0
- pensiev-0.25.5.dist-info/top_level.txt +2 -0
@@ -0,0 +1,541 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: pensiev
|
3
|
+
Version: 0.25.5
|
4
|
+
Summary: A package for Pensieve (previously known as memos)
|
5
|
+
Author: arkohut
|
6
|
+
License: Apache License
|
7
|
+
Version 2.0, January 2004
|
8
|
+
http://www.apache.org/licenses/
|
9
|
+
|
10
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
11
|
+
|
12
|
+
1. Definitions.
|
13
|
+
|
14
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
15
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
16
|
+
|
17
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
18
|
+
the copyright owner that is granting the License.
|
19
|
+
|
20
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
21
|
+
other entities that control, are controlled by, or are under common
|
22
|
+
control with that entity. For the purposes of this definition,
|
23
|
+
"control" means (i) the power, direct or indirect, to cause the
|
24
|
+
direction or management of such entity, whether by contract or
|
25
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
26
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
27
|
+
|
28
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
29
|
+
exercising permissions granted by this License.
|
30
|
+
|
31
|
+
"Source" form shall mean the preferred form for making modifications,
|
32
|
+
including but not limited to software source code, documentation
|
33
|
+
source, and configuration files.
|
34
|
+
|
35
|
+
"Object" form shall mean any form resulting from mechanical
|
36
|
+
transformation or translation of a Source form, including but
|
37
|
+
not limited to compiled object code, generated documentation,
|
38
|
+
and conversions to other media types.
|
39
|
+
|
40
|
+
"Work" shall mean the work of authorship, whether in Source or
|
41
|
+
Object form, made available under the License, as indicated by a
|
42
|
+
copyright notice that is included in or attached to the work
|
43
|
+
(an example is provided in the Appendix below).
|
44
|
+
|
45
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
46
|
+
form, that is based on (or derived from) the Work and for which the
|
47
|
+
editorial revisions, annotations, elaborations, or other modifications
|
48
|
+
represent, as a whole, an original work of authorship. For the purposes
|
49
|
+
of this License, Derivative Works shall not include works that remain
|
50
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
51
|
+
the Work and Derivative Works thereof.
|
52
|
+
|
53
|
+
"Contribution" shall mean any work of authorship, including
|
54
|
+
the original version of the Work and any modifications or additions
|
55
|
+
to that Work or Derivative Works thereof, that is intentionally
|
56
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
57
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
58
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
59
|
+
means any form of electronic, verbal, or written communication sent
|
60
|
+
to the Licensor or its representatives, including but not limited to
|
61
|
+
communication on electronic mailing lists, source code control systems,
|
62
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
63
|
+
Licensor for the purpose of discussing and improving the Work, but
|
64
|
+
excluding communication that is conspicuously marked or otherwise
|
65
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
66
|
+
|
67
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
68
|
+
on behalf of whom a Contribution has been received by Licensor and
|
69
|
+
subsequently incorporated within the Work.
|
70
|
+
|
71
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
72
|
+
this License, each Contributor hereby grants to You a perpetual,
|
73
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
74
|
+
copyright license to reproduce, prepare Derivative Works of,
|
75
|
+
publicly display, publicly perform, sublicense, and distribute the
|
76
|
+
Work and such Derivative Works in Source or Object form.
|
77
|
+
|
78
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
79
|
+
this License, each Contributor hereby grants to You a perpetual,
|
80
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
81
|
+
(except as stated in this section) patent license to make, have made,
|
82
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
83
|
+
where such license applies only to those patent claims licensable
|
84
|
+
by such Contributor that are necessarily infringed by their
|
85
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
86
|
+
with the Work to which such Contribution(s) was submitted. If You
|
87
|
+
institute patent litigation against any entity (including a
|
88
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
89
|
+
or a Contribution incorporated within the Work constitutes direct
|
90
|
+
or contributory patent infringement, then any patent licenses
|
91
|
+
granted to You under this License for that Work shall terminate
|
92
|
+
as of the date such litigation is filed.
|
93
|
+
|
94
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
95
|
+
Work or Derivative Works thereof in any medium, with or without
|
96
|
+
modifications, and in Source or Object form, provided that You
|
97
|
+
meet the following conditions:
|
98
|
+
|
99
|
+
(a) You must give any other recipients of the Work or
|
100
|
+
Derivative Works a copy of this License; and
|
101
|
+
|
102
|
+
(b) You must cause any modified files to carry prominent notices
|
103
|
+
stating that You changed the files; and
|
104
|
+
|
105
|
+
(c) You must retain, in the Source form of any Derivative Works
|
106
|
+
that You distribute, all copyright, patent, trademark, and
|
107
|
+
attribution notices from the Source form of the Work,
|
108
|
+
excluding those notices that do not pertain to any part of
|
109
|
+
the Derivative Works; and
|
110
|
+
|
111
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
112
|
+
distribution, then any Derivative Works that You distribute must
|
113
|
+
include a readable copy of the attribution notices contained
|
114
|
+
within such NOTICE file, excluding those notices that do not
|
115
|
+
pertain to any part of the Derivative Works, in at least one
|
116
|
+
of the following places: within a NOTICE text file distributed
|
117
|
+
as part of the Derivative Works; within the Source form or
|
118
|
+
documentation, if provided along with the Derivative Works; or,
|
119
|
+
within a display generated by the Derivative Works, if and
|
120
|
+
wherever such third-party notices normally appear. The contents
|
121
|
+
of the NOTICE file are for informational purposes only and
|
122
|
+
do not modify the License. You may add Your own attribution
|
123
|
+
notices within Derivative Works that You distribute, alongside
|
124
|
+
or as an addendum to the NOTICE text from the Work, provided
|
125
|
+
that such additional attribution notices cannot be construed
|
126
|
+
as modifying the License.
|
127
|
+
|
128
|
+
You may add Your own copyright statement to Your modifications and
|
129
|
+
may provide additional or different license terms and conditions
|
130
|
+
for use, reproduction, or distribution of Your modifications, or
|
131
|
+
for any such Derivative Works as a whole, provided Your use,
|
132
|
+
reproduction, and distribution of the Work otherwise complies with
|
133
|
+
the conditions stated in this License.
|
134
|
+
|
135
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
136
|
+
any Contribution intentionally submitted for inclusion in the Work
|
137
|
+
by You to the Licensor shall be under the terms and conditions of
|
138
|
+
this License, without any additional terms or conditions.
|
139
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
140
|
+
the terms of any separate license agreement you may have executed
|
141
|
+
with Licensor regarding such Contributions.
|
142
|
+
|
143
|
+
6. Trademarks. This License does not grant permission to use the trade
|
144
|
+
names, trademarks, service marks, or product names of the Licensor,
|
145
|
+
except as required for reasonable and customary use in describing the
|
146
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
147
|
+
|
148
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
149
|
+
agreed to in writing, Licensor provides the Work (and each
|
150
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
151
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
152
|
+
implied, including, without limitation, any warranties or conditions
|
153
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
154
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
155
|
+
appropriateness of using or redistributing the Work and assume any
|
156
|
+
risks associated with Your exercise of permissions under this License.
|
157
|
+
|
158
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
159
|
+
whether in tort (including negligence), contract, or otherwise,
|
160
|
+
unless required by applicable law (such as deliberate and grossly
|
161
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
162
|
+
liable to You for damages, including any direct, indirect, special,
|
163
|
+
incidental, or consequential damages of any character arising as a
|
164
|
+
result of this License or out of the use or inability to use the
|
165
|
+
Work (including but not limited to damages for loss of goodwill,
|
166
|
+
work stoppage, computer failure or malfunction, or any and all
|
167
|
+
other commercial damages or losses), even if such Contributor
|
168
|
+
has been advised of the possibility of such damages.
|
169
|
+
|
170
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
171
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
172
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
173
|
+
or other liability obligations and/or rights consistent with this
|
174
|
+
License. However, in accepting such obligations, You may act only
|
175
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
176
|
+
of any other Contributor, and only if You agree to indemnify,
|
177
|
+
defend, and hold each Contributor harmless for any liability
|
178
|
+
incurred by, or claims asserted against, such Contributor by reason
|
179
|
+
of your accepting any such warranty or additional liability.
|
180
|
+
|
181
|
+
END OF TERMS AND CONDITIONS
|
182
|
+
|
183
|
+
APPENDIX: How to apply the Apache License to your work.
|
184
|
+
|
185
|
+
To apply the Apache License to your work, attach the following
|
186
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
187
|
+
replaced with your own identifying information. (Don't include
|
188
|
+
the brackets!) The text should be enclosed in the appropriate
|
189
|
+
comment syntax for the file format. We also recommend that a
|
190
|
+
file or class name and description of purpose be included on the
|
191
|
+
same "printed page" as the copyright notice for easier
|
192
|
+
identification within third-party archives.
|
193
|
+
|
194
|
+
Copyright 2024 Arkohut
|
195
|
+
|
196
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
197
|
+
you may not use this file except in compliance with the License.
|
198
|
+
You may obtain a copy of the License at
|
199
|
+
|
200
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
201
|
+
|
202
|
+
Unless required by applicable law or agreed to in writing, software
|
203
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
204
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
205
|
+
See the License for the specific language governing permissions and
|
206
|
+
limitations under the License.
|
207
|
+
Project-URL: Homepage, https://github.com/arkohut/pensieve
|
208
|
+
Classifier: Programming Language :: Python :: 3
|
209
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
210
|
+
Classifier: Operating System :: OS Independent
|
211
|
+
Requires-Python: >=3.10
|
212
|
+
Description-Content-Type: text/markdown
|
213
|
+
License-File: LICENSE
|
214
|
+
Requires-Dist: fastapi
|
215
|
+
Requires-Dist: uvicorn
|
216
|
+
Requires-Dist: httpx
|
217
|
+
Requires-Dist: pydantic>=2.0
|
218
|
+
Requires-Dist: sqlalchemy>=2.0
|
219
|
+
Requires-Dist: typer>=0.13
|
220
|
+
Requires-Dist: magika
|
221
|
+
Requires-Dist: pydantic-settings>=2.6
|
222
|
+
Requires-Dist: opencv-python
|
223
|
+
Requires-Dist: pillow
|
224
|
+
Requires-Dist: piexif
|
225
|
+
Requires-Dist: imagehash
|
226
|
+
Requires-Dist: rapidocr_onnxruntime
|
227
|
+
Requires-Dist: rapidocr_openvino; sys_platform == "win32"
|
228
|
+
Requires-Dist: py-cpuinfo
|
229
|
+
Requires-Dist: psutil
|
230
|
+
Requires-Dist: pywin32; sys_platform == "win32"
|
231
|
+
Requires-Dist: pyobjc-core; sys_platform == "darwin"
|
232
|
+
Requires-Dist: pyobjc-framework-Quartz; sys_platform == "darwin"
|
233
|
+
Requires-Dist: ocrmac; sys_platform == "darwin"
|
234
|
+
Requires-Dist: sentence-transformers
|
235
|
+
Requires-Dist: torch
|
236
|
+
Requires-Dist: numpy
|
237
|
+
Requires-Dist: timm
|
238
|
+
Requires-Dist: einops
|
239
|
+
Requires-Dist: modelscope
|
240
|
+
Requires-Dist: mss
|
241
|
+
Requires-Dist: sqlite_vec>=0.1.6
|
242
|
+
Requires-Dist: watchdog
|
243
|
+
Requires-Dist: alembic
|
244
|
+
Requires-Dist: logfire[sqlalchemy]
|
245
|
+
Requires-Dist: logfire[fastapi]
|
246
|
+
Requires-Dist: jieba
|
247
|
+
Provides-Extra: postgresql
|
248
|
+
Requires-Dist: psycopg2-binary; extra == "postgresql"
|
249
|
+
|
250
|
+
<!-- <div align="center">
|
251
|
+
<img src="https://github.com/arkohut/pensieve/raw/master/web/static/logos/memos_logo_512.png" width="250"/>
|
252
|
+
</div> -->
|
253
|
+
|
254
|
+
English | [简体中文](README_ZH.md) | [日本語](README_JP.md)
|
255
|
+
|
256
|
+

|
257
|
+
|
258
|
+
[](https://www.bilibili.com/video/BV16XUkY7EJm) [](https://www.youtube.com/watch?v=tAnYkeKTFUc)
|
259
|
+
|
260
|
+
> I changed the name to Pensieve because Memos was already taken.
|
261
|
+
|
262
|
+
# Pensieve (previously named Memos)
|
263
|
+
|
264
|
+
Pensieve is a privacy-focused passive recording project. It can automatically record screen content, build intelligent indices, and provide a convenient web interface to retrieve historical records.
|
265
|
+
|
266
|
+
This project draws heavily from two other projects: one called [Rewind](https://www.rewind.ai/) and another called [Windows Recall](https://support.microsoft.com/en-us/windows/retrace-your-steps-with-recall-aa03f8a0-a78b-4b3e-b0a1-2eb8ac48701c). However, unlike both of them, Pensieve allows you to have complete control over your data, avoiding the transfer of data to untrusted data centers.
|
267
|
+
|
268
|
+
## Features
|
269
|
+
|
270
|
+
- 🚀 Simple installation: just install dependencies via pip to get started
|
271
|
+
- 🔒 Complete data control: all data is stored locally, allowing for full local operation and self-managed data processing
|
272
|
+
- 🔍 Full-text and vector search support
|
273
|
+
- 🤖 Integrates with Ollama, using it as the machine learning engine for Pensieve
|
274
|
+
- 🌐 Compatible with any OpenAI API models (e.g., OpenAI, Azure OpenAI, vLLM, etc.)
|
275
|
+
- 💻 Supports Mac and Windows (Linux support is in development)
|
276
|
+
- 🔌 Extensible functionality through plugins
|
277
|
+
|
278
|
+
## Quick Start
|
279
|
+
|
280
|
+

|
281
|
+
|
282
|
+
> [!IMPORTANT]
|
283
|
+
> It seems that not all versions of Python's sqlite3 library support `enable_load_extension`. However, I'm not sure which environments or Python versions might encounter this issue. I use `conda` to manage Python, and Python installed via `conda` works fine on macOS, Windows x86, and Ubuntu 22.04.
|
284
|
+
>
|
285
|
+
> Please ensure the following command works in your Python environment:
|
286
|
+
>
|
287
|
+
> ```python
|
288
|
+
> import sqlite3
|
289
|
+
>
|
290
|
+
> # Check sqlite version
|
291
|
+
> print(f"SQLite version: {sqlite3.sqlite_version}")
|
292
|
+
>
|
293
|
+
> # Test if enable_load_extension is supported
|
294
|
+
> try:
|
295
|
+
> conn = sqlite3.connect(':memory:')
|
296
|
+
> conn.enable_load_extension(True)
|
297
|
+
> print("enable_load_extension is supported")
|
298
|
+
> except AttributeError:
|
299
|
+
> print("enable_load_extension is not supported")
|
300
|
+
> finally:
|
301
|
+
> conn.close()
|
302
|
+
> ```
|
303
|
+
>
|
304
|
+
> If you find that this does not work properly, you can install [miniconda](https://docs.conda.io/en/latest/miniconda.html) to manage your Python environment. Alternatively, check the current issue list to see if others have encountered the same problem.
|
305
|
+
|
306
|
+
### 1. Install Pensieve
|
307
|
+
|
308
|
+
```sh
|
309
|
+
pip install memos
|
310
|
+
```
|
311
|
+
|
312
|
+
### 2. Initialize
|
313
|
+
|
314
|
+
Initialize the pensieve configuration file and sqlite database:
|
315
|
+
|
316
|
+
```sh
|
317
|
+
memos init
|
318
|
+
```
|
319
|
+
|
320
|
+
Data will be stored in the `~/.memos` directory.
|
321
|
+
|
322
|
+
### 3. Start the Service
|
323
|
+
|
324
|
+
```sh
|
325
|
+
memos enable
|
326
|
+
memos start
|
327
|
+
```
|
328
|
+
|
329
|
+
This command will:
|
330
|
+
|
331
|
+
- Begin recording all screens
|
332
|
+
- Start the Web service
|
333
|
+
- Set the service to start on boot
|
334
|
+
|
335
|
+
### 4. Access the Web Interface
|
336
|
+
|
337
|
+
Open your browser and visit `http://localhost:8839`
|
338
|
+
|
339
|
+

|
340
|
+
|
341
|
+
### Mac Permission Issues
|
342
|
+
|
343
|
+
On Mac, Pensieve needs screen recording permission. When the program starts, Mac will prompt for screen recording permission - please allow it to proceed.
|
344
|
+
|
345
|
+
## User Guide
|
346
|
+
|
347
|
+
### Using the Appropriate Embedding Model
|
348
|
+
|
349
|
+
#### 1. Model Selection
|
350
|
+
|
351
|
+
Pensieve uses embedding models to extract semantic information and build vector indices. Therefore, choosing an appropriate embedding model is crucial. Depending on the user's primary language, different embedding models should be selected.
|
352
|
+
|
353
|
+
- For Chinese scenarios, you can use the [jinaai/jina-embeddings-v2-base-zh](https://huggingface.co/jinaai/jina-embeddings-v2-base-zh) model.
|
354
|
+
- For English scenarios, you can use the [jinaai/jina-embeddings-v2-base-en](https://huggingface.co/jinaai/jina-embeddings-v2-base-en) model.
|
355
|
+
|
356
|
+
#### 2. Adjust Memos Configuration
|
357
|
+
|
358
|
+
Open the `~/.memos/config.yaml` file with your preferred text editor and modify the `embedding` configuration:
|
359
|
+
|
360
|
+
```yaml
|
361
|
+
embedding:
|
362
|
+
use_local: true
|
363
|
+
model: jinaai/jina-embeddings-v2-base-en # Model name used
|
364
|
+
num_dim: 768 # Model dimensions
|
365
|
+
use_modelscope: false # Whether to use ModelScope's model
|
366
|
+
```
|
367
|
+
|
368
|
+
#### 3. Restart Memos Service
|
369
|
+
|
370
|
+
```sh
|
371
|
+
memos stop
|
372
|
+
memos start
|
373
|
+
```
|
374
|
+
|
375
|
+
The first time you use the embedding model, Pensieve will automatically download and load the model.
|
376
|
+
|
377
|
+
#### 4. Rebuild Index
|
378
|
+
|
379
|
+
If you switch the embedding model during use, meaning you have already indexed screenshots before, you need to rebuild the index:
|
380
|
+
|
381
|
+
```sh
|
382
|
+
memos reindex --force
|
383
|
+
```
|
384
|
+
|
385
|
+
The `--force` parameter indicates rebuilding the index table and deleting previously indexed screenshot data.
|
386
|
+
|
387
|
+
### Using Ollama for Visual Search
|
388
|
+
|
389
|
+
By default, Pensieve only enables the OCR plugin to extract text from screenshots and build indices. However, this method significantly limits search effectiveness for images without text.
|
390
|
+
|
391
|
+
To achieve more comprehensive visual search capabilities, we need a multimodal image understanding service compatible with the OpenAI API. Ollama perfectly fits this role.
|
392
|
+
|
393
|
+
#### Important Notes Before Use
|
394
|
+
|
395
|
+
Before deciding to enable the VLM feature, please note the following:
|
396
|
+
|
397
|
+
1. **Hardware Requirements**
|
398
|
+
|
399
|
+
- Recommended configuration: NVIDIA graphics card with at least 8GB VRAM or Mac with M series chip
|
400
|
+
- The minicpm-v model will occupy about 5.5GB of storage space
|
401
|
+
- CPU mode is not recommended as it will cause severe system lag
|
402
|
+
|
403
|
+
2. **Performance and Power Consumption Impact**
|
404
|
+
|
405
|
+
- Enabling VLM will significantly increase system power consumption
|
406
|
+
- Consider using other devices to provide OpenAI API compatible model services
|
407
|
+
|
408
|
+
#### 1. Install Ollama
|
409
|
+
|
410
|
+
Visit the [Ollama official documentation](https://ollama.com) for detailed installation and configuration instructions.
|
411
|
+
|
412
|
+
#### 2. Prepare the Multimodal Model
|
413
|
+
|
414
|
+
Download and run the multimodal model `minicpm-v` using the following command:
|
415
|
+
|
416
|
+
```sh
|
417
|
+
ollama run minicpm-v "Describe what this service is"
|
418
|
+
```
|
419
|
+
|
420
|
+
This command will download and run the minicpm-v model. If the running speed is too slow, it is not recommended to use this feature.
|
421
|
+
|
422
|
+
#### 3. Configure Pensieve to Use Ollama
|
423
|
+
|
424
|
+
Open the `~/.memos/config.yaml` file with your preferred text editor and modify the `vlm` configuration:
|
425
|
+
|
426
|
+
```yaml
|
427
|
+
vlm:
|
428
|
+
endpoint: http://localhost:11434 # Ollama service address
|
429
|
+
modelname: minicpm-v # Model name to use
|
430
|
+
force_jpeg: true # Convert images to JPEG format to ensure compatibility
|
431
|
+
prompt: Please describe the content of this image, including the layout and visual elements # Prompt sent to the model
|
432
|
+
```
|
433
|
+
|
434
|
+
Use the above configuration to overwrite the `vlm` configuration in the `~/.memos/config.yaml` file.
|
435
|
+
|
436
|
+
Also, modify the `default_plugins` configuration in the `~/.memos/plugins/vlm/config.yaml` file:
|
437
|
+
|
438
|
+
```yaml
|
439
|
+
default_plugins:
|
440
|
+
- builtin_ocr
|
441
|
+
- builtin_vlm
|
442
|
+
```
|
443
|
+
|
444
|
+
This adds the `builtin_vlm` plugin to the default plugin list.
|
445
|
+
|
446
|
+
#### 4. Restart Pensieve Service
|
447
|
+
|
448
|
+
```sh
|
449
|
+
memos stop
|
450
|
+
memos start
|
451
|
+
```
|
452
|
+
|
453
|
+
After restarting the Pensieve service, wait a moment to see the data extracted by VLM in the latest screenshots on the Pensieve web interface:
|
454
|
+
|
455
|
+

|
456
|
+
|
457
|
+
If you do not see the VLM results, you can:
|
458
|
+
|
459
|
+
- Use the command `memos ps` to check if the Pensieve process is running normally
|
460
|
+
- Check for error messages in `~/.memos/logs/memos.log`
|
461
|
+
- Confirm whether the Ollama model is loaded correctly (`ollama ps`)
|
462
|
+
|
463
|
+
### Full Indexing
|
464
|
+
|
465
|
+
Pensieve is a compute-intensive application. The indexing process requires the collaboration of OCR, VLM, and embedding models. To minimize the impact on the user's computer, Pensieve calculates the average processing time for each screenshot and adjusts the indexing frequency accordingly. Therefore, not all screenshots are indexed immediately by default.
|
466
|
+
|
467
|
+
If you want to index all screenshots, you can use the following command for full indexing:
|
468
|
+
|
469
|
+
```sh
|
470
|
+
memos scan
|
471
|
+
```
|
472
|
+
|
473
|
+
This command will scan and index all recorded screenshots. Note that depending on the number of screenshots and system configuration, this process may take some time and consume significant system resources. The index construction is idempotent, and running this command multiple times will not re-index already indexed data.
|
474
|
+
|
475
|
+
## Privacy and Security
|
476
|
+
|
477
|
+
During the development of Pensieve, I closely followed the progress of similar products, especially [Rewind](https://www.rewind.ai/) and [Windows Recall](https://support.microsoft.com/en-us/windows/retrace-your-steps-with-recall-aa03f8a0-a78b-4b3e-b0a1-2eb8ac48701c). I greatly appreciate their product philosophy, but they do not do enough in terms of privacy protection, which is a concern for many users (or potential users). Recording the screen of a personal computer may expose extremely sensitive private data, such as bank accounts, passwords, chat records, etc. Therefore, ensuring that data storage and processing are completely controlled by the user to prevent data leakage is particularly important.
|
478
|
+
|
479
|
+
The advantages of Pensieve are:
|
480
|
+
|
481
|
+
1. The code is completely open-source and easy-to-understand Python code, allowing anyone to review the code to ensure there are no backdoors.
|
482
|
+
2. Data is completely localized, all data is stored locally, and data processing is entirely controlled by the user. Data will be stored in the user's `~/.memos` directory.
|
483
|
+
3. Easy to uninstall. If you no longer use Pensieve, you can close the program with `memos stop && memos disable`, then uninstall it with `pip uninstall memos`, and finally delete the `~/.memos` directory to clean up all databases and screenshot data.
|
484
|
+
4. Data processing is entirely controlled by the user. Pensieve is an independent project, and the machine learning models used (including VLM and embedding models) are chosen by the user. Due to Pensieve' operating mode, using smaller models can also achieve good results.
|
485
|
+
|
486
|
+
Of course, there is still room for improvement in terms of privacy, and contributions are welcome to make Pensieve better.
|
487
|
+
|
488
|
+
## Other Noteworthy Content
|
489
|
+
|
490
|
+
### About Storage Space
|
491
|
+
|
492
|
+
Pensieve records the screen every 5 seconds and saves the original screenshots in the `~/.memos/screenshots` directory. Storage space usage mainly depends on the following factors:
|
493
|
+
|
494
|
+
1. **Screenshot Data**:
|
495
|
+
|
496
|
+
- Single screenshot size: about 40-400KB (depending on screen resolution and display complexity)
|
497
|
+
- Daily data volume: about 400MB (based on 10 hours of usage, single screen 2560x1440 resolution)
|
498
|
+
- Multi-screen usage: data volume increases with the number of screens
|
499
|
+
- Monthly estimate: about 8GB based on 20 working days
|
500
|
+
|
501
|
+
Screenshots are deduplicated. If the content of consecutive screenshots does not change much, only one screenshot will be retained. The deduplication mechanism can significantly reduce storage usage in scenarios where content does not change frequently (such as reading, document editing, etc.).
|
502
|
+
|
503
|
+
2. **Database Space**:
|
504
|
+
|
505
|
+
- SQLite database size depends on the number of indexed screenshots
|
506
|
+
- Reference value: about 2.2GB of storage space after indexing 100,000 screenshots
|
507
|
+
|
508
|
+
### About Power Consumption
|
509
|
+
|
510
|
+
Pensieve requires two compute-intensive tasks by default:
|
511
|
+
|
512
|
+
- One is the OCR task, used to extract text from screenshots
|
513
|
+
- The other is the embedding task, used to extract semantic information and build vector indices
|
514
|
+
|
515
|
+
#### Resource Usage
|
516
|
+
|
517
|
+
- **OCR Task**: Executed using the CPU, and optimized to select the OCR engine based on different operating systems to minimize CPU usage
|
518
|
+
- **Embedding Task**: Intelligently selects the computing device
|
519
|
+
|
520
|
+
- NVIDIA GPU devices prioritize using the GPU
|
521
|
+
- Mac devices prioritize using Metal GPU
|
522
|
+
- Other devices use the CPU
|
523
|
+
|
524
|
+
#### Performance Optimization Strategy
|
525
|
+
|
526
|
+
To avoid affecting users' daily use, Pensieve has adopted the following optimization measures:
|
527
|
+
|
528
|
+
- Dynamically adjust the indexing frequency, adapting to system processing speed
|
529
|
+
- Automatically reduce processing frequency when on battery power to save power
|
530
|
+
|
531
|
+
## Development Guide
|
532
|
+
|
533
|
+
### Peeling the First Layer of the Onion
|
534
|
+
|
535
|
+
In fact, after Pensieve starts, it runs three programs:
|
536
|
+
|
537
|
+
1. `memos serve` starts the web service
|
538
|
+
2. `memos record` starts the screenshot recording program
|
539
|
+
3. `memos watch` listens to the image events generated by `memos record` and dynamically submits indexing requests to the server based on actual processing speed
|
540
|
+
|
541
|
+
Therefore, if you are a developer or want to see the logs of the entire project running more clearly, you can use these three commands to run each part in the foreground instead of the `memos enable && memos start` command.
|
@@ -0,0 +1,111 @@
|
|
1
|
+
memos/__init__.py,sha256=ePhk0Iuma2KE8wWb2dpswRmUGQYmm2dFonotp3CZTT4,159
|
2
|
+
memos/commands.py,sha256=03mlexXcIRQ1xbMrpbbVAhiP6kHpx3fpGy2jHu99rk8,28033
|
3
|
+
memos/config.py,sha256=k0D30Zv15dGmhPxkv1PquCBdI-MFGlLqcHzB85lBGT4,7127
|
4
|
+
memos/crud.py,sha256=Ea4K51T4H6KtebAX1v9dYDJL_kS5TIEojeXjccLU3Kg,18587
|
5
|
+
memos/dataset_extractor_for_florence.py,sha256=R2wJOIRC5a4cSkoCoi9vrNjSRhhMOZyQG81H4QBJ734,5292
|
6
|
+
memos/dataset_extractor_for_internvl2.py,sha256=u1eKyhkf1wyvowlw_hVEmqkWPvLyW1NG_u4p4YqluFE,6255
|
7
|
+
memos/default_config.yaml,sha256=Tz53frQaekvTShf55jRPrCGG-kaC5F0LykbfoKIIOv8,2521
|
8
|
+
memos/embedding.py,sha256=mPhJZTMdomWPj5c4ZpFfYEAFu8d90tRDq4m9o0QHzb0,3944
|
9
|
+
memos/frame_extractor.py,sha256=D-00ezN8P1NITDvv16dDdHJUcaHp6e7eHV8-aMC-jPs,1671
|
10
|
+
memos/logging_config.py,sha256=pgj68TOWFZr05cgFR2bvUFA51buQ8VYZci1wa05S4jg,783
|
11
|
+
memos/main.py,sha256=HYbhIap9wDhfur_h1gKmPsJCaefTnerdmr2-CgiY-Lg,2822
|
12
|
+
memos/migrations.py,sha256=4Wirplao8CPqI5nRuJYGJ_td5EQYxcCuJI1rw70MITY,649
|
13
|
+
memos/models.py,sha256=R12fzIahUJFsYIGFCocx_zDwaaNDVqaZPVUM1iWN27s,6875
|
14
|
+
memos/prepare_dataset.py,sha256=sqBRAbN7kx8p8WZ9r8AEIL4wr4AyrvFxX6V7st1uY6Y,3432
|
15
|
+
memos/process_webp.py,sha256=J4W2UHFHfqBbRfSN2Ktm4EnHu9nWUkEiziWfMBXKz-o,1861
|
16
|
+
memos/read_metadata.py,sha256=UpT2hOrRzG2neOhcatTSR2s4-j7I4axkWmf6ZbnqjP4,795
|
17
|
+
memos/record.py,sha256=kxqvlG0pkcKng-7ewLzAv8HM1xpZYiHuJ6qGFQseZpA,11951
|
18
|
+
memos/schemas.py,sha256=KALlMrU3F5WAlokh8xZlodkxQkub745m1g4vOXD9Amo,6350
|
19
|
+
memos/search.py,sha256=5M2hJjQyqGJMfAGvK6lysr9oVfisQEMncN_KTx3Lsfs,43949
|
20
|
+
memos/server.py,sha256=O3eXJvoTNnpTVq_yogc3ePTSHErC9KRIfo3iuVS1xC4,27964
|
21
|
+
memos/shotsum.py,sha256=eUtbA8Vfnk473LlyFsda8287EbQ1znkpCOzSiMEw3kU,3551
|
22
|
+
memos/shotsum_with_ocr.py,sha256=f0QXpZnqlrQxoS9-l6-Xa3kKD8tqLuRY50z1ndbpKX0,5010
|
23
|
+
memos/test_server.py,sha256=VOj1SfHJ88R8_sle70H6JW3LCPe8Ty5W4vLqpRBtQTI,27155
|
24
|
+
memos/utils.py,sha256=CE2Tsw0pXQsTMxWcjfTp1ZEwM4hmaMNu7MmOzvgFxSk,1860
|
25
|
+
memos/cmds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
26
|
+
memos/cmds/library.py,sha256=5oooVTc2j7BOlKyls4dzLKJVowuDNLMX4x8BP2TPtNo,45916
|
27
|
+
memos/cmds/plugin.py,sha256=5ho1PIyQhgvHgOpSXBLBv1EEEau_f_XOaFJP8jZr7Q8,2973
|
28
|
+
memos/databases/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
|
+
memos/databases/initializers.py,sha256=v8YBIMDWyclOqDt8Y0mlvOC4GRFJ6NVv_1MTfEnmMp0,19551
|
30
|
+
memos/migrations/alembic.ini,sha256=SyndfHkMypuXJM_A7mJ0sPeawrWY0tNQ8_d28JtNnNc,3678
|
31
|
+
memos/migrations/alembic/README,sha256=MVlc9TYmr57RbhXET6QxgyCcwWP7w-vLkEsirENqiIQ,38
|
32
|
+
memos/migrations/alembic/env.py,sha256=Ix63RBmAlwYmc8aQ1P9laMW5IIZk2i7FhVSpVxW9u6g,3276
|
33
|
+
memos/migrations/alembic/script.py.mako,sha256=kvk6rLAwnCpzomWYdhT-vpBa4VVXDoVmWpwI9smf59M,807
|
34
|
+
memos/migrations/alembic/__pycache__/env.cpython-310.pyc,sha256=GfDnG2rwa-E0AUCN3bm95kzFV3vZ6ZPKxn-Olw7iKqc,2796
|
35
|
+
memos/migrations/alembic/versions/00904ac8c6fc_add_indexes_to_entitymodel.py,sha256=zZaf3Y1I4QyE6n9VDe39RkGEmMErTCMDIdBMSlTytjw,1704
|
36
|
+
memos/migrations/alembic/versions/04acdaf75664_add_indices_to_entitytags_and_metadata.py,sha256=EMiVeghapo8lZZBBLTlh5F_rD-qhrvbHRH5KJMtX_ck,2637
|
37
|
+
memos/migrations/alembic/versions/12504c5b1d3c_add_extra_columns_for_embedding.py,sha256=BOk5eMiF3sENbzipq-7-fsFA9hsZXVaWPZm1MO10uYU,1877
|
38
|
+
memos/migrations/alembic/versions/31a1ad0e10b3_add_entity_plugin_status.py,sha256=O5kKEWn_uU0OZt1M7cjtPmGpllzka6xYV5-lizYt62g,2431
|
39
|
+
memos/migrations/alembic/versions/d10c55fbb7d2_add_index_for_entity_file_type_group_.py,sha256=57SUYEuQ7I9_DPfCZiE-ZgAwAMTpyb6ER1r6vU111SM,1411
|
40
|
+
memos/migrations/alembic/versions/f8f158182416_add_active_app_index.py,sha256=ENIfncEVz504zTG6usEXoiUMAznAwWYSZgKwzNKzIwY,2044
|
41
|
+
memos/migrations/alembic/versions/__pycache__/00904ac8c6fc_add_indexes_to_entitymodel.cpython-310.pyc,sha256=EYXxYjGEp_OPpwqMWQ-7nrrCETFao_qv-0PY87kRHW4,1771
|
42
|
+
memos/migrations/alembic/versions/__pycache__/04acdaf75664_add_indices_to_entitytags_and_metadata.cpython-310.pyc,sha256=BHVwXLgPqZVwOV82o9rEffENE0XFrRrITRCYs3sFUgQ,2224
|
43
|
+
memos/migrations/alembic/versions/__pycache__/12504c5b1d3c_add_extra_columns_for_embedding.cpython-310.pyc,sha256=ud9Uq4fFwLGs6R72J9Gb2m6xK5zUcxtjFmCPHjPtsLY,2244
|
44
|
+
memos/migrations/alembic/versions/__pycache__/20f5ecab014d_add_entity_plugin_status.cpython-310.pyc,sha256=bv3lXAWZCklsk8658F838aSB7SWku6iUZ5ila2sKRag,886
|
45
|
+
memos/migrations/alembic/versions/__pycache__/31a1ad0e10b3_add_entity_plugin_status.cpython-310.pyc,sha256=lWmDYEW7-WHHuyQIV8CbJGJXKG-_wnz-oWHCz8KyrTg,2309
|
46
|
+
memos/migrations/alembic/versions/__pycache__/4fcb062c5128_add_extra_columns_for_embedding.cpython-310.pyc,sha256=4BOpYx08dONhncf94mCPgel2pCW97BiLWOkAp4PWESA,2101
|
47
|
+
memos/migrations/alembic/versions/__pycache__/d10c55fbb7d2_add_index_for_entity_file_type_group_.cpython-310.pyc,sha256=W0hR_1w0Rgolo-Lbvp6IcscGQ4vKA9mvUV7kXYX6jJA,1647
|
48
|
+
memos/migrations/alembic/versions/__pycache__/f8f158182416_add_active_app_index.cpython-310.pyc,sha256=UhnWEplM0SGOI2FzzbV2SUzPaZF-SH77xM0n1-wfEjs,2110
|
49
|
+
memos/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
50
|
+
memos/plugins/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
51
|
+
memos/plugins/ocr/main.py,sha256=m3WWGEUd0AJQzgD6cD5jp9-mTZtc0bU-k8OykUVpmKs,8579
|
52
|
+
memos/plugins/ocr/ppocr-gpu.yaml,sha256=SAeLrCitUXqP6duMAK-gC9MJe6Pr8MU0rKosHUqFCQs,766
|
53
|
+
memos/plugins/ocr/ppocr.yaml,sha256=P-J8D7IaPruOS2mlEV9f-QA8OHAvIKkR6StuWBgnjeA,794
|
54
|
+
memos/plugins/ocr/server.py,sha256=L5dGsPPl4J0y_uY91gcSBtx23EBculE7pw2tqfjQmX0,6099
|
55
|
+
memos/plugins/ocr/temp_ppocr.yaml,sha256=2yLQkQjNDnRlo17GOUZ0Np-qBXW5RBwz3MnrdMMYQFM,902
|
56
|
+
memos/plugins/ocr/models/ch_PP-OCRv4_det_infer.onnx,sha256=0qdyDUWlQlcgix4T42qEeYlMt0FVpe_ilGJRLUL0nak,4745517
|
57
|
+
memos/plugins/ocr/models/ch_PP-OCRv4_rec_infer.onnx,sha256=SPxA8k9tKiB6KxCR00N-s8w-trZ23D75w3OEAFSDaDs,10857958
|
58
|
+
memos/plugins/ocr/models/ch_ppocr_mobile_v2.0_cls_train.onnx,sha256=cFgbMAuDur2eDdHX10xbAGhp6HltonenDC5AW_nXfII,581639
|
59
|
+
memos/plugins/vlm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
60
|
+
memos/plugins/vlm/main.py,sha256=lD5sRXi8i-tSIvtPnYCI7ZAfY9L6LnJv1fGCGFHtcvY,8075
|
61
|
+
memos/simple_tokenizer/dict/README.md,sha256=i8x8Ltff8ILZqZwJ3gv9ciSb87XEKYo68yjaQMvYz9E,683
|
62
|
+
memos/simple_tokenizer/dict/hmm_model.utf8,sha256=8XeQWGrIbdBIyK3_7QUsS9KyjtBoKXLBJ15ZBAwFiac,519739
|
63
|
+
memos/simple_tokenizer/dict/idf.utf8,sha256=29HgPXKyJjzI2EpDBO13Z37tnn3q9DoaUTO7upcztTU,5998717
|
64
|
+
memos/simple_tokenizer/dict/jieba.dict.utf8,sha256=MEO3cGjgnJkE8nytgvErbr6dvbWu_zsl5Fq3-cESK1U,5071204
|
65
|
+
memos/simple_tokenizer/dict/stop_words.utf8,sha256=t4i4qTnS4v4Hmr1XnqmPEvn7hDcL_Q3d2Bu5OB96tCw,8974
|
66
|
+
memos/simple_tokenizer/dict/user.dict.utf8,sha256=SVu_SScECKEjRpDh5qlzKPMKSCp6cqp2nooS6HFLDGI,49
|
67
|
+
memos/simple_tokenizer/dict/pos_dict/char_state_tab.utf8,sha256=KLe-Hdc2l2alFEWvTULporpL83TBO-W8HKdyHicnHbs,327139
|
68
|
+
memos/simple_tokenizer/dict/pos_dict/prob_emit.utf8,sha256=wzxMt-3zs6WUffcgm26fJn6uHyEzXZ4r0lIeoHEFRXo,1687686
|
69
|
+
memos/simple_tokenizer/dict/pos_dict/prob_start.utf8,sha256=E2I-oOkwC9tZfLLaKHcLezhdbACY1m5RYIP7Aba9XZY,4347
|
70
|
+
memos/simple_tokenizer/dict/pos_dict/prob_trans.utf8,sha256=8iNj4jB0CCk9GAxvn2tct1h51S9yL3dk-i09CuJAAjY,124159
|
71
|
+
memos/simple_tokenizer/linux/libsimple.so,sha256=KmZTBgKfa50gtwP1tr23kNfWMUj_vsNDk2-Qf5MfEhU,859032
|
72
|
+
memos/simple_tokenizer/macos/libsimple.dylib,sha256=C6t4IjUhZ5AhsWaPFenopTu60jpgmh3HDbLbWlUUCQ4,1711724
|
73
|
+
memos/simple_tokenizer/windows/simple.dll,sha256=JbNAPwYuAP_XwlKn3s2EWapp540p-9ZiOPR2tzlyjYY,888320
|
74
|
+
memos/static/app.html,sha256=9vIIS4O45fTl493oA7lan4yr7N3jTrcmyOyJnRhiFLg,1156
|
75
|
+
memos/static/favicon.png,sha256=ufWanzB_uNuI8u9q52gAd59PPtI2JgAV93d-LEQTI9k,1783
|
76
|
+
memos/static/_app/version.json,sha256=4NHrL4wZufJLMD_B-lUKN0a_yvY_cPBdLHMdbrD40oI,27
|
77
|
+
memos/static/_app/immutable/assets/0.e250c031.css,sha256=4lDAMVFNNu4GQXUQk3DocSXflQ6yWtUTOhn-o8ooq0E,57613
|
78
|
+
memos/static/_app/immutable/assets/_layout.e7937cfe.css,sha256=55N8_iyJQjDeH86imX4n6QAMUGvf4JJbMPnT7DSF5ok,57547
|
79
|
+
memos/static/_app/immutable/chunks/index.5c08976b.js,sha256=Yty_Jonu85U8Std5npbxOvgsfRNz1mP91MPK6Us0awE,994
|
80
|
+
memos/static/_app/immutable/chunks/index.60ee613b.js,sha256=CMs5Qy12SGYyd1cPMmO4oPiqM_yY5FZyKgc4MMKOmd8,5732
|
81
|
+
memos/static/_app/immutable/chunks/runtime.a7926cf6.js,sha256=oWin5szZ-Rdbd5GfdKnLmtzLcckMQrlkbiKRGCQu_oI,51636
|
82
|
+
memos/static/_app/immutable/chunks/scheduler.5c1cff6e.js,sha256=WxxwPmCFeZnNCfWcJwNidhxYKOilCiWn37T1LtUXS_Y,9656
|
83
|
+
memos/static/_app/immutable/chunks/singletons.583bdf4e.js,sha256=WNKzG2EyNDU1w04CCRHR_vhpnfp1MlIIjO8p0JTquYA,2461
|
84
|
+
memos/static/_app/immutable/entry/app.666c1643.js,sha256=6f_LYqAONYJccuqDRrVRxOAfxoHDr6FPswtKF_fuRso,5997
|
85
|
+
memos/static/_app/immutable/entry/start.aed5c701.js,sha256=coeRDHfxB9JKN6WqB6Cerxj2m7JtFS4oJylRlGiDHes,25310
|
86
|
+
memos/static/_app/immutable/nodes/0.5862ea38.js,sha256=JSadv7SKJLCX0Kmg9fOGZIVYczW0VAlpZrysv7KAkdY,45720
|
87
|
+
memos/static/_app/immutable/nodes/1.35378a5e.js,sha256=fr6quuqnnabA5fA2R3k_E7Il9OVKdZWNwafabw2fKkE,1027
|
88
|
+
memos/static/_app/immutable/nodes/2.1ccf9ea5.js,sha256=sopxWMsslltz7WWav86r9OsfdGzXg5tZr6bJjbjnfb0,458000
|
89
|
+
memos/static/logos/memos_logo_1024.png,sha256=1duOPMuPn8D_EqiyABTDH8rQSaMnvyN_TwmU7zC30D0,100316
|
90
|
+
memos/static/logos/memos_logo_1024@2x.png,sha256=qTLwsGlux8ElJrMdbXvDW9ChFV5X3C8bWLQ4noTqFBA,214335
|
91
|
+
memos/static/logos/memos_logo_128.png,sha256=ufWanzB_uNuI8u9q52gAd59PPtI2JgAV93d-LEQTI9k,1783
|
92
|
+
memos/static/logos/memos_logo_128@2x.png,sha256=hvvduq_hEaMss2WYbBCJhsbfBSVBexNYz9GlZMXiVqk,3322
|
93
|
+
memos/static/logos/memos_logo_16.png,sha256=P9UG4ZnJCe5XFP-sjzUhHKsv8aesCuD5m4vQHzrIQN8,883
|
94
|
+
memos/static/logos/memos_logo_16@2x.png,sha256=nN1ICCPzxjZ05PotSPzu0i6pShlPsXFFf1jTwIW_SsI,1268
|
95
|
+
memos/static/logos/memos_logo_256.png,sha256=hvvduq_hEaMss2WYbBCJhsbfBSVBexNYz9GlZMXiVqk,3322
|
96
|
+
memos/static/logos/memos_logo_256@2x.png,sha256=zRL2MuDmoleiBhmNq6PWN3HPaQ30dHSN5MsDVnBn2vk,41424
|
97
|
+
memos/static/logos/memos_logo_32.png,sha256=nN1ICCPzxjZ05PotSPzu0i6pShlPsXFFf1jTwIW_SsI,1268
|
98
|
+
memos/static/logos/memos_logo_32@2x.png,sha256=q8XOBtCreEvvoe_ZIY-67CnhDaNk8AZZBdHwLcqb25s,1415
|
99
|
+
memos/static/logos/memos_logo_512.png,sha256=zRL2MuDmoleiBhmNq6PWN3HPaQ30dHSN5MsDVnBn2vk,41424
|
100
|
+
memos/static/logos/memos_logo_512@2x.png,sha256=1duOPMuPn8D_EqiyABTDH8rQSaMnvyN_TwmU7zC30D0,100316
|
101
|
+
memos/static/logos/memos_logo_64.png,sha256=q8XOBtCreEvvoe_ZIY-67CnhDaNk8AZZBdHwLcqb25s,1415
|
102
|
+
memos/static/logos/memos_logo_64@2x.png,sha256=ufWanzB_uNuI8u9q52gAd59PPtI2JgAV93d-LEQTI9k,1783
|
103
|
+
memos_ml_backends/florence2_server.py,sha256=Uv9DY-ylqpEYgK2yn3keOk7kRcOuIXJIv1SL3Y7WTK4,5241
|
104
|
+
memos_ml_backends/qwen2vl_server.py,sha256=KbHCbqSFekCgNVxUyHY0-LxtRoDtiBVONXrxN8J6QD0,5418
|
105
|
+
memos_ml_backends/schemas.py,sha256=6XMD4ds--Os-KkEqIpeCRTyZwp7ycMMpzuhOqTKvu2A,1321
|
106
|
+
pensiev-0.25.5.dist-info/LICENSE,sha256=SM8k4QRG1px_Z9nkTFa-zY5K4WBqkN2IPlz5MPMimYA,11336
|
107
|
+
pensiev-0.25.5.dist-info/METADATA,sha256=8AbSKSNqcELT-dbui1M2jW2cfhhASgL4Gnf8WcqeZBc,27631
|
108
|
+
pensiev-0.25.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
109
|
+
pensiev-0.25.5.dist-info/entry_points.txt,sha256=88EqmUt508cXBMibiLPY1Grz3PuRcVl7Ui3T60jtX38,43
|
110
|
+
pensiev-0.25.5.dist-info/top_level.txt,sha256=leabGYxsQnJ316xUxQ5hBWfKH5QtwDzXgMj2E9KwfFk,24
|
111
|
+
pensiev-0.25.5.dist-info/RECORD,,
|