Skip to content

armgit / LEANN

Public Imported from GitHub
0

[MLsys2026 Best Paper]: https://arxiv.org/abs/2506.08276. RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device.

changr to openai main cli

yichuan5200309103208356e3c668ea
diff --git a/examples/main_cli_example.py b/examples/main_cli_example.py
index ae78fbc..9b65725 100644
--- a/examples/main_cli_example.py
+++ b/examples/main_cli_example.py
@@ -94,14 +94,14 @@ if __name__ == "__main__":
parser.add_argument(
"--llm",
type=str,
- default="hf",
+ default="openai",
choices=["simulated", "ollama", "hf", "openai"],
help="The LLM backend to use.",
)
parser.add_argument(
"--model",
type=str,
- default="Qwen/Qwen3-0.6B",
+ default="gpt-4o",
help="The model name to use (e.g., 'llama3:8b' for ollama, 'deepseek-ai/deepseek-llm-7b-chat' for hf, 'gpt-4o' for openai).",
)
parser.add_argument(