philippgille / chromem-go

Embeddable vector database for Go with Chroma-like interface and zero third-party dependencies. In-memory with optional persistence.
Mozilla Public License 2.0
283 stars 20 forks source link

Add NewEmbeddingFuncOllamaWithURL #64

Closed erikdubbelboer closed 6 months ago

erikdubbelboer commented 6 months ago

Allows the user to specify the base URL of Ollama instead of the default localhost one.

erikdubbelboer commented 6 months ago

Agreed, the warning in the readme is enough to allow for this. I have changed it.

philippgille commented 6 months ago

I added a small update to the example that uses the Ollama function. It didn't show up in the GitHub Action build because the build pipeline is missing a compile for the examples - added it to my TODOs.

Thanks again!

philippgille commented 6 months ago

It didn't show up in the GitHub Action build because the build pipeline is missing a compile for the examples - added it to my TODOs.

Done in https://github.com/philippgille/chromem-go/pull/66

erikdubbelboer commented 6 months ago

@philippgille would it be possible to tag a new version?

philippgille commented 6 months ago

Is it okay to wait for https://github.com/philippgille/chromem-go/pull/63, or is it urgent (as in you're building a project with chromem and would like to have this update right now)?

erikdubbelboer commented 6 months ago

No problem, I can wait for that. DeleteDocument is also something I can use for sure 😄

philippgille commented 6 months ago

That's merged now, I'll cut a release in the next days, maybe I can squeeze some other changes before

philippgille commented 6 months ago

Released v0.6.0: https://github.com/philippgille/chromem-go/releases/tag/v0.6.0