Skip to content

Commit

Permalink
examples: Include full path in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc committed Oct 28, 2023
1 parent be6f87d commit 440d668
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion examples/anthropic-completion-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module anthropic-completion-example
module github.com/tmc/langchaingo/examples/anthropic-completion-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/chroma-vectorstore-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module chroma-vectorstore-example
module github.com/tmc/langchaingo/examples/chroma-vectorstore-example

go 1.20

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

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/document-qa-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module document-qa-example
module github.com/tmc/langchaingo/examples/document-qa-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/huggingface-llm-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module huggingface-llm-example
module github.com/tmc/langchaingo/examples/huggingface-llm-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/llm-chain-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module llm-chain-example
module github.com/tmc/langchaingo/examples/llm-chain-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/llmmath-chain-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module llmmath-chain-example
module github.com/tmc/langchaingo/examples/llmmath-chain-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/llmsummarization-chain-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module llmsummarization-chain-example
module github.com/tmc/langchaingo/examples/llmsummarization-chain-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/local-llm-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module local-llm-example
module github.com/tmc/langchaingo/examples/local-llm-example

go 1.19

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

go 1.19

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

go 1.19

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
@@ -1,4 +1,4 @@
module ollama-chroma-vectorstore-example
module github.com/tmc/langchaingo/examples/ollama-chroma-vectorstore-example

go 1.20

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

go 1.19

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func main() {
llm, err := ollama.New(ollama.WithModel("llama2"))
llm, err := ollama.New(ollama.WithModel("zephyr"))
if err != nil {
log.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion examples/openai-chat-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module openai-chat-example
module github.com/tmc/langchaingo/examples/openai-chat-example

go 1.19

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

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/openai-function-call-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module openai-function-call-example
module github.com/tmc/langchaingo/examples/openai-function-call-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/openai-function-call-streaming-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module openai-function-call-streaming-example
module github.com/tmc/langchaingo/examples/openai-function-call-streaming-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/pinecone-vectorstore-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module pinecone-vectorstore-example
module github.com/tmc/langchaingo/examples/pinecone-vectorstore-example

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion examples/postgresql-database-chain-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module postgresql-database-chain-example
module github.com/tmc/langchaingo/examples/postgresql-database-chain-example

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion examples/prompts-with-partial-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module prompts-with-partial-example
module github.com/tmc/langchaingo/examples/prompts-with-partial-example

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion examples/prompts-with-partial-func-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module prompts-with-partial-func-example
module github.com/tmc/langchaingo/examples/prompts-with-partial-func-example

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion examples/sequential-chain-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module sequential-chain-example
module github.com/tmc/langchaingo/examples/sequential-chain-example

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion examples/sql-database-chain-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module sql-database-chain-example
module github.com/tmc/langchaingo/examples/sql-database-chain-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/vertexai-palm-chat-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module vertexai-palm-chat-example
module github.com/tmc/langchaingo/examples/vertexai-palm-chat-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/vertexai-palm-completion-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module vertexai-palm-completion-example
module github.com/tmc/langchaingo/examples/vertexai-palm-completion-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/vertexai-palm-embeddings-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module vertexai-palm-embeddings-example
module github.com/tmc/langchaingo/examples/vertexai-palm-embeddings-example

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion examples/zapier-llm-example/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module zapier-llm-example
module github.com/tmc/langchaingo/examples/zapier-llm-example

go 1.19

Expand Down

0 comments on commit 440d668

Please sign in to comment.