Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy -- -D warnings
- run: cargo clippy -- -W clippy::all

test:
name: Test
Expand Down
7 changes: 1 addition & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ documentation = "https://docs.rs/vectorless"
keywords = ["rag", "document", "retrieval", "indexing", "llm"]
categories = ["text-processing", "data-structures", "algorithms"]
readme = "README.md"
exclude = ["samples/", "docs/", "benches/", ".*"]
exclude = ["samples/", "docs/", ".*"]

[dependencies]
# Async runtime
Expand Down Expand Up @@ -72,13 +72,8 @@ rand = "0.8"

[dev-dependencies]
tempfile = "3.10"
criterion = { version = "0.5", features = ["async_tokio"] }
tokio-test = "0.4"

[[bench]]
name = "bench"
harness = false

[profile.release]
opt-level = 3
lto = "thin"
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
<div align="center">

![Vectorless](docs/assets/brand/logo-horizontal.svg)
![Vectorless](docs/design/logo-horizontal.svg)

[![Crates.io](https://img.shields.io/crates/v/vectorless.svg)](https://crates.io/crates/vectorless)
[![Downloads](https://img.shields.io/crates/d/vectorless.svg)](https://crates.io/crates/vectorless)
[![Documentation](https://docs.rs/vectorless/badge.svg)](https://docs.rs/vectorless)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
[![Rust](https://img.shields.io/badge/rust-1.85%2B-orange.svg)](https://www.rust-lang.org/)

**A hierarchical, reasoning-native document intelligence engine.**


</div>

Ultra performant document intelligence engine for RAG, with core written in **Rust**. Zero vector database, zero embedding model — just LLM-powered tree navigation. Incremental indexing and multi-format support out-of-box.

⭐ **Drop a star to help us grow!**


## Why Vectorless?

Traditional RAG systems have a fundamental problem: **they lose document structure.**
Expand Down
44 changes: 44 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Security Policy

## Reporting a Vulnerability

If you discover a security vulnerability in Vectorless, please report it by emailing:

**beautifularea@gmail.com**

**Do NOT create a public GitHub issue for security vulnerabilities.**

## What to Include

Please include the following in your report:

- Description of the vulnerability
- Steps to reproduce
- Affected versions (if known)
- Potential impact

## Response Timeline

| Stage | Timeframe |
|-------|-----------|
| Initial response | Within 48 hours |
| Vulnerability confirmation | Within 7 days |
| Fix development | Depends on severity |
| Security advisory | After fix is released |

## Disclosure Policy

- Vulnerabilities will be disclosed after a fix is available
- We will credit reporters (unless you prefer to remain anonymous)
- We request a reasonable time to fix before public disclosure

## Supported Versions

| Version | Supported |
| ------- | --------- |
| 0.1.x | ✅ |
| < 0.1 | ❌ |

---

Thank you for helping keep Vectorless secure!
9 changes: 0 additions & 9 deletions benches/bench.rs

This file was deleted.

24 changes: 0 additions & 24 deletions docs/assets/brand/icon.svg

This file was deleted.

27 changes: 0 additions & 27 deletions docs/assets/brand/logo-dark.svg

This file was deleted.

24 changes: 0 additions & 24 deletions docs/assets/brand/logo.svg

This file was deleted.

13 changes: 10 additions & 3 deletions examples/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//! cargo run --example index
//! ```

use vectorless::index::{PipelineExecutor, PipelineOptions, IndexInput};
use vectorless::index::{IndexInput, PipelineExecutor, PipelineOptions};

#[tokio::main]
async fn main() -> vectorless::Result<()> {
Expand Down Expand Up @@ -89,8 +89,15 @@ fn print_tree_structure(

if let Some(node) = tree.get(node_id) {
let children = tree.children(node_id);
let marker = if children.is_empty() { "└─" } else { "├─" };
println!("{}{} {} (depth: {})", indent, marker, node.title, node.depth);
let marker = if children.is_empty() {
"└─"
} else {
"├─"
};
println!(
"{}{} {} (depth: {})",
indent, marker, node.title, node.depth
);

for child_id in children {
print_tree_structure(tree, child_id, current_depth + 1, max_depth);
Expand Down
4 changes: 1 addition & 3 deletions examples/markdownflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Step 4: Query the document
println!("Step 4: Querying the document...");

let queries = vec![
"What is this project about?",
];
let queries = vec!["What is this project about?"];

for query in queries {
println!(" Query: \"{}\"", query);
Expand Down
Loading
Loading