pub fn execute_get(
args: &GetArgs,
db_path: Option<&PathBuf>,
session_id: Option<&str>,
json: bool,
) -> Result<()>Expand description
Execute get command.
Supports two search modes:
- Keyword search (default): Filters items by key/value containing the query string
- Semantic search: When
--thresholdis specified, uses embedding similarity
Semantic search requires:
- Embeddings enabled (
SAVECONTEXT_EMBEDDINGS_ENABLED=true) - An embedding provider (Ollama or HuggingFace)
- Items to have been backfilled with embeddings