Skip to main content

A local UI package for querying pooled embedding zips against original markdown chunks

Project description

quering

A local UI package for querying pooled embedding zips against the original markdown chunk zip.

What it does

  • launches with the quering command
  • accepts a pooled embedding zip from the previous poolin step
  • accepts the original markdown chunk zip from the MarkdownHeaderTextSplitter step
  • lets you choose an embedding model for the query sentence
  • ranks the highest scoring pooled groups
  • maps the best matches back to the original markdown chunk texts
  • exports a zip with results, matched chunks, and an LLM-ready prompt

Install

pip install quering

Run

quering

Output zip contents

  • querying_summary.json
  • querying_results.csv
  • llm_prompt.txt
  • inputs_used.json
  • *_results.jsonl (optional)
  • *_results.npz (optional)
  • matched_chunks/ (optional)

Notes

  • Best results come from using the same embedding model for the query that was used to create the pooled embeddings.
  • This package is an original implementation for local experimentation.

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

quering-0.1.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

quering-0.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quering-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ba65d1ea10b9c9fcc93414aefdb8abf277c44dfb207e4bc466f87860d718c51b
MD5 b6fd1781b461507eed46a6502dc2ae9f
BLAKE2b-256 9a706b146b9abd297e72466df9ef08e4c78a3edc347bc2a5ca5643b404987064

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for quering-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfb80e6d9dbaa6c7d283383e7783f5cb2a10a4477c903e69fe1c734dab03a7e4
MD5 053f21544ab48793eed317d8e655f55e
BLAKE2b-256 221058bb7aba8bc6450400b825710dfa7f40cb5bb4e1315d31314f4e2b88a8ae

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