Skip to main content

Available variables

VariableDefaultDescription
VECGREP_BACKENDonnxEmbedding backend: onnx or torch
VECGREP_MODELisuruwijesiri/all-MiniLM-L6-v2-code-search-512HuggingFace model ID

Examples

# Use the PyTorch backend with a different model
VECGREP_BACKEND=torch VECGREP_MODEL=sentence-transformers/all-MiniLM-L6-v2 vecgrep

# Use a custom ONNX model
VECGREP_MODEL=my-org/my-onnx-model vecgrep