GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs.rs
  • polymathy-0.2.0
  • Permalink
  • Docs.rs crate page
  • GPL-3.0-only
  • Homepage
  • Documentation
  • crates.io
  • Source
  • dipankar
  • actix-web ^4.0 normal
  • anyhow ^1.0 normal
  • apistos ^0.2 normal
  • dotenv ^0.15 normal

This view

  • Original page
  • New address

GeezerVison is showing docs.rs — polymathy - Rust

Crate polymathy 

Source
Expand description

§Polymathy

A high-performance web service that processes search queries, retrieves relevant content, and performs semantic chunking and embedding operations.

§Overview

Polymathy is a Rust library that provides functionality for:

  • Processing search queries through SearxNG integration
  • Retrieving and processing web content
  • Performing semantic chunking of content
  • Generating embeddings for content chunks
  • Indexing content with vector similarity search

§Features

  • Search Processing: Handles search queries through SearxNG integration
  • Content Processing: Chunks content and generates embeddings
  • Vector Indexing: Manages similarity search using USearch
  • Concurrent Processing: Processes multiple URLs simultaneously using Tokio
  • OpenAPI Documentation: Built-in API documentation with multiple UI options

§Usage

Add this to your Cargo.toml:

[dependencies]
polymathy = { path = "." }

Then use it in your code:

use polymathy::run;

#[tokio::main]
async fn main() -> std::io::Result<()> {
    run().await
}

§Modules

  • search: Handles search query processing and data structures
  • index: Manages vector indexing with USearch
  • api: Defines API endpoints and server implementation

Re-exports§

pub use api::run;

Modules§

api
API endpoints and server implementation.
index
Vector indexing functionality using USearch.
search
Search functionality for processing queries and retrieving results.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.