Skip to main content

A semantic optimization and chunking library.

Project description

Semanticopz

Semantic optimization tools.

Features

  • Document Loaders: Extract text and metadata from PDF, DOCX, TXT, and Markdown files.
  • Text Chunkers: Split documents into manageable pieces using standard size or recursive semantic boundaries (CharacterChunker, RecursiveCharacterChunker).
  • Embedders: Convert text into vector embeddings using local models (HuggingFaceEmbedder) or external APIs (OpenAIEmbedder).
  • Vector Indices: Store and search vectors efficiently in-memory (InMemoryExactIndex) or using Faiss (FaissIndex).
  • Semantic Search: An orchestrator pipeline (SemanticSearch) that ties loaders, chunkers, embedders, and indices together into a one-stop interface.

Installation

pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semanticopz-0.1.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semanticopz-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file semanticopz-0.1.0.tar.gz.

File metadata

  • Download URL: semanticopz-0.1.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for semanticopz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ac5c4a09602191bb76e31674771fce63ae2b4ffbf76c9411ba414f44441b0136
MD5 ba35945a7374a205ba158238ca96f7ee
BLAKE2b-256 89a91d95f65920e73e62e34a4eb6fc87e10c513ac8ad9e25c58a6144f024b838

See more details on using hashes here.

File details

Details for the file semanticopz-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: semanticopz-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for semanticopz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b4df49edfa18ee9eb000cd2ff892a89b5ba56c100d5b86d55659f9986398c35
MD5 bdb2f2f69cadd50d106012bc1ed7c609
BLAKE2b-256 88d75a4d923106c5adf65717d24cecfcd03c1f6589be5ebee5056c184f1cf16d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page