Skip to main content

Ingestion pipeline for the koji-db database: parsing, chunking, and multi-vector embeddings

Project description

Shikomi

Ingestion pipeline for Koji - parsing, chunking, and multi-vector embeddings.

Installation

pip install shikomi

Usage

from shikomi import MultiVectorEmbedding, TextChunk, IngestConfig
import numpy as np

# Create an embedding
data = np.random.randn(10, 128).astype(np.float32)
emb = MultiVectorEmbedding(num_tokens=10, dim=128, data=data)

# Serialize to BLOB format for storage
blob = emb.to_blob()

# Deserialize from BLOB
recovered = MultiVectorEmbedding.from_blob(blob)

License

MIT

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

koji_ingest-0.1.0rc0.tar.gz (492.3 kB view details)

Uploaded Source

Built Distribution

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

koji_ingest-0.1.0rc0-py3-none-any.whl (125.1 kB view details)

Uploaded Python 3

File details

Details for the file koji_ingest-0.1.0rc0.tar.gz.

File metadata

  • Download URL: koji_ingest-0.1.0rc0.tar.gz
  • Upload date:
  • Size: 492.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for koji_ingest-0.1.0rc0.tar.gz
Algorithm Hash digest
SHA256 81d341cadd31eb52cf873fe3f9920524d1ba6eead0c12faec73c37bf7502002a
MD5 1e2762f67363627fefee9b1ec74087db
BLAKE2b-256 5fc6aba401c4414ddc51478bcced34b39c9a90b2fbc70f645fca3559c6ba1559

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_ingest-0.1.0rc0.tar.gz:

Publisher: koji-ingest-release.yml on TuckerTucker/tkr-koji

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file koji_ingest-0.1.0rc0-py3-none-any.whl.

File metadata

  • Download URL: koji_ingest-0.1.0rc0-py3-none-any.whl
  • Upload date:
  • Size: 125.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for koji_ingest-0.1.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 53148c48c84e8f799eb44f5ee8afaf921de761b11645838f9e8134e3618d46e4
MD5 77700ff9fc3c3795968704dd07e3733e
BLAKE2b-256 a0db28a9159fe94516c2ab5c545b4d4a22629f022c6e3c4bfdd168f0cfd98778

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_ingest-0.1.0rc0-py3-none-any.whl:

Publisher: koji-ingest-release.yml on TuckerTucker/tkr-koji

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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