Skip to content

Commit 68f1ca1

Browse files
committed
add embeddings in the example
1 parent 849f411 commit 68f1ca1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/local_models/Docker/smart_scraper_docker.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
"format": "json",
1616
# "model_tokens": 2000, # set context length arbitrarily,
1717
},
18+
"embeddings": {
19+
"model": "ollama/nomic-embed-text",
20+
"temperature": 0,
21+
}
1822
}
1923

2024
# ************************************************

0 commit comments

Comments
 (0)