-
-
Notifications
You must be signed in to change notification settings - Fork 718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memory: Add Zep Cloud integration #746
Conversation
@tmc Hi, Zep Engineer here. we currently support TS and Python LangChain integrations, and have recently released our go-sdk. Excited to deliver LangChain integration for our golang users too! Please let me know if you have any questions/suggestions about the implementation. Would love to hear how langchaingo users might prefer to use our memory. For now I set up an example using ConversationChain, but we have a bunch more stuff we'd like to port to Go. |
Also I notice that the build examples is failing, this is due to /memory/zep import not being available yet. |
for example don't need use go.mod , can import only package |
@devalexandre Hi, removed go.mod from example project, also upgraded zep sdk version with more straightforward initialization. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amazing !!!
@tmc could review it? |
@paul-paliychuk why update to draft? |
@paul-paliychuk LMK when this is ready for review (or is itnow?) |
@tmc apologies, we were refactoring our go sdk api recently, will update PR components soon and mark as ready to review. Thanks! |
@tmc @devalexandre Ready for review |
@@ -0,0 +1,164 @@ | |||
package zep |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please include a doc.go for new packages.
Sorry about the delay here, this looks great! A small comment but I think this can go in as-is and be fixed separately. |
@tmc Appreciate the review, will open a docs PR this week |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | [buf](https://github.com/bufbuild/buf) | | minor | `1.32.2` -> `1.33.0` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/buf/1.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/buf/1.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/buf/1.32.2/1.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/buf/1.32.2/1.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/TBD54566975/golang-tools](https://github.com/TBD54566975/golang-tools) | require | minor | `v0.1.8` -> `v0.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fTBD54566975%2fgolang-tools/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fTBD54566975%2fgolang-tools/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fTBD54566975%2fgolang-tools/v0.1.8/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fTBD54566975%2fgolang-tools/v0.1.8/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/aws/aws-sdk-go-v2/service/secretsmanager](https://github.com/aws/aws-sdk-go-v2) | require | minor | `v1.29.3` -> `v1.30.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go-v2%2fservice%2fsecretsmanager/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2faws%2faws-sdk-go-v2%2fservice%2fsecretsmanager/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2faws%2faws-sdk-go-v2%2fservice%2fsecretsmanager/v1.29.3/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2faws%2faws-sdk-go-v2%2fservice%2fsecretsmanager/v1.29.3/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/reugn/go-quartz](https://github.com/reugn/go-quartz) | require | minor | `v0.11.2` -> `v0.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2freugn%2fgo-quartz/v0.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2freugn%2fgo-quartz/v0.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2freugn%2fgo-quartz/v0.11.2/v0.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2freugn%2fgo-quartz/v0.11.2/v0.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/tmc/langchaingo](https://github.com/tmc/langchaingo) | require | patch | `v0.1.10` -> `v0.1.11` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftmc%2flangchaingo/v0.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ftmc%2flangchaingo/v0.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ftmc%2flangchaingo/v0.1.10/v0.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftmc%2flangchaingo/v0.1.10/v0.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [helm](https://github.com/helm/helm) | | patch | `3.15.1` -> `3.15.2` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/helm/3.15.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/helm/3.15.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/helm/3.15.1/3.15.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/helm/3.15.1/3.15.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [just](https://github.com/casey/just) | | minor | `1.28.0` -> `1.29.1` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/just/1.29.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/just/1.29.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/just/1.28.0/1.29.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/just/1.28.0/1.29.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [kubectl](https://github.com/kubernetes/kubectl) | | patch | `1.29.5` -> `1.29.6` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/kubectl/1.29.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/kubectl/1.29.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/kubectl/1.29.5/1.29.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/kubectl/1.29.5/1.29.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lefthook](https://github.com/evilmartians/lefthook) | | patch | `1.6.14` -> `1.6.16` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/lefthook/1.6.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/lefthook/1.6.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/lefthook/1.6.14/1.6.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/lefthook/1.6.14/1.6.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://github.com/okonet/lint-staged) | devDependencies | patch | [`15.2.6` -> `15.2.7`](https://renovatebot.com/diffs/npm/lint-staged/15.2.6/15.2.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.6/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.6/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [protoc-gen-go](https://github.com/protocolbuffers/protobuf-go) | | patch | `1.34.1` -> `1.34.2` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/protoc-gen-go/1.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/protoc-gen-go/1.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/protoc-gen-go/1.34.1/1.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/protoc-gen-go/1.34.1/1.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [type-fest](https://github.com/sindresorhus/type-fest) | dependencies | patch | [`4.20.0` -> `4.20.1`](https://renovatebot.com/diffs/npm/type-fest/4.20.0/4.20.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/type-fest/4.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/type-fest/4.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/type-fest/4.20.0/4.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/type-fest/4.20.0/4.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [yq](https://github.com/mikefarah/yq) | | patch | `4.44.1` -> `4.44.2` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/yq/4.44.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/yq/4.44.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/yq/4.44.1/4.44.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/yq/4.44.1/4.44.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [org.apache.maven.plugins:maven-dependency-plugin](https://maven.apache.org/plugins/) | build | minor | `3.6.1` -> `3.7.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.maven.plugins:maven-dependency-plugin/3.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.apache.maven.plugins:maven-dependency-plugin/3.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.apache.maven.plugins:maven-dependency-plugin/3.6.1/3.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.maven.plugins:maven-dependency-plugin/3.6.1/3.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [org.apache.maven.plugins:maven-surefire-plugin](https://maven.apache.org/surefire/) | build | minor | `3.2.5` -> `3.3.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.maven.plugins:maven-surefire-plugin/3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.apache.maven.plugins:maven-surefire-plugin/3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.apache.maven.plugins:maven-surefire-plugin/3.2.5/3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.maven.plugins:maven-surefire-plugin/3.2.5/3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>bufbuild/buf (buf)</summary> ### [`v1.33.0`](https://github.com/bufbuild/buf/blob/HEAD/CHANGELOG.md#v1330---2024-06-13) - Allow user to override `--source-control-url` and `--create-default-label` when using `--git-metadata` with `buf push`. - Fix `buf push --git-metadata` when local tags point to different objects than the remote tags. - Fix issue where comment ignores were not respected for `PROTOVALIDATE` lint rule violations. - Add `buf beta registry label {create,get,list}` to replace `buf beta registry {draft, tag}` commands. - Update `buf beta commit {get,list}` command outputs to display create time and stop displaying associated tags. - Change the behavior of `buf beta commit list <buf.build/owner/repository>` when the reference is empty. It now lists commits in the repository instead of listing commits of the default label. - Update output of `buf format` to canonicalize the punctuation used in message literals in option values. The output now always uses `{` and `}` instead of `<` and `>`; it adds `:` separators between field names and message values if the source omitted them, and it removes unnecessary separators between fields (`,` and `;` are allowed, but neither is needed). - Update `buf format -w` so that it does not touch files whose contents don't actually change. This eliminates noisy notifications to file-system-watcher tools that are watching the directory that contains proto sources. - Update `buf generate` to work with plugins provided by protoc for versions v24.0 to v25.3. Editions support was experimental in these releases, and the plugins advertise incomplete support for editions, which triggers `buf` to report an error. With this fix, these plugins can be used again as long as none of the input files use editions syntax. - Add `buf push --exclude-unnamed` flag to exclude unnamed modules when pushing to the BSR. </details> <details> <summary>TBD54566975/golang-tools (github.com/TBD54566975/golang-tools)</summary> ### [`v0.2.0`](https://github.com/TBD54566975/golang-tools/compare/v0.1.9...v0.2.0) [Compare Source](https://github.com/TBD54566975/golang-tools/compare/v0.1.9...v0.2.0) ### [`v0.1.9`](https://github.com/TBD54566975/golang-tools/compare/v0.1.8...v0.1.9) [Compare Source](https://github.com/TBD54566975/golang-tools/compare/v0.1.8...v0.1.9) </details> <details> <summary>reugn/go-quartz (github.com/reugn/go-quartz)</summary> ### [`v0.12.0`](https://github.com/reugn/go-quartz/releases/tag/v0.12.0) [Compare Source](https://github.com/reugn/go-quartz/compare/v0.11.2...v0.12.0) #### Features - feat(scheduler)!: handle errors in the GetJobKeys method by [@​reugn](https://github.com/reugn) in [https://github.com/reugn/go-quartz/pull/126](https://github.com/reugn/go-quartz/pull/126) - feat(scheduler): add a channel to handle misfired jobs by [@​reugn](https://github.com/reugn) in [https://github.com/reugn/go-quartz/pull/129](https://github.com/reugn/go-quartz/pull/129) - feat(scheduler): export the reset method by [@​reugn](https://github.com/reugn) in [https://github.com/reugn/go-quartz/pull/131](https://github.com/reugn/go-quartz/pull/131) - feat(scheduler)!: support custom mutex for job queue operations by [@​reugn](https://github.com/reugn) in [https://github.com/reugn/go-quartz/pull/133](https://github.com/reugn/go-quartz/pull/133) - feat(queue): handle errors in ScheduledJobs and Size methods by [@​reugn](https://github.com/reugn) in [https://github.com/reugn/go-quartz/pull/125](https://github.com/reugn/go-quartz/pull/125) - feat(queue): export the job queue constructor by [@​reugn](https://github.com/reugn) in [https://github.com/reugn/go-quartz/pull/134](https://github.com/reugn/go-quartz/pull/134) #### Fixes - fix(scheduler): recover from unhandled job panics by [@​reugn](https://github.com/reugn) in [https://github.com/reugn/go-quartz/pull/130](https://github.com/reugn/go-quartz/pull/130) #### Improvements - refactor: remove excessive queue empty check by [@​reugn](https://github.com/reugn) in [https://github.com/reugn/go-quartz/pull/124](https://github.com/reugn/go-quartz/pull/124) **Full Changelog**: reugn/go-quartz@v0.11.2...v0.12.0 </details> <details> <summary>tmc/langchaingo (github.com/tmc/langchaingo)</summary> ### [`v0.1.11`](https://github.com/tmc/langchaingo/releases/tag/v0.1.11) [Compare Source](https://github.com/tmc/langchaingo/compare/v0.1.10...v0.1.11) #### What's Changed - llms: add watsonx by [@​h0rv](https://github.com/h0rv) in [https://github.com/tmc/langchaingo/pull/577](https://github.com/tmc/langchaingo/pull/577) - pgvector restore WithConnectionURL option by [@​tmc](https://github.com/tmc) in [https://github.com/tmc/langchaingo/pull/832](https://github.com/tmc/langchaingo/pull/832) - examples: Update to v0.1.10 by [@​tmc](https://github.com/tmc) in [https://github.com/tmc/langchaingo/pull/833](https://github.com/tmc/langchaingo/pull/833) - agents: `GetTools` added to `Agent` interface by [@​AugustDev](https://github.com/AugustDev) in [https://github.com/tmc/langchaingo/pull/831](https://github.com/tmc/langchaingo/pull/831) - examples: add redis vectorstore example by [@​CrazyWr](https://github.com/CrazyWr) in [https://github.com/tmc/langchaingo/pull/834](https://github.com/tmc/langchaingo/pull/834) - llms/googleai: batch embedding calls by [@​johanbrandhorst](https://github.com/johanbrandhorst) in [https://github.com/tmc/langchaingo/pull/825](https://github.com/tmc/langchaingo/pull/825) - fix: better handling of errors in openai-like streaming messages by [@​douglarek](https://github.com/douglarek) in [https://github.com/tmc/langchaingo/pull/839](https://github.com/tmc/langchaingo/pull/839) - llms/googleai: upgrade genai SDKs and fix build issue vs. new version by [@​eliben](https://github.com/eliben) in [https://github.com/tmc/langchaingo/pull/854](https://github.com/tmc/langchaingo/pull/854) - fix: handle nil pointer exception in chat_prompt_template by [@​ankitraj2330](https://github.com/ankitraj2330) in [https://github.com/tmc/langchaingo/pull/879](https://github.com/tmc/langchaingo/pull/879) - httputil: debug transport layer by [@​AugustDev](https://github.com/AugustDev) in [https://github.com/tmc/langchaingo/pull/845](https://github.com/tmc/langchaingo/pull/845) - llms: Add improved yaml and json marshaling by [@​tmc](https://github.com/tmc) in [https://github.com/tmc/langchaingo/pull/880](https://github.com/tmc/langchaingo/pull/880) - tools: Improve tool choice population and parsing by [@​tmc](https://github.com/tmc) in [https://github.com/tmc/langchaingo/pull/883](https://github.com/tmc/langchaingo/pull/883) - memory: move mongo chat history into the separate module by [@​CrazyWr](https://github.com/CrazyWr) in [https://github.com/tmc/langchaingo/pull/843](https://github.com/tmc/langchaingo/pull/843) - llms: Tidy up marshaling by [@​tmc](https://github.com/tmc) in [https://github.com/tmc/langchaingo/pull/884](https://github.com/tmc/langchaingo/pull/884) - anthropic: Add tool/function calling support by [@​lwlee2608](https://github.com/lwlee2608) in [https://github.com/tmc/langchaingo/pull/882](https://github.com/tmc/langchaingo/pull/882) - milvus_vectorstore: store metadata with JSON data type & support search with filter by [@​CrazyWr](https://github.com/CrazyWr) in [https://github.com/tmc/langchaingo/pull/844](https://github.com/tmc/langchaingo/pull/844) - readme: add scheme to vectorstores/chroma URL by [@​codefromthecrypt](https://github.com/codefromthecrypt) in [https://github.com/tmc/langchaingo/pull/846](https://github.com/tmc/langchaingo/pull/846) - llms: Fix ErrIncompleteEmbeddings Message Typos by [@​wgeorgecook](https://github.com/wgeorgecook) in [https://github.com/tmc/langchaingo/pull/872](https://github.com/tmc/langchaingo/pull/872) - googleai: add support for array type in convertToolSchemaType by [@​johnknott](https://github.com/johnknott) in [https://github.com/tmc/langchaingo/pull/865](https://github.com/tmc/langchaingo/pull/865) - marita: update Authorization by [@​devalexandre](https://github.com/devalexandre) in [https://github.com/tmc/langchaingo/pull/864](https://github.com/tmc/langchaingo/pull/864) - Fix typos map key value of the modelToContextSize by [@​zhanluxianshen](https://github.com/zhanluxianshen) in [https://github.com/tmc/langchaingo/pull/874](https://github.com/tmc/langchaingo/pull/874) - memory: Add Zep Cloud integration by [@​paul-paliychuk](https://github.com/paul-paliychuk) in [https://github.com/tmc/langchaingo/pull/746](https://github.com/tmc/langchaingo/pull/746) - openai: add the field `detail` in ImageURLContent struct by [@​douglarek](https://github.com/douglarek) in [https://github.com/tmc/langchaingo/pull/853](https://github.com/tmc/langchaingo/pull/853) - weaviate: Fix up weaviate tests by [@​tmc](https://github.com/tmc) in [https://github.com/tmc/langchaingo/pull/885](https://github.com/tmc/langchaingo/pull/885) - deps: clean up direct dep on zerolog by [@​tmc](https://github.com/tmc) in [https://github.com/tmc/langchaingo/pull/886](https://github.com/tmc/langchaingo/pull/886) - googleai: Fix: Resolve Type Error in googleai convertTools by [@​wangjiancn](https://github.com/wangjiancn) in [https://github.com/tmc/langchaingo/pull/888](https://github.com/tmc/langchaingo/pull/888) - openai: enable optional return of usage data while streaming by [@​wangjiancn](https://github.com/wangjiancn) in [https://github.com/tmc/langchaingo/pull/887](https://github.com/tmc/langchaingo/pull/887) - llms/googleai: Support more `option.ClientOption` and update google ai sdk by [@​wangjiancn](https://github.com/wangjiancn) in [https://github.com/tmc/langchaingo/pull/841](https://github.com/tmc/langchaingo/pull/841) - googleai: Remove unused err, fix typo by [@​tmc](https://github.com/tmc) in [https://github.com/tmc/langchaingo/pull/891](https://github.com/tmc/langchaingo/pull/891) - examples: Correct API key usage for Groq integration by [@​Ashad001](https://github.com/Ashad001) in [https://github.com/tmc/langchaingo/pull/893](https://github.com/tmc/langchaingo/pull/893) - ollama: Fix JSON format bug issue when not streaming by [@​doslindos](https://github.com/doslindos) in [https://github.com/tmc/langchaingo/pull/892](https://github.com/tmc/langchaingo/pull/892) #### New Contributors - [@​h0rv](https://github.com/h0rv) made their first contribution in [https://github.com/tmc/langchaingo/pull/577](https://github.com/tmc/langchaingo/pull/577) - [@​johanbrandhorst](https://github.com/johanbrandhorst) made their first contribution in [https://github.com/tmc/langchaingo/pull/825](https://github.com/tmc/langchaingo/pull/825) - [@​ankitraj2330](https://github.com/ankitraj2330) made their first contribution in [https://github.com/tmc/langchaingo/pull/879](https://github.com/tmc/langchaingo/pull/879) - [@​lwlee2608](https://github.com/lwlee2608) made their first contribution in [https://github.com/tmc/langchaingo/pull/882](https://github.com/tmc/langchaingo/pull/882) - [@​codefromthecrypt](https://github.com/codefromthecrypt) made their first contribution in [https://github.com/tmc/langchaingo/pull/846](https://github.com/tmc/langchaingo/pull/846) - [@​wgeorgecook](https://github.com/wgeorgecook) made their first contribution in [https://github.com/tmc/langchaingo/pull/872](https://github.com/tmc/langchaingo/pull/872) - [@​johnknott](https://github.com/johnknott) made their first contribution in [https://github.com/tmc/langchaingo/pull/865](https://github.com/tmc/langchaingo/pull/865) - [@​zhanluxianshen](https://github.com/zhanluxianshen) made their first contribution in [https://github.com/tmc/langchaingo/pull/874](https://github.com/tmc/langchaingo/pull/874) - [@​paul-paliychuk](https://github.com/paul-paliychuk) made their first contribution in [https://github.com/tmc/langchaingo/pull/746](https://github.com/tmc/langchaingo/pull/746) - [@​wangjiancn](https://github.com/wangjiancn) made their first contribution in [https://github.com/tmc/langchaingo/pull/888](https://github.com/tmc/langchaingo/pull/888) - [@​Ashad001](https://github.com/Ashad001) made their first contribution in [https://github.com/tmc/langchaingo/pull/893](https://github.com/tmc/langchaingo/pull/893) - [@​doslindos](https://github.com/doslindos) made their first contribution in [https://github.com/tmc/langchaingo/pull/892](https://github.com/tmc/langchaingo/pull/892) **Full Changelog**: tmc/langchaingo@v0.1.10...v0.1.11-pre.0 </details> <details> <summary>helm/helm (helm)</summary> ### [`v3.15.2`](https://github.com/helm/helm/releases/tag/v3.15.2): Helm v3.15.2 Helm v3.15.2 is a security (patch) release. Users are strongly recommended to update to this release. The community keeps growing, and we'd love to see you there! - Join the discussion in [Kubernetes Slack](https://kubernetes.slack.com): - for questions and just to hang out - for discussing PRs, code, and bugs - Hang out at the Public Developer Call: Thursday, 9:30 Pacific via [Zoom](https://zoom.us/j/696660622) - Test, debug, and contribute charts: [ArtifactHub/packages](https://artifacthub.io/packages/search?kind=0) #### Installation and Upgrading Download Helm v3.15.2. The common platform binaries are here: - [MacOS amd64](https://get.helm.sh/helm-v3.15.2-darwin-amd64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.2-darwin-amd64.tar.gz.sha256sum) / e99a9266a5328cb575d81ef10247911f42d9e90c76ef6eef154c5c535565658b) - [MacOS arm64](https://get.helm.sh/helm-v3.15.2-darwin-arm64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.2-darwin-arm64.tar.gz.sha256sum) / 30143dabc1da9d32c7d6c589fad04b1f1ecc73841393d5823fa21c5d7f5bf8f6) - [Linux amd64](https://get.helm.sh/helm-v3.15.2-linux-amd64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.2-linux-amd64.tar.gz.sha256sum) / 2694b91c3e501cff57caf650e639604a274645f61af2ea4d601677b746b44fe2) - [Linux arm](https://get.helm.sh/helm-v3.15.2-linux-arm.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.2-linux-arm.tar.gz.sha256sum) / 2b28fda1d8c6f087011bc7ec820051a13409dadce8385529f306476632e24e85) - [Linux arm64](https://get.helm.sh/helm-v3.15.2-linux-arm64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.2-linux-arm64.tar.gz.sha256sum) / adcf07b08484b52508e5cbc8b5f4b0b0db50342f7bc487ecd88b8948b680e6a7) - [Linux i386](https://get.helm.sh/helm-v3.15.2-linux-386.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.2-linux-386.tar.gz.sha256sum) / 8e0bb5a08c7c227a8e285026b6283726ddc0e1f406e2af4d4d600fa1dd85c21e) - [Linux ppc64le](https://get.helm.sh/helm-v3.15.2-linux-ppc64le.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.2-linux-ppc64le.tar.gz.sha256sum) / 9d95528fb797f6429f7f9b6dee0cf87bf8c71f6470e1db4a51e844c169c285a3) - [Linux s390x](https://get.helm.sh/helm-v3.15.2-linux-s390x.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.2-linux-s390x.tar.gz.sha256sum) / 5b42bc3d08fd0ffaf4f9ed810f28464f52ec4ea431b809c7179071d76f3d6f16) - [Linux riscv64](https://get.helm.sh/helm-v3.15.2-linux-riscv64.tar.gz) ([checksum](https://get.helm.sh/helm-v3.15.2-linux-riscv64.tar.gz.sha256sum) / 2998bae9971a55f862c21bff337c325cb6a44f28ef76e11bffc93d16989e11e6) - [Windows amd64](https://get.helm.sh/helm-v3.15.2-windows-amd64.zip) ([checksum](https://get.helm.sh/helm-v3.15.2-windows-amd64.zip.sha256sum) / cbf40b79fa2a7dbd6e24201f8660b56261d10d6e7b5cadc3ff78100fb45b3c69) This release was signed with ` 672C 657B E06B 4B30 969C 4A57 4614 49C2 5E36 B98E ` and can be found at [@​mattfarina](https://github.com/mattfarina) [keybase account](https://keybase.io/mattfarina). Please use the attached signatures for verifying this release using `gpg`. The [Quickstart Guide](https://helm.sh/docs/intro/quickstart/) will get you going from there. For **upgrade instructions** or detailed installation notes, check the [install guide](https://helm.sh/docs/intro/install/). You can also use a [script to install](https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3) on any system with `bash`. #### What's Next - 3.15.3 will contain only bug fixes and be released on July 10, 2024. - 3.16.0 is the next feature release and will be on September 11, 2024. #### Changelog - fix: wrong cli description [`1a500d5`](https://github.com/helm/helm/commit/1a500d5625419a524fdae4b33de351cc4f58ec35) (yyzxw) - fix typo in load_plugins.go [`70b225c`](https://github.com/helm/helm/commit/70b225c9abc014cfeb73f7c9f506b0e73e912b61) (yxxhero) - fix docs of DeployedAll [`b3640f1`](https://github.com/helm/helm/commit/b3640f196a2cf77136ab01295bffe76fa184991d) (Daniel Strobusch) - Bump github.com/docker/docker [`46e2ba0`](https://github.com/helm/helm/commit/46e2ba0341d43e19493b2f90c86126da8ad8a64e) (dependabot\[bot]) - bump oras minor version [`fb311d3`](https://github.com/helm/helm/commit/fb311d331f66f7f9153b5d0c7aa07a77bc9528ca) (Austin Abro) - feat(load.go): add warning on requirements.lock [`23552a7`](https://github.com/helm/helm/commit/23552a7de6f45aacec47bc2bfe70de02b9d7ab70) (Aaron U'Ren) </details> <details> <summary>casey/just (just)</summary> ### [`v1.29.1`](https://github.com/casey/just/blob/HEAD/CHANGELOG.md#1291---2024-06-14) [Compare Source](https://github.com/casey/just/compare/1.28.0...1.29.1) ##### Fixed - Fix unexport syntax conflicts ([#​2158](https://github.com/casey/just/pull/2158) by [casey](https://github.com/casey)) </details> <details> <summary>evilmartians/lefthook (lefthook)</summary> ### [`v1.6.16`](https://github.com/evilmartians/lefthook/blob/HEAD/CHANGELOG.md#1616-2024-06-13) [Compare Source](https://github.com/evilmartians/lefthook/compare/v1.6.15...v1.6.16) - fix: skip overwriting hooks when fetching data from remotes ([#​745](https://github.com/evilmartians/lefthook/pull/745)) by [@​mrexox](https://github.com/mrexox) - fix: fetch remotes only for non ghost hooks ([#​744](https://github.com/evilmartians/lefthook/pull/744)) by [@​mrexox](https://github.com/mrexox) ### [`v1.6.15`](https://github.com/evilmartians/lefthook/blob/HEAD/CHANGELOG.md#1615-2024-06-03) [Compare Source](https://github.com/evilmartians/lefthook/compare/v1.6.14...v1.6.15) - feat: add refetch option to remotes config ([#​739](https://github.com/evilmartians/lefthook/pull/739)) by [@​mrexox](https://github.com/mrexox) - deps: June, 3, lipgloss (0.11.0) and viper (1.19.0) ([#​742](https://github.com/evilmartians/lefthook/pull/742)) by [@​mrexox](https://github.com/mrexox) - chore: enable copyloopvar, intrange, and prealloc ([#​740](https://github.com/evilmartians/lefthook/pull/740)) by [@​scop](https://github.com/scop) - perf: delay git and uname commands in hook scripts until needed ([#​737](https://github.com/evilmartians/lefthook/pull/737)) by [@​scop](https://github.com/scop) - chore: refactor commands interfaces ([#​735](https://github.com/evilmartians/lefthook/pull/735)) by [@​mrexox](https://github.com/mrexox) - chore: upgrade to 1.59.0 ([#​738](https://github.com/evilmartians/lefthook/pull/738)) by [@​scop](https://github.com/scop) </details> <details> <summary>okonet/lint-staged (lint-staged)</summary> ### [`v15.2.7`](https://github.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1527) [Compare Source](https://github.com/okonet/lint-staged/compare/v15.2.6...v15.2.7) ##### Patch Changes - [#​1440](https://github.com/lint-staged/lint-staged/pull/1440) [`a51be80`](https://github.com/lint-staged/lint-staged/commit/a51be804b63307ac7af3c82f4cb2d43dbe92daac) Thanks [@​iiroj](https://github.com/iiroj)! - In the previous version the native `git rev-parse --show-toplevel` command was taken into use for resolving the current git repo root. This version drops the `--path-format=absolute` option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading `git` to the latest version. </details> <details> <summary>protocolbuffers/protobuf-go (protoc-gen-go)</summary> ### [`v1.34.2`](https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.34.2) Minor feature: - [CL/589336](https://go.dev/cl/589336): gofeatures: allow setting legacy_unmarshal_json_enum feature at file level Minor bug fixes: - [CL/588875](https://go.dev/cl/588875): types/descriptorpb: regenerate using latest protobuf v27.0 release - [CL/586396](https://go.dev/cl/586396): internal/impl: fix size cache semantics with lazy decoding - [CL/585736](https://go.dev/cl/585736): reflect/protodesc: remove obsolete JSON name check from desc validator - [CL/588976](https://go.dev/cl/588976): reflect/protoreflect: FieldDescriptor.Kind should never be GroupKind for maps or fields of map entry </details> <details> <summary>sindresorhus/type-fest (type-fest)</summary> ### [`v4.20.1`](https://github.com/sindresorhus/type-fest/releases/tag/v4.20.1) [Compare Source](https://github.com/sindresorhus/type-fest/compare/v4.20.0...v4.20.1) - `Schema`: Fix handling of arrays ([#​887](https://github.com/sindresorhus/type-fest/issues/887)) [`c570ec2`](https://github.com/sindresorhus/type-fest/commit/c570ec2) - `Paths`: Prevent infinite recursion ([#​891](https://github.com/sindresorhus/type-fest/issues/891)) [`7d4e875`](https://github.com/sindresorhus/type-fest/commit/7d4e875) </details> <details> <summary>mikefarah/yq (yq)</summary> ### [`v4.44.2`](https://github.com/mikefarah/yq/releases/tag/v4.44.2) - Handle numbers with underscores [#​2039](https://github.com/mikefarah/yq/issues/2039) - Unique now works on maps and arrays [#​2068](https://github.com/mikefarah/yq/issues/2068) - Added support for short hand splat with env\[] expression [#​2071](https://github.com/mikefarah/yq/issues/2071), as well as many other operators (split,select,eval,pick..) - Bumped dependencies </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/TBD54566975/ftl). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Wes <[email protected]>
PR Checklist
memory: add interfaces for X, Y
orutil: add whizzbang helpers
).Fixes #123
).golangci-lint
checks.Creates a zep package that aims to integrate with zep cloud memory, link to our docs. I set up zep.ChatMessageHistory and zep.Memory following your BufferMemory implementation. This can be used by users who want access to long term memory and provide good context to their llm prompts. After each message (or memory) is added to a session, we generate summaries and extract facts from the conversation. When we get memory, we inject the most relevant summary and conversation facts into a system prompt.