Skip to main content

Reasoning-native document intelligence engine for AI

Project description

Vectorless

Document Engine for AI

PyPI PyPI Downloads Crates.io Crates.io Downloads Docs License

Vectorless is a reasoning-native document engine with the core written in Rust. It will reason through any of your structured documents — PDFs, Markdown, reports, contracts — and retrieve only what's relevant. Nothing more, nothing less.

  • Reason, don't vector. — Retrieval is guided by reasoning over document structure.
  • Model fails, we fail. — No silent degradation. No heuristic fallbacks.
  • No thought, no answer. — Only LLM-reasoned output counts as an answer.

Quick Start

pip install vectorless
import asyncio
from vectorless import Engine, IndexContext, QueryContext

async def main():
    engine = Engine(api_key="sk-...", model="gpt-4o", endpoint="https://api.openai.com/v1")

    # Index a document
    result = await engine.index(IndexContext.from_path("./report.pdf"))
    doc_id = result.doc_id

    # Query
    result = await engine.query(
        QueryContext("What is the total revenue?").with_doc_ids([doc_id])
    )
    print(result.single().content)

asyncio.run(main())

What It's For

Vectorless is designed for applications that need precise document retrieval:

  • Financial analysis — Extract specific figures from reports, compare across filings
  • Legal research — Find relevant clauses, trace definitions across documents
  • Technical documentation — Navigate large manuals, locate specific procedures
  • Academic research — Cross-reference findings across papers
  • Compliance — Audit trails with source references for every answer

Examples

See examples/ for complete usage patterns.

Contributing

Contributions welcome! If you find this useful, please ⭐ the repo — it helps others discover it.

Star History

Star History Chart

License

Apache License 2.0

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

vectorless-0.1.9.tar.gz (308.1 kB view details)

Uploaded Source

Built Distribution

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

vectorless-0.1.9-cp310-cp310-manylinux_2_34_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

Details for the file vectorless-0.1.9.tar.gz.

File metadata

  • Download URL: vectorless-0.1.9.tar.gz
  • Upload date:
  • Size: 308.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for vectorless-0.1.9.tar.gz
Algorithm Hash digest
SHA256 da71f7b8925427b9615786dbfb26b0a1a55ef01c71e26578cd6760b16a650b4e
MD5 11057a13142adb23a6c64ccbde350151
BLAKE2b-256 f2b3b59eec34557564e95c6bf6d7623e1e5468d9e411fd480e0bbfba9d30a39a

See more details on using hashes here.

File details

Details for the file vectorless-0.1.9-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for vectorless-0.1.9-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 0eacf2a2ab0b8408ea26e6c37058eeca416fcbdfa4935366b47aa67f15a2b029
MD5 4dd80cf5ef5eb4f99e9e5d108c1f2d8f
BLAKE2b-256 6bd22dd0a0970fb655215cae37c522d50b9e5f66e3cd46739608e347384cf626

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