Skip to main content

Rust SDK

Build Ahnlich Applications with the Rust SDK – Vector Storage, Search, and AI tooling.

Rust-Specific Resources​

  • Build Ahnlich Applications with the Rust SDK

  • Ahnlich Rust Technical Resources

  • Rust SDK Quickstart – Setup Guide

Overview​

Clients​

  • db β€” Vector Database client

  • ai β€” AI Service client

Pipelines​

  • Multiple ordered operations in batch

  • Sequential execution, consistent reads

  • Reduced gRPC round-trips

What’s Included in the SDK​

Capabilities​

DB Client​

  • Store vectors and metadata

  • Query nearest neighbors with filters

  • Manage stores

AI Client​

  • Generate embeddings from raw inputs

  • Interpret embeddings for similarity/clustering

  • Complement DB client

Typical Workflow​

  • AI Service β†’ Generate embeddings

  • DB Service β†’ Store embeddings

  • Response β†’ Ordered results

Request – DB (Detailed)​

Ping​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Info Server​

  • Description

  • Source Code Example

  • Parameters

  • Behavior

  • When to use

List Stores​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Create Store​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Set​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Get Sim N​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Get Key​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Get by Predicate​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Create Predicate Index​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Drop Predicate Index​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Delete Key​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Drop Store​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

List Connected Clients​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Create Non-Linear Algorithm Index​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Drop Non-Linear Algorithm Index​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Delete By Predicate​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Request – AI (Detailed)​

Ping​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Info Server​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

List Stores​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Create Store​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Set​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Get Sim N​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Get Key​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Get by Predicate​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Create Predicate Index​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Drop Predicate Index​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Delete Key​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Drop Store​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

List Connected Clients​

  • Description

  • Source Code Example

  • Returns

  • Behavior

Create Non-Linear Algorithm Index​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Drop Non-Linear Algorithm Index​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

New​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Purge Stores​

  • Description

  • Source Code Example

  • Returns

  • Behavior

Pipeline​

  • Description

  • Source Code Example

  • Parameters

  • Returns

  • Behavior

Types & Utilities​

  • Description

  • Usage

  • Details

Testing​

  • Description

  • Key Test Scenarios

  • Purpose

Distributed Tracing​

  • Description

  • Usage

  • Benefits