asmith26
|
3850d5fb35
|
Add ollama embeddings function (#1263)
Following the docs
[here](https://lancedb.github.io/lancedb/python/python/#lancedb.embeddings.openai.OpenAIEmbeddings)
I've been trying to use ollama embedding via the OpenAI API interface,
but unfortunately I couldn't get it to work (possibly related to
https://github.com/ollama/ollama/issues/2416)
Given the popularity of ollama I thought it could be helpful to have a
dedicated Ollama Embedding function in lancedb.
Very much welcome any thought on this or my code etc. Thanks!
|
2024-05-13 13:09:19 +05:30 |
|