Skip to main content

Knowing by reasoning, not vectors.

Project description

Vectorless

PyPI PyPI Downloads

Knowing by reasoning, not vectors.

Deep and reliable. Vectorless plays nicely with your documents. Ask questions in plain language; get answers by reasoning with Vectorless.

Installation

Install using pip install -U vectorless. For more details, see the Installation section in the documentation.

A Simple Example

import asyncio
from vectorless import Engine

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

    # Compile a document
    result = await engine.compile(path="./report.pdf")
    doc_id = result.doc_id

    # Ask a question
    response = await engine.ask("What is the total revenue?", doc_ids=[doc_id])
    print(response.single().content)

asyncio.run(main())

Help

See documentation for more details.

Contributing

Contributions welcome! See Contributing for setup and guidelines.

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.15.tar.gz (322.4 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.15-cp311-abi3-manylinux_2_34_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.34+ x86-64

File details

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

File metadata

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

File hashes

Hashes for vectorless-0.1.15.tar.gz
Algorithm Hash digest
SHA256 e28840ab87f03c8d9dcc06093d8aba7a64873218a753a40d420d8802a9fd63cc
MD5 36b20d5a2033179dc233ca23b6a753c6
BLAKE2b-256 629193d003e128fa48e0def446139aa9bfe2e6c6857d162b8153970756cba88f

See more details on using hashes here.

File details

Details for the file vectorless-0.1.15-cp311-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for vectorless-0.1.15-cp311-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 945038cf63d2d268f52423952582e33b1fdd3c7979ff7d479050f4f512ef63e5
MD5 cbe761097388875bbf7403fe43696369
BLAKE2b-256 f37821a024e186fb1f510a896775036cdfc68082f52dbdc396605542c8ca9aa1

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