Skip to content

Commit fc02b9d

Browse files
committed
Drop the serve step from the synopsis
`ollama serve` blocks, so nothing after it runs. The installed service already listens on 11434; `pull` reaches it or starts one.
1 parent 2444856 commit fc02b9d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

examples/basic/vector_ollama.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
# Start database.
1919
docker run --rm -it --publish=4200:4200 crate/crate:nightly
2020
21-
# Serve the embedding model. `nomic-embed-text` produces 768 dimensions,
21+
# Fetch the embedding model. `nomic-embed-text` produces 768 dimensions,
2222
# well within the 2048 a CrateDB FLOAT_VECTOR column accepts.
23-
ollama serve
2423
ollama pull nomic-embed-text
2524
2625
# Optionally set environment variables to configure the Ollama and CrateDB

0 commit comments

Comments
 (0)