mirror of
https://github.com/redis/redis.git
synced 2026-02-03 20:39:54 -05:00
This PR adds a `--ollama-url` option to `cli.py`, the lightweight redis-cli-like tool that expands !"text" arguments into embeddings via Ollama. Previously, the embedding call was hardcoded to http://localhost:11434/api/embeddings. With this change, users can specify a custom Ollama server URL when starting the tool. If no URL is provided, the tool defaults to what it was before. |
||
|---|---|---|
| .. | ||
| cli-tool | ||
| glove-100 | ||
| movies | ||