feat: Add Ollama embedding support for local embedding models

This commit is contained in:
Andy Lee
2025-08-08 18:07:37 -07:00
parent 67fef60466
commit 068fcd71cf
5 changed files with 129 additions and 5 deletions

View File

@@ -261,7 +261,7 @@ if __name__ == "__main__":
"--embedding-mode",
type=str,
default="sentence-transformers",
choices=["sentence-transformers", "openai", "mlx"],
choices=["sentence-transformers", "openai", "mlx", "ollama"],
help="Embedding backend mode",
)
parser.add_argument(