Skip to content

vectorlessflow/vectorless

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

About

Knowing by reasoning, not vectors. ⭐ Star this repo if you find it useful.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published