Metadata-Version: 2.4
Name: vectorless
Version: 0.1.12
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Text Processing :: Linguistic
Requires-Dist: pydantic>=2.0
Requires-Dist: click>=8.0
Requires-Dist: litellm>=1.50
Requires-Dist: instructor>=1.0
Requires-Dist: tomli>=2.0 ; python_full_version < '3.11'
Requires-Dist: vectorless[cli,langchain,llamaindex,jupyter] ; extra == 'all'
Requires-Dist: rich>=13.0 ; extra == 'cli'
Requires-Dist: pytest>=7.0 ; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.21 ; extra == 'dev'
Requires-Dist: mypy>=1.0 ; extra == 'dev'
Requires-Dist: rich>=13.0 ; extra == 'dev'
Requires-Dist: rich>=13.0 ; extra == 'jupyter'
Requires-Dist: ipywidgets>=8.0 ; extra == 'jupyter'
Requires-Dist: langchain-core>=0.1.0 ; extra == 'langchain'
Requires-Dist: llama-index-core>=0.10.0 ; extra == 'llamaindex'
Provides-Extra: all
Provides-Extra: cli
Provides-Extra: dev
Provides-Extra: jupyter
Provides-Extra: langchain
Provides-Extra: llamaindex
License-File: LICENSE
Summary: Document Understanding Engine for AI
Keywords: document,understanding,ai,reasoning,document-intelligence
Home-Page: https://vectorless.dev
Author-email: Vectorless <beautifularea@gmail.com>
License: Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://www.vectorless.dev/docs/intro
Project-URL: Homepage, https://vectorless.dev
Project-URL: Repository, https://github.com/vectorlessflow/vectorless

<h1>Vectorless</h1>

[![PyPI](https://img.shields.io/pypi/v/vectorless.svg)](https://pypi.org/project/vectorless/)
[![PyPI Downloads](https://static.pepy.tech/badge/vectorless/month)](https://pepy.tech/projects/vectorless)

<p>Knowing by reasoning, not vectors.</p>
<p>Deep and reliable. Vectorless plays nicely with your documents. Ask questions in plain language; get answers by reasoning with Vectorless.</p>

## Installation

Install using `pip install -U vectorless`. For more details, see the [Installation](https://vectorless.dev/docs/installation) section in the documentation.

## A Simple Example

```python
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](https://vectorless.dev/docs/getting-started) for more details.


## Contributing

Contributions welcome! See [Contributing](CONTRIBUTING.md) for setup and guidelines.

## License

Apache License 2.0

