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.13.tar.gz (318.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.13-cp312-cp312-manylinux_2_34_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

File details

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

File metadata

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

File hashes

Hashes for vectorless-0.1.13.tar.gz
Algorithm Hash digest
SHA256 ffb18c5e281283a840da86fc6d38ab657196e005a95fe0c04d29a22312e60b84
MD5 f715e49396045637d0f337c33d85bb63
BLAKE2b-256 74574d51df7f8c86e263a67e482315411a3887faad6d979ed8f405d5de525764

See more details on using hashes here.

File details

Details for the file vectorless-0.1.13-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for vectorless-0.1.13-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 022c4091fc181dc31372d6bc7b8a985d5b979645f8c23e7f5a848a675c8f9c9b
MD5 d5bb06c6bc994a63dff36c129d14c7a2
BLAKE2b-256 665b23d96cd8209a446849a8b49641d62e07a2969ed052ee12854808d648f04a

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