vlorql-llm 0.5.0

Multi-provider LLM client for SQL query generation supporting Anthropic, DeepSeek, Zhipu, and local models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Validate layer: semantic validation for [`QueryPlan`](vlorql_core::schema::QueryPlan) AST.
//!
//! This layer validates the QueryPlan produced by the
//! [builder](crate::parser_v2::builder) layer before it is passed to
//! the SQL compiler.  It checks structural and semantic correctness
//! (non-empty SELECT, valid JOIN conditions, etc.) but does **not**
//! check against a schema snapshot or dialect profile.
//!
//! # Sub-modules
//!
//! - **validator** — ValidationError type, ValidationResult, entry point
//! - **semantic** — Semantic validation rules

pub mod semantic;
pub mod validator;

pub use validator::{ValidationError, ValidationErrorKind, ValidationResult, validate_plan};