Skip to content

Commit

Permalink
examples: update examples (tmc#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc authored Nov 30, 2023
1 parent b52d04e commit fc423fa
Show file tree
Hide file tree
Showing 62 changed files with 94 additions and 106 deletions.
2 changes: 1 addition & 1 deletion examples/anthropic-completion-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/anthropic-completion-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/dlclark/regexp2 v1.8.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/anthropic-completion-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
2 changes: 1 addition & 1 deletion examples/chroma-vectorstore-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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-20231028223410-5f4451567823
github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb
)

require (
Expand Down
2 changes: 1 addition & 1 deletion examples/cohere-llm-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/basic-llm-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/cohere-ai/tokenizer v1.1.2 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/cohere-llm-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
2 changes: 1 addition & 1 deletion examples/document-qa-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/document-qa-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/Masterminds/goutils v1.1.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/document-qa-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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/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=
Expand Down
8 changes: 2 additions & 6 deletions examples/ernie-chat-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
module github.com/tmc/langchaingo/examples/openai-chat-example
module github.com/tmc/langchaingo/examples/ernie-chat-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/dlclark/regexp2 v1.8.1 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/pkoukk/tiktoken-go v0.1.2 // indirect
)

replace (
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823 => "../../"
)
4 changes: 2 additions & 2 deletions examples/ernie-chat-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
2 changes: 1 addition & 1 deletion examples/ernie-completion-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/ernie-completion-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231122191601-2eb6f5408849
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/dlclark/regexp2 v1.8.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/ernie-completion-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231122191601-2eb6f5408849 h1:p0VIrm426HBxEoGal2oZU/1MUThZioXgqs8Kdyk0q/k=
github.com/tmc/langchaingo v0.0.0-20231122191601-2eb6f5408849/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
8 changes: 2 additions & 6 deletions examples/ernie-function-call-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
module github.com/tmc/langchaingo/examples/openai-function-call-example
module github.com/tmc/langchaingo/examples/ernie-function-call-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/dlclark/regexp2 v1.8.1 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/pkoukk/tiktoken-go v0.1.2 // indirect
)

replace (
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823 => "../../"
)
4 changes: 2 additions & 2 deletions examples/ernie-function-call-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
8 changes: 2 additions & 6 deletions examples/ernie-function-call-streaming-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
module github.com/tmc/langchaingo/examples/openai-function-call-streaming-example
module github.com/tmc/langchaingo/examples/ernie-function-call-streaming-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/dlclark/regexp2 v1.8.1 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/pkoukk/tiktoken-go v0.1.2 // indirect
)

replace (
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823 => "../../"
)
4 changes: 2 additions & 2 deletions examples/ernie-function-call-streaming-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
2 changes: 1 addition & 1 deletion examples/huggingface-llm-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/huggingface-llm-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/dlclark/regexp2 v1.8.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/huggingface-llm-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
2 changes: 1 addition & 1 deletion examples/llm-chain-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/llm-chain-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/Masterminds/goutils v1.1.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/llm-chain-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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/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=
Expand Down
2 changes: 1 addition & 1 deletion examples/llmmath-chain-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/llmmath-chain-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/Masterminds/goutils v1.1.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/llmmath-chain-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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/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=
Expand Down
2 changes: 1 addition & 1 deletion examples/llmsummarization-chain-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/llmsummarization-chain-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
cloud.google.com/go v0.110.7 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/llmsummarization-chain-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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/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=
Expand Down
2 changes: 1 addition & 1 deletion examples/local-llm-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/local-llm-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/dlclark/regexp2 v1.8.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/local-llm-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
2 changes: 1 addition & 1 deletion examples/milvus-vectorstore-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replace github.com/tmc/langchaingo => ../..

require (
github.com/milvus-io/milvus-sdk-go/v2 v2.3.2
github.com/tmc/langchaingo v0.0.0-00010101000000-000000000000
github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb
)

require (
Expand Down
2 changes: 1 addition & 1 deletion examples/mrkl-agent-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/mrkl-agent-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/Masterminds/goutils v1.1.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/mrkl-agent-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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/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=
Expand Down
2 changes: 1 addition & 1 deletion examples/ollama-chat-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/ollama-chat-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/Masterminds/goutils v1.1.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/ollama-chat-example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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-20231028223410-5f4451567823 h1:vIYDdskaXk+iwfrMIaN9dM66o3wUedqvWWww1o7a1m4=
github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823/go.mod h1:wwzKIaam0XFmiWfTlvSvdKwq7CkxE9Tz5rIkz1KKDws=
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/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=
Expand Down
2 changes: 1 addition & 1 deletion examples/ollama-chroma-vectorstore-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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-20231028223410-5f4451567823
github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb
)

require (
Expand Down
2 changes: 1 addition & 1 deletion examples/ollama-completion-example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tmc/langchaingo/examples/ollama-completion-example

go 1.19

require github.com/tmc/langchaingo v0.0.0-20231028223410-5f4451567823
require github.com/tmc/langchaingo v0.0.0-20231130155755-b52d04e23ecb

require (
github.com/Masterminds/goutils v1.1.1 // indirect
Expand Down
Loading

0 comments on commit fc423fa

Please sign in to comment.