tmc / langchaingo

LangChain for Go, the easiest way to write LLM-based programs in Go
https://tmc.github.io/langchaingo/
MIT License
4.39k stars 597 forks source link

ollama: internal client is no more up to date #1035

Open treywelsh opened 1 week ago

treywelsh commented 1 week ago

The ollamaclient package is no more up to date. We should remove it and use directly the official ollama client. The Ollama API is also described here

There's probably a lot more but here's what I've noted so far:

I would like to be assigned to this issue in order to make a PR for this ASAP.

By the way, when looking at older issues about the ollama client in langchaingo it seems there's a bit of cleaning to do, for instance this issue has been solved but is still opened: https://github.com/tmc/langchaingo/issues/778

pdxrlj commented 3 days ago

It's really great, when can I use it

treywelsh commented 1 day ago

I made small tests, it seems to works. Feel free to give it a try on the development branch