https://github.com/peterhellberg/llm
Package llm implements a very small subset of the langchain project in Go.
https://github.com/peterhellberg/llm
ai langchain llm
Last synced: 10 months ago
JSON representation
Package llm implements a very small subset of the langchain project in Go.
- Host: GitHub
- URL: https://github.com/peterhellberg/llm
- Owner: peterhellberg
- License: mit
- Created: 2025-01-30T18:45:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-04T15:20:49.000Z (11 months ago)
- Last Synced: 2025-03-04T16:30:52.463Z (11 months ago)
- Topics: ai, langchain, llm
- Language: Go
- Homepage:
- Size: 194 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LLM 🔗
## What is this?
This is a _very_ small subset of the [Langchain](https://github.com/langchain-ai/langchain) project in [Go](https://go.dev/).
> [!Important]
> It is quite heavily based on the more ambitious [LangChainGo](https://github.com/tmc/langchaingo), for now you should likely use that instead.
My main objective with this module is to have declarations of some core interfaces (Such as `llm.Provider` and `llm.Chain`)
and other types that I can use as building blocks for LLM based Go applications. I do **not** intend for this module to
contain many _(or even any)_ implementations of these interfaces.
## Examples
See [./examples](./examples) for example usage.
## License (MIT)
Since **LangChainGo** is [licensed under MIT](https://github.com/tmc/langchaingo/blob/main/LICENSE)
it goes without saying that this project should be so as well :clipboard: