cusrul / obsidian-smart-connect

1 stars 0 forks source link

Install Ollama.

image

Use the command "ollama pull nomic-embed-text" to fetch the large model.

ollama pull nomic-embed-text

Run "ollama serve".

You should be aware that if Ollama is running on a different host than Obsidian, you need to open the corresponding firewall to ensure a successful connection. image

Now you can set up Smart Connect.

1.Please provide the Ollama server address in the format http:///api/embeddings, for example: http://192.168.2.113:11434/api/embeddings IP: 192.168.2.113 ,Once you have filled in the Ollama server address and selected the model indicated by the arrow, you should be able to run it successfully. 2.If you want to customize the GPT's URL to run Smart Connect, you can fill in the "Set OpenAI Address" section with the format: https://aihubmix.com/v1/embeddings image