File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,11 @@ graph_config = {
5353 " model" : " ollama/mistral" ,
5454 " temperature" : 0 ,
5555 " format" : " json" , # Ollama needs the format to be specified explicitly
56- " base_url" : " http://localhost:11434" , # set Ollama URL arbitrarily
56+ " base_url" : " http://localhost:11434" , # set Ollama URL
5757 },
5858 " embeddings" : {
5959 " model" : " ollama/nomic-embed-text" ,
60- " temperature" : 0 ,
61- " base_url" : " http://localhost:11434" , # set Ollama URL arbitrarily
60+ " base_url" : " http://localhost:11434" , # set Ollama URL
6261 }
6362}
6463
@@ -79,7 +78,7 @@ print(result)
7978Note: before using the local model remember to create the docker container!
8079``` text
8180 docker-compose up -d
82- docker exec -it ollama ollama run stablelm-zephyr
81+ docker exec -it ollama ollama pull stablelm-zephyr
8382```
8483You can use which models avaiable on Ollama or your own model instead of stablelm-zephyr
8584``` python
You can’t perform that action at this time.
0 commit comments