You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement semantic/intent-driven crate discovery using embeddings for natural language queries like 'I need something like Express.js but for Rust' or 'async web server with middleware support'.
Vision: Intent-Driven Search
Instead of keyword matching, understand intent and context:
// Natural language querieslet crates = Eg::find_similar("I need something like Express.js but for Rust").await?;// → finds axum, warp, actix-weblet crates = Eg::find_similar("HTTP client with automatic retries").await?;// → finds reqwest, ureq, surflet crates = Eg::find_similar("like numpy but for Rust").await?;// → finds ndarray, nalgebra// Combined with example searchlet similar = Eg::find_similar("async task scheduling").await?;for crate_info in similar {let examples = Eg::rust_crate(&crate_info.name).pattern(r"schedule|timer|interval")?
.search().await?;}
Overview
Implement semantic/intent-driven crate discovery using embeddings for natural language queries like 'I need something like Express.js but for Rust' or 'async web server with middleware support'.
Vision: Intent-Driven Search
Instead of keyword matching, understand intent and context:
Technical Approach
1. Embedding Generation
2. Vector Database
3. Query Processing
Benefits
Implementation Phases
Phase 1: Basic Semantic Search
Phase 2: Enhanced Intelligence
This represents the future vision of truly intelligent crate discovery!