Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

polish(rustdoc): list onnx-experimental in EmbeddingConfig::mode's doc (#1564)

xerj-org75889c50e7e4
diff --git a/engine/crates/xerj-common/src/config.rs b/engine/crates/xerj-common/src/config.rs
index d91c2787c..6331904ef 100644
--- a/engine/crates/xerj-common/src/config.rs
+++ b/engine/crates/xerj-common/src/config.rs
@@ -1583,8 +1583,9 @@ impl LogsConfig {
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(default, deny_unknown_fields)]
pub struct EmbeddingConfig {
- /// Backend selector: `"auto"` (default), `"lexical"`, `"neural"`, or
- /// `"proxy"`. Unknown values are treated as `"auto"`.
+ /// Backend selector: `"auto"` (default), `"lexical"`, `"neural"`,
+ /// `"proxy"`, or `"onnx-experimental"`. Unknown values are treated as
+ /// `"auto"`.
pub mode: String,
/// OpenAI-compatible endpoint URL (default: `""` — disabled).
pub default_endpoint: String,