glossdex 0.1.0__tar.gz

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.
Files changed (45) hide show
  1. glossdex-0.1.0/.gitignore +15 -0
  2. glossdex-0.1.0/CITATION.cff +28 -0
  3. glossdex-0.1.0/COMMERCIAL-LICENSE.md +17 -0
  4. glossdex-0.1.0/LICENSE +661 -0
  5. glossdex-0.1.0/PATENTS.md +17 -0
  6. glossdex-0.1.0/PKG-INFO +321 -0
  7. glossdex-0.1.0/README.md +289 -0
  8. glossdex-0.1.0/benchmarks/beir/README.md +74 -0
  9. glossdex-0.1.0/docs/SCREENSHOT_CREDITS.md +13 -0
  10. glossdex-0.1.0/docs/architecture.md +109 -0
  11. glossdex-0.1.0/docs/screenshot-nothing-found.png +0 -0
  12. glossdex-0.1.0/docs/screenshot-results.png +0 -0
  13. glossdex-0.1.0/examples/get_sample_images.py +54 -0
  14. glossdex-0.1.0/examples/quickstart.py +41 -0
  15. glossdex-0.1.0/examples/rag_ollama.py +45 -0
  16. glossdex-0.1.0/examples/sample-docs/banana-bread-recipe.md +8 -0
  17. glossdex-0.1.0/examples/sample-docs/car-insurance-renewal.txt +7 -0
  18. glossdex-0.1.0/examples/sample-docs/clinic-visit-summary.txt +7 -0
  19. glossdex-0.1.0/examples/sample-docs/donation-receipt.txt +5 -0
  20. glossdex-0.1.0/examples/sample-docs/hydro-bill-june-2026.txt +7 -0
  21. glossdex-0.1.0/examples/sample-docs/laptop-warranty.txt +6 -0
  22. glossdex-0.1.0/examples/sample-docs/lease-agreement.md +11 -0
  23. glossdex-0.1.0/examples/sample-docs/lisbon-trip-itinerary.md +6 -0
  24. glossdex-0.1.0/examples/sample-docs/school-newsletter-october.md +6 -0
  25. glossdex-0.1.0/examples/sample-docs/team-meeting-notes.md +7 -0
  26. glossdex-0.1.0/examples/sample-images/images.csv +41 -0
  27. glossdex-0.1.0/pyproject.toml +50 -0
  28. glossdex-0.1.0/src/glossdex/__init__.py +19 -0
  29. glossdex-0.1.0/src/glossdex/cli.py +183 -0
  30. glossdex-0.1.0/src/glossdex/describers.py +155 -0
  31. glossdex-0.1.0/src/glossdex/embedders.py +104 -0
  32. glossdex-0.1.0/src/glossdex/engine.py +292 -0
  33. glossdex-0.1.0/src/glossdex/lexical.py +446 -0
  34. glossdex-0.1.0/src/glossdex/phrases.py +67 -0
  35. glossdex-0.1.0/src/glossdex/profiles.py +108 -0
  36. glossdex-0.1.0/src/glossdex/scoring.py +313 -0
  37. glossdex-0.1.0/src/glossdex/server.py +124 -0
  38. glossdex-0.1.0/src/glossdex/sources.py +108 -0
  39. glossdex-0.1.0/src/glossdex/static/index.html +266 -0
  40. glossdex-0.1.0/src/glossdex/store.py +149 -0
  41. glossdex-0.1.0/tests/test_engine.py +84 -0
  42. glossdex-0.1.0/tests/test_lexical.py +66 -0
  43. glossdex-0.1.0/tests/test_phrases.py +21 -0
  44. glossdex-0.1.0/tests/test_profiles.py +67 -0
  45. glossdex-0.1.0/tests/test_scoring.py +134 -0
@@ -0,0 +1,15 @@
1
+ .venv/
2
+ __pycache__/
3
+ *.pyc
4
+ .pytest_cache/
5
+ build/
6
+ dist/
7
+ *.egg-info/
8
+ .glossdex/
9
+ examples/sample-images/photos/
10
+ examples/sample-images/ATTRIBUTION.md
11
+
12
+ # benchmarks/beir: downloaded BEIR collections and embeddings (rebuilt by the scripts)
13
+ benchmarks/beir/data/
14
+ benchmarks/beir/cache/
15
+ benchmarks/beir/logs/
@@ -0,0 +1,28 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use glossdex, please cite it as below."
3
+ title: "glossdex: evidence-gated semantic search over locally generated descriptions"
4
+ type: software
5
+ authors:
6
+ - family-names: Iranpour
7
+ given-names: Mehran
8
+ affiliation: Independent researcher
9
+ email: mehran@memoyad.com
10
+ orcid: "https://orcid.org/0009-0008-2089-6509"
11
+ version: 0.1.0
12
+ doi: 10.5281/zenodo.23269314
13
+ date-released: 2026-10-09
14
+ identifiers:
15
+ - type: doi
16
+ value: 10.5281/zenodo.23269314
17
+ description: All versions
18
+ - type: doi
19
+ value: 10.5281/zenodo.23269315
20
+ description: Version 0.1.0
21
+ license: AGPL-3.0-or-later
22
+ repository-code: "https://github.com/miranpoor/glossdex"
23
+ keywords:
24
+ - semantic search
25
+ - retrieval
26
+ - adaptive cutoff
27
+ - retrieval-augmented generation
28
+ - on-device AI
@@ -0,0 +1,17 @@
1
+ # Commercial license
2
+
3
+ glossdex is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). The AGPL
4
+ lets you use, modify and distribute glossdex freely, provided that software which includes it,
5
+ including software offered to users over a network, is also made available under the AGPL.
6
+
7
+ If you want to use glossdex in a **closed-source** product or service, or without the AGPL's
8
+ obligations, a commercial license is available from the author. It can include:
9
+
10
+ - the right to embed glossdex in proprietary software and services,
11
+ - a license under the related patent rights (see [PATENTS.md](PATENTS.md)),
12
+ - threshold profiles calibrated for other embedding models,
13
+ - the production SDK for mobile devices (background scheduling, incremental indexing against
14
+ the OS media store, packaged and quantized models),
15
+ - support and integration help.
16
+
17
+ Contact: Mehran Iranpour, mehran@memoyad.com