tmc / langchaingo

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

examples: fix openai toolcall example after refactor #783

Closed eliben closed 5 months ago

eliben commented 5 months ago

After #757 we can remove a bunch of boilerplate conversion code from the example

Updates #753

@tmc please note that this requires tagging a new version (v0.1.9) since the API changed, so we can point the example to that (rather than using a pseudo-version).

eliben commented 5 months ago

Building the new example in CI fails because of the API change.

This PR should land after 0.1.9 is tagged, and then I will update its go.mod to point there

tmc commented 5 months ago

Thanks @eliben! I'll get 0.1.9 tagged this afternoon.

tmc commented 5 months ago

Tagged v0.1.9, and set up github release as pre-release (will finalize once examples are update).