diff --git a/examples/anthropic-completion-example/go.mod b/examples/anthropic-completion-example/go.mod index b1e711f39..ddc7de8f7 100644 --- a/examples/anthropic-completion-example/go.mod +++ b/examples/anthropic-completion-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/anthropic-completion-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/anthropic-completion-example/go.sum b/examples/anthropic-completion-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/anthropic-completion-example/go.sum +++ b/examples/anthropic-completion-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/chroma-vectorstore-example/go.mod b/examples/chroma-vectorstore-example/go.mod index e653a017f..324345fa3 100644 --- a/examples/chroma-vectorstore-example/go.mod +++ b/examples/chroma-vectorstore-example/go.mod @@ -2,13 +2,10 @@ module github.com/tmc/langchaingo/examples/chroma-vectorstore-example go 1.20 -// NOTE: remove the following line to use the official (rather than local development) version -replace github.com/tmc/langchaingo => ../.. - require ( github.com/amikos-tech/chroma-go v0.0.0-20230901221218-d0087270239e github.com/google/uuid v1.3.1 - github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb + github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 ) require ( diff --git a/examples/chroma-vectorstore-example/go.sum b/examples/chroma-vectorstore-example/go.sum index e662e27ce..ccc32032d 100644 --- a/examples/chroma-vectorstore-example/go.sum +++ b/examples/chroma-vectorstore-example/go.sum @@ -19,6 +19,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ= github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= go.starlark.net v0.0.0-20230302034142-4b1e35fe2254 h1:Ss6D3hLXTM0KobyBYEAygXzFfGcjnmfEJOBgSbemCtg= golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea h1:vLCWI/yYrdEHyN2JzIzPO3aaQJHQdp89IZBA/+azVC4= diff --git a/examples/cohere-llm-example/go.mod b/examples/cohere-llm-example/go.mod index a490aba1a..b02bcbfdd 100644 --- a/examples/cohere-llm-example/go.mod +++ b/examples/cohere-llm-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/basic-llm-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/cohere-ai/tokenizer v1.1.2 // indirect diff --git a/examples/cohere-llm-example/go.sum b/examples/cohere-llm-example/go.sum index 00727260f..fc8eaa1e2 100644 --- a/examples/cohere-llm-example/go.sum +++ b/examples/cohere-llm-example/go.sum @@ -11,6 +11,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/document-qa-example/go.mod b/examples/document-qa-example/go.mod index 2396075bc..5a6444534 100644 --- a/examples/document-qa-example/go.mod +++ b/examples/document-qa-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/document-qa-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/document-qa-example/go.sum b/examples/document-qa-example/go.sum index 3c9670381..41193619c 100644 --- a/examples/document-qa-example/go.sum +++ b/examples/document-qa-example/go.sum @@ -66,8 +66,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181 h1:K+bMSIx9A7mLES1rtG+qKduLIXq40DAzYHtb0XuCukA= gitlab.com/golang-commonmark/linkify v0.0.0-20191026162114-a0c2df6c8f82 h1:oYrL81N608MLZhma3ruL8qTM4xcpYECGut8KSxRY59g= diff --git a/examples/ernie-chat-example/go.mod b/examples/ernie-chat-example/go.mod index 5aa670d18..0d0009115 100644 --- a/examples/ernie-chat-example/go.mod +++ b/examples/ernie-chat-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/ernie-chat-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/ernie-chat-example/go.sum b/examples/ernie-chat-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/ernie-chat-example/go.sum +++ b/examples/ernie-chat-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/ernie-completion-example/go.mod b/examples/ernie-completion-example/go.mod index e2059370e..83c5a1166 100644 --- a/examples/ernie-completion-example/go.mod +++ b/examples/ernie-completion-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/ernie-completion-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/ernie-completion-example/go.sum b/examples/ernie-completion-example/go.sum index 0e8aacb47..f4f27b558 100644 --- a/examples/ernie-completion-example/go.sum +++ b/examples/ernie-completion-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/ernie-function-call-example/go.mod b/examples/ernie-function-call-example/go.mod index d9843963f..a03852e9c 100644 --- a/examples/ernie-function-call-example/go.mod +++ b/examples/ernie-function-call-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/ernie-function-call-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/ernie-function-call-example/go.sum b/examples/ernie-function-call-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/ernie-function-call-example/go.sum +++ b/examples/ernie-function-call-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/ernie-function-call-streaming-example/go.mod b/examples/ernie-function-call-streaming-example/go.mod index 54488af09..dbaabf50f 100644 --- a/examples/ernie-function-call-streaming-example/go.mod +++ b/examples/ernie-function-call-streaming-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/ernie-function-call-streaming-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/ernie-function-call-streaming-example/go.sum b/examples/ernie-function-call-streaming-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/ernie-function-call-streaming-example/go.sum +++ b/examples/ernie-function-call-streaming-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/huggingface-llm-example/go.mod b/examples/huggingface-llm-example/go.mod index 25eb51d3d..22f310fd5 100644 --- a/examples/huggingface-llm-example/go.mod +++ b/examples/huggingface-llm-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/huggingface-llm-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/huggingface-llm-example/go.sum b/examples/huggingface-llm-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/huggingface-llm-example/go.sum +++ b/examples/huggingface-llm-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/milvus-vectorstore-example/.gitignore b/examples/huggingface-milvus-vectorstore-example/.gitignore similarity index 100% rename from examples/milvus-vectorstore-example/.gitignore rename to examples/huggingface-milvus-vectorstore-example/.gitignore diff --git a/examples/milvus-vectorstore-example/README.md b/examples/huggingface-milvus-vectorstore-example/README.md similarity index 75% rename from examples/milvus-vectorstore-example/README.md rename to examples/huggingface-milvus-vectorstore-example/README.md index d7a526edd..3dca60799 100644 --- a/examples/milvus-vectorstore-example/README.md +++ b/examples/huggingface-milvus-vectorstore-example/README.md @@ -1,4 +1,4 @@ -# Milvus vector store with local embeddings +# Milvus vector store with local embeddings via huggingface TEI. Dependencies: - [Text Embeddings Inference](https://github.com/huggingface/text-embeddings-inference) @@ -8,10 +8,6 @@ Dependencies: # start milvus docker-compose up -d -# start mistral on ollama -ollama run mistral - #start embedding server text-embeddings-router --model-id thenlper/gte-large --port 5500 - ``` diff --git a/examples/milvus-vectorstore-example/Taskfile.yml b/examples/huggingface-milvus-vectorstore-example/Taskfile.yml similarity index 100% rename from examples/milvus-vectorstore-example/Taskfile.yml rename to examples/huggingface-milvus-vectorstore-example/Taskfile.yml diff --git a/examples/milvus-vectorstore-example/docker-compose.yml b/examples/huggingface-milvus-vectorstore-example/docker-compose.yml similarity index 100% rename from examples/milvus-vectorstore-example/docker-compose.yml rename to examples/huggingface-milvus-vectorstore-example/docker-compose.yml diff --git a/examples/milvus-vectorstore-example/go.mod b/examples/huggingface-milvus-vectorstore-example/go.mod similarity index 83% rename from examples/milvus-vectorstore-example/go.mod rename to examples/huggingface-milvus-vectorstore-example/go.mod index 44591ccd8..5deaa66c8 100644 --- a/examples/milvus-vectorstore-example/go.mod +++ b/examples/huggingface-milvus-vectorstore-example/go.mod @@ -1,13 +1,10 @@ -module github.com/tmc/langchaingo/examples/ollama-milvus-vectorstore-example +module github.com/tmc/langchaingo/examples/huggingface-milvus-vectorstore-example go 1.20 -// NOTE: remove the following line to use the official (rather than local development) version -replace github.com/tmc/langchaingo => ../.. - require ( github.com/milvus-io/milvus-sdk-go/v2 v2.3.2 - github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb + github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 ) require ( diff --git a/examples/milvus-vectorstore-example/go.sum b/examples/huggingface-milvus-vectorstore-example/go.sum similarity index 99% rename from examples/milvus-vectorstore-example/go.sum rename to examples/huggingface-milvus-vectorstore-example/go.sum index 7ac9aa68e..4bbcf1500 100644 --- a/examples/milvus-vectorstore-example/go.sum +++ b/examples/huggingface-milvus-vectorstore-example/go.sum @@ -216,6 +216,8 @@ github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= diff --git a/examples/milvus-vectorstore-example/milvus_vectorstore_example.go b/examples/huggingface-milvus-vectorstore-example/milvus_vectorstore_example.go similarity index 99% rename from examples/milvus-vectorstore-example/milvus_vectorstore_example.go rename to examples/huggingface-milvus-vectorstore-example/milvus_vectorstore_example.go index 43f7d058f..de966a336 100644 --- a/examples/milvus-vectorstore-example/milvus_vectorstore_example.go +++ b/examples/huggingface-milvus-vectorstore-example/milvus_vectorstore_example.go @@ -47,7 +47,7 @@ func newStore() (vectorstores.VectorStore, error) { milvusConfig := client.Config{ Address: "http://localhost:19530", } - // Create a new Chroma vector store. + // Create a new milvus vector store. store, errNs := milvus.New( ctx, milvusConfig, diff --git a/examples/llm-chain-example/go.mod b/examples/llm-chain-example/go.mod index 1f38eb6ef..a06fe47a2 100644 --- a/examples/llm-chain-example/go.mod +++ b/examples/llm-chain-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/llm-chain-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/llm-chain-example/go.sum b/examples/llm-chain-example/go.sum index 3c9670381..41193619c 100644 --- a/examples/llm-chain-example/go.sum +++ b/examples/llm-chain-example/go.sum @@ -66,8 +66,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181 h1:K+bMSIx9A7mLES1rtG+qKduLIXq40DAzYHtb0XuCukA= gitlab.com/golang-commonmark/linkify v0.0.0-20191026162114-a0c2df6c8f82 h1:oYrL81N608MLZhma3ruL8qTM4xcpYECGut8KSxRY59g= diff --git a/examples/llmmath-chain-example/go.mod b/examples/llmmath-chain-example/go.mod index e71eeda94..8301bbefc 100644 --- a/examples/llmmath-chain-example/go.mod +++ b/examples/llmmath-chain-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/llmmath-chain-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/llmmath-chain-example/go.sum b/examples/llmmath-chain-example/go.sum index 3c9670381..41193619c 100644 --- a/examples/llmmath-chain-example/go.sum +++ b/examples/llmmath-chain-example/go.sum @@ -66,8 +66,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181 h1:K+bMSIx9A7mLES1rtG+qKduLIXq40DAzYHtb0XuCukA= gitlab.com/golang-commonmark/linkify v0.0.0-20191026162114-a0c2df6c8f82 h1:oYrL81N608MLZhma3ruL8qTM4xcpYECGut8KSxRY59g= diff --git a/examples/llmsummarization-chain-example/go.mod b/examples/llmsummarization-chain-example/go.mod index cb8f7f4ff..f34dabb8d 100644 --- a/examples/llmsummarization-chain-example/go.mod +++ b/examples/llmsummarization-chain-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/llmsummarization-chain-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( cloud.google.com/go v0.110.7 // indirect diff --git a/examples/llmsummarization-chain-example/go.sum b/examples/llmsummarization-chain-example/go.sum index 1080636dc..964dde324 100644 --- a/examples/llmsummarization-chain-example/go.sum +++ b/examples/llmsummarization-chain-example/go.sum @@ -128,8 +128,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181 h1:K+bMSIx9A7mLES1rtG+qKduLIXq40DAzYHtb0XuCukA= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181/go.mod h1:dzYhVIwWCtzPAa4QP98wfB9+mzt33MSmM8wsKiMi2ow= diff --git a/examples/local-llm-example/go.mod b/examples/local-llm-example/go.mod index 8428f815a..1bc69d02a 100644 --- a/examples/local-llm-example/go.mod +++ b/examples/local-llm-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/local-llm-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/local-llm-example/go.sum b/examples/local-llm-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/local-llm-example/go.sum +++ b/examples/local-llm-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/mrkl-agent-example/go.mod b/examples/mrkl-agent-example/go.mod index 8abd855db..8fb7f9d5d 100644 --- a/examples/mrkl-agent-example/go.mod +++ b/examples/mrkl-agent-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/mrkl-agent-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/mrkl-agent-example/go.sum b/examples/mrkl-agent-example/go.sum index 3c9670381..41193619c 100644 --- a/examples/mrkl-agent-example/go.sum +++ b/examples/mrkl-agent-example/go.sum @@ -66,8 +66,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181 h1:K+bMSIx9A7mLES1rtG+qKduLIXq40DAzYHtb0XuCukA= gitlab.com/golang-commonmark/linkify v0.0.0-20191026162114-a0c2df6c8f82 h1:oYrL81N608MLZhma3ruL8qTM4xcpYECGut8KSxRY59g= diff --git a/examples/ollama-chat-example/go.mod b/examples/ollama-chat-example/go.mod index fa9ff04d8..252a92bc5 100644 --- a/examples/ollama-chat-example/go.mod +++ b/examples/ollama-chat-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/ollama-chat-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/ollama-chat-example/go.sum b/examples/ollama-chat-example/go.sum index c46dd03dc..c839f6fd4 100644 --- a/examples/ollama-chat-example/go.sum +++ b/examples/ollama-chat-example/go.sum @@ -33,8 +33,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= diff --git a/examples/ollama-chroma-vectorstore-example/go.mod b/examples/ollama-chroma-vectorstore-example/go.mod index 234315012..b15262291 100644 --- a/examples/ollama-chroma-vectorstore-example/go.mod +++ b/examples/ollama-chroma-vectorstore-example/go.mod @@ -2,13 +2,10 @@ module github.com/tmc/langchaingo/examples/ollama-chroma-vectorstore-example go 1.20 -// NOTE: remove the following line to use the official (rather than local development) version -replace github.com/tmc/langchaingo => ../.. - require ( github.com/amikos-tech/chroma-go v0.0.0-20230901221218-d0087270239e github.com/google/uuid v1.3.0 - github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb + github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 ) require ( diff --git a/examples/ollama-chroma-vectorstore-example/go.sum b/examples/ollama-chroma-vectorstore-example/go.sum index b39514c5d..21710e22b 100644 --- a/examples/ollama-chroma-vectorstore-example/go.sum +++ b/examples/ollama-chroma-vectorstore-example/go.sum @@ -36,6 +36,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.starlark.net v0.0.0-20230302034142-4b1e35fe2254 h1:Ss6D3hLXTM0KobyBYEAygXzFfGcjnmfEJOBgSbemCtg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/examples/ollama-completion-example/go.mod b/examples/ollama-completion-example/go.mod index 473942cfc..e82e74c6f 100644 --- a/examples/ollama-completion-example/go.mod +++ b/examples/ollama-completion-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/ollama-completion-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/ollama-completion-example/go.sum b/examples/ollama-completion-example/go.sum index c46dd03dc..c839f6fd4 100644 --- a/examples/ollama-completion-example/go.sum +++ b/examples/ollama-completion-example/go.sum @@ -33,8 +33,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= diff --git a/examples/openai-chat-example/go.mod b/examples/openai-chat-example/go.mod index 3d4af064a..9e89d0b62 100644 --- a/examples/openai-chat-example/go.mod +++ b/examples/openai-chat-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/openai-chat-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/openai-chat-example/go.sum b/examples/openai-chat-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/openai-chat-example/go.sum +++ b/examples/openai-chat-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/openai-completion-example/go.mod b/examples/openai-completion-example/go.mod index 1253dbf06..a759b530a 100644 --- a/examples/openai-completion-example/go.mod +++ b/examples/openai-completion-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/openai-completion-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/openai-completion-example/go.sum b/examples/openai-completion-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/openai-completion-example/go.sum +++ b/examples/openai-completion-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/openai-function-call-example/go.mod b/examples/openai-function-call-example/go.mod index 6c31dfbd4..5b4de7a35 100644 --- a/examples/openai-function-call-example/go.mod +++ b/examples/openai-function-call-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/openai-function-call-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/openai-function-call-example/go.sum b/examples/openai-function-call-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/openai-function-call-example/go.sum +++ b/examples/openai-function-call-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/openai-function-call-streaming-example/go.mod b/examples/openai-function-call-streaming-example/go.mod index 42e4d3eed..8186e9254 100644 --- a/examples/openai-function-call-streaming-example/go.mod +++ b/examples/openai-function-call-streaming-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/openai-function-call-streaming-exampl go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/openai-function-call-streaming-example/go.sum b/examples/openai-function-call-streaming-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/openai-function-call-streaming-example/go.sum +++ b/examples/openai-function-call-streaming-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/openai-gpt4-turbo-example/go.mod b/examples/openai-gpt4-turbo-example/go.mod index 695367869..a1bef1216 100644 --- a/examples/openai-gpt4-turbo-example/go.mod +++ b/examples/openai-gpt4-turbo-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/openai-gpt4-turbo-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/dlclark/regexp2 v1.8.1 // indirect diff --git a/examples/openai-gpt4-turbo-example/go.sum b/examples/openai-gpt4-turbo-example/go.sum index 065861a54..acc0c354e 100644 --- a/examples/openai-gpt4-turbo-example/go.sum +++ b/examples/openai-gpt4-turbo-example/go.sum @@ -7,6 +7,6 @@ github.com/pkoukk/tiktoken-go v0.1.2 h1:u7PCSBiWJ3nJYoTGShyM9iHXz4dNyYkurwwp+GHt github.com/pkoukk/tiktoken-go v0.1.2/go.mod h1:boMWvk9pQCOTx11pgu0DrIdrAKgQzzJKUP6vLXaz7Rw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/examples/pinecone-vectorstore-example/go.mod b/examples/pinecone-vectorstore-example/go.mod index fc14babed..791d2548d 100644 --- a/examples/pinecone-vectorstore-example/go.mod +++ b/examples/pinecone-vectorstore-example/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/google/uuid v1.3.1 - github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb + github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 ) require ( diff --git a/examples/pinecone-vectorstore-example/go.sum b/examples/pinecone-vectorstore-example/go.sum index 684951724..92c1816ba 100644 --- a/examples/pinecone-vectorstore-example/go.sum +++ b/examples/pinecone-vectorstore-example/go.sum @@ -158,8 +158,8 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= diff --git a/examples/postgresql-database-chain-example/go.mod b/examples/postgresql-database-chain-example/go.mod index 74461aee0..d7702d8bd 100644 --- a/examples/postgresql-database-chain-example/go.mod +++ b/examples/postgresql-database-chain-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/postgresql-database-chain-example go 1.20 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/postgresql-database-chain-example/go.sum b/examples/postgresql-database-chain-example/go.sum index 3725b7688..8ce6e9746 100644 --- a/examples/postgresql-database-chain-example/go.sum +++ b/examples/postgresql-database-chain-example/go.sum @@ -74,8 +74,8 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181 h1:K+bMSIx9A7mLES1rtG+qKduLIXq40DAzYHtb0XuCukA= gitlab.com/golang-commonmark/linkify v0.0.0-20191026162114-a0c2df6c8f82 h1:oYrL81N608MLZhma3ruL8qTM4xcpYECGut8KSxRY59g= diff --git a/examples/prompts-with-partial-example/go.mod b/examples/prompts-with-partial-example/go.mod index 67a72699a..49c8b5850 100644 --- a/examples/prompts-with-partial-example/go.mod +++ b/examples/prompts-with-partial-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/prompts-with-partial-example go 1.20 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/prompts-with-partial-example/go.sum b/examples/prompts-with-partial-example/go.sum index e0f1b7bb0..663cbdfbc 100644 --- a/examples/prompts-with-partial-example/go.sum +++ b/examples/prompts-with-partial-example/go.sum @@ -29,8 +29,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= diff --git a/examples/prompts-with-partial-func-example/go.mod b/examples/prompts-with-partial-func-example/go.mod index caf3e2c17..cd86476a8 100644 --- a/examples/prompts-with-partial-func-example/go.mod +++ b/examples/prompts-with-partial-func-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/prompts-with-partial-func-example go 1.20 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/prompts-with-partial-func-example/go.sum b/examples/prompts-with-partial-func-example/go.sum index e0f1b7bb0..663cbdfbc 100644 --- a/examples/prompts-with-partial-func-example/go.sum +++ b/examples/prompts-with-partial-func-example/go.sum @@ -29,8 +29,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= diff --git a/examples/sequential-chain-example/go.mod b/examples/sequential-chain-example/go.mod index 3cbea7920..2a2cf72f7 100644 --- a/examples/sequential-chain-example/go.mod +++ b/examples/sequential-chain-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/sequential-chain-example go 1.20 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/sequential-chain-example/go.sum b/examples/sequential-chain-example/go.sum index 3c9670381..41193619c 100644 --- a/examples/sequential-chain-example/go.sum +++ b/examples/sequential-chain-example/go.sum @@ -66,8 +66,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181 h1:K+bMSIx9A7mLES1rtG+qKduLIXq40DAzYHtb0XuCukA= gitlab.com/golang-commonmark/linkify v0.0.0-20191026162114-a0c2df6c8f82 h1:oYrL81N608MLZhma3ruL8qTM4xcpYECGut8KSxRY59g= diff --git a/examples/sql-database-chain-example/go.mod b/examples/sql-database-chain-example/go.mod index 5cf491893..507150655 100644 --- a/examples/sql-database-chain-example/go.mod +++ b/examples/sql-database-chain-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/sql-database-chain-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/sql-database-chain-example/go.sum b/examples/sql-database-chain-example/go.sum index 95c1ab997..f4eb6f024 100644 --- a/examples/sql-database-chain-example/go.sum +++ b/examples/sql-database-chain-example/go.sum @@ -68,8 +68,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181 h1:K+bMSIx9A7mLES1rtG+qKduLIXq40DAzYHtb0XuCukA= gitlab.com/golang-commonmark/linkify v0.0.0-20191026162114-a0c2df6c8f82 h1:oYrL81N608MLZhma3ruL8qTM4xcpYECGut8KSxRY59g= diff --git a/examples/vertexai-palm-chat-example/go.mod b/examples/vertexai-palm-chat-example/go.mod index 42a155e84..6b0e4bc12 100644 --- a/examples/vertexai-palm-chat-example/go.mod +++ b/examples/vertexai-palm-chat-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/vertexai-palm-chat-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( cloud.google.com/go v0.110.7 // indirect diff --git a/examples/vertexai-palm-chat-example/go.sum b/examples/vertexai-palm-chat-example/go.sum index bf36de82c..47e9f6877 100644 --- a/examples/vertexai-palm-chat-example/go.sum +++ b/examples/vertexai-palm-chat-example/go.sum @@ -89,8 +89,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= diff --git a/examples/vertexai-palm-completion-example/go.mod b/examples/vertexai-palm-completion-example/go.mod index d63541587..e9921cb26 100644 --- a/examples/vertexai-palm-completion-example/go.mod +++ b/examples/vertexai-palm-completion-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/vertexai-palm-completion-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( cloud.google.com/go v0.110.7 // indirect diff --git a/examples/vertexai-palm-completion-example/go.sum b/examples/vertexai-palm-completion-example/go.sum index bf36de82c..47e9f6877 100644 --- a/examples/vertexai-palm-completion-example/go.sum +++ b/examples/vertexai-palm-completion-example/go.sum @@ -89,8 +89,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= diff --git a/examples/vertexai-palm-embeddings-example/go.mod b/examples/vertexai-palm-embeddings-example/go.mod index efbd85dc6..113bc1467 100644 --- a/examples/vertexai-palm-embeddings-example/go.mod +++ b/examples/vertexai-palm-embeddings-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/vertexai-palm-embeddings-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( cloud.google.com/go v0.110.7 // indirect diff --git a/examples/vertexai-palm-embeddings-example/go.sum b/examples/vertexai-palm-embeddings-example/go.sum index bf36de82c..47e9f6877 100644 --- a/examples/vertexai-palm-embeddings-example/go.sum +++ b/examples/vertexai-palm-embeddings-example/go.sum @@ -89,8 +89,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb h1:hikrwYpmDgLFkdrau9QCZl0npDGt08ZnI0YzVBWv01I= -github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= diff --git a/examples/zapier-llm-example/go.mod b/examples/zapier-llm-example/go.mod index 35e6a8c28..51e66a5f8 100644 --- a/examples/zapier-llm-example/go.mod +++ b/examples/zapier-llm-example/go.mod @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/zapier-llm-example go 1.19 -require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb +require github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 require ( github.com/Masterminds/goutils v1.1.1 // indirect @@ -22,5 +22,3 @@ require ( golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea // indirect golang.org/x/sys v0.13.0 // indirect ) - -replace github.com/tmc/langchaingo => ../../. diff --git a/examples/zapier-llm-example/go.sum b/examples/zapier-llm-example/go.sum index c5380461c..41193619c 100644 --- a/examples/zapier-llm-example/go.sum +++ b/examples/zapier-llm-example/go.sum @@ -66,6 +66,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81 h1:WRrvtNwd7S1etCMnYjEaem5cizL5TP7q8MTXum/OSUA= +github.com/tmc/langchaingo v0.0.0-20231130160443-fc423fab7b81/go.mod h1:WgJkGMb5Ac/WpD6YLo3zRAiHtALrgGnH42Hcu5Rs4/A= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= gitlab.com/golang-commonmark/html v0.0.0-20191124015941-a22733972181 h1:K+bMSIx9A7mLES1rtG+qKduLIXq40DAzYHtb0XuCukA= gitlab.com/golang-commonmark/linkify v0.0.0-20191026162114-a0c2df6c8f82 h1:oYrL81N608MLZhma3ruL8qTM4xcpYECGut8KSxRY59g=