tmc / langchaingo

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

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

Open treywelsh opened 1 month ago

treywelsh commented 1 month 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 1 month ago

It's really great, when can I use it

treywelsh commented 1 month ago

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