cosmocode / dokuwiki-plugin-aichat

Chat with a LLM about your DokuWiki contents
https://www.dokuwiki.org/plugin:aichat
GNU General Public License v2.0
13 stars 2 forks source link

Add support for Ollama embedding model : nomic-embed-text #16

Closed magicmars35 closed 4 months ago

magicmars35 commented 4 months ago

Feature Description

Hi. Is is possible tu use nomix-embed-text as embedding model ?

https://ollama.com/library/nomic-embed-text

I try to run embbeding with "Ollama text-embedding-ada-002". how tu run it ? (I have Ollama installed, and working fine)

When I try to load it :

$ php bin/plugin.php aichat embed

✓ Skipping pages matching /:(playground|sandbox)(:|$)/ ☠ Failed to initialize EmbeddingModel for Ollama: Ollama base URL not configured

thank you

splitbrain commented 4 months ago

The ollama classes are not in a working state currently. They were an experiment only. Contact us if you want us to support local models through ollama.