Knowing by reasoning, not vectors.
Project description
Vectorless
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vectorless-0.1.14.tar.gz.
File metadata
- Download URL: vectorless-0.1.14.tar.gz
- Upload date:
- Size: 322.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ecfde6baeb2a7183ebcab099a2f2cd156c6b6f203371ed0cd5b350f27e55095
|
|
| MD5 |
7a0946d2b3f008a5bbeb5f9157d7abde
|
|
| BLAKE2b-256 |
9af6983e5247ce728abecd5c6123b2215206e72b8d6d28b784a97cc392a7e01d
|
File details
Details for the file vectorless-0.1.14-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: vectorless-0.1.14-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 5.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2132faa12968700012ad624279f9dff04264fa12a51e7ca3fced5fb4ae5ed586
|
|
| MD5 |
ec2c8cde166ca488c6ab80e971d54b1c
|
|
| BLAKE2b-256 |
951a278020adb325270419c012d1532b4aa79650888ffa15b308aa2afb4df81b
|