Directories
¶
Path | Synopsis |
---|---|
Package langchaingo implements the Go language version of the langchain project.
|
Package langchaingo implements the Go language version of the langchain project. |
agents
Package agents contains the standard interface all agents must implement, implementations of this interface, and an agent executor.
|
Package agents contains the standard interface all agents must implement, implementations of this interface, and an agent executor. |
callbacks
Package callbacks includes a standard interface for hooking into various stages of your LLM application.
|
Package callbacks includes a standard interface for hooking into various stages of your LLM application. |
chains
Package chains contains a standard interface for chains, a number of built-in chains and functions for calling and running chains.
|
Package chains contains a standard interface for chains, a number of built-in chains and functions for calling and running chains. |
documentloaders
Package documentloaders includes a standard interface for loading documents from a source and implementations of this interface.
|
Package documentloaders includes a standard interface for loading documents from a source and implementations of this interface. |
embeddings
Package embeddings contains helpers for creating vector embeddings from text using different providers.
|
Package embeddings contains helpers for creating vector embeddings from text using different providers. |
exp
Package exp contains experimental code that is subject to change or removal.
|
Package exp contains experimental code that is subject to change or removal. |
jsonschema
Package jsonschema provides very simple functionality for representing a JSON schema as a (nested) struct.
|
Package jsonschema provides very simple functionality for representing a JSON schema as a (nested) struct. |
llms
Package llms provides unified support for interacting with different Language Models (LLMs) from various providers.
|
Package llms provides unified support for interacting with different Language Models (LLMs) from various providers. |
llms/cache
Package cache provides a generic wrapper that adds caching to a `llms.Model`.
|
Package cache provides a generic wrapper that adds caching to a `llms.Model`. |
llms/ernie
Package ernie wrapper around the Baidu Large Language Model Platform APIs.
|
Package ernie wrapper around the Baidu Large Language Model Platform APIs. |
llms/googleai
package googleai implements a langchaingo provider for Google AI LLMs.
|
package googleai implements a langchaingo provider for Google AI LLMs. |
llms/googleai/internal/cmd
Code generator for vertex.go from googleai.go nolint
|
Code generator for vertex.go from googleai.go nolint |
llms/googleai/palm
package palm implements a langchaingo provider for Google Vertex AI legacy PaLM models.
|
package palm implements a langchaingo provider for Google Vertex AI legacy PaLM models. |
llms/googleai/vertex
package vertex implements a langchaingo provider for Google Vertex AI LLMs, including the new Gemini models.
|
package vertex implements a langchaingo provider for Google Vertex AI LLMs, including the new Gemini models. |
llms/local/internal/localclient
Package localclient provides a client for local LLMs.
|
Package localclient provides a client for local LLMs. |
memory
Package memory provides an interface for managing conversational data and a variety of implementations for storing and retrieving that data.
|
Package memory provides an interface for managing conversational data and a variety of implementations for storing and retrieving that data. |
memory/sqlite3
Package sqlite3 adds support for chat message history using sqlite3.
|
Package sqlite3 adds support for chat message history using sqlite3. |
outputparser
Package outputparser provides a set of output parsers to process structured or unstructured data from language models (LLMs).
|
Package outputparser provides a set of output parsers to process structured or unstructured data from language models (LLMs). |
prompts
Package prompts contains types, prompt templates, loading utilities, output parsers, example selectors, and other utilities for working with LLM prompts.
|
Package prompts contains types, prompt templates, loading utilities, output parsers, example selectors, and other utilities for working with LLM prompts. |
prompts/internal/fstring
Package fstring contains template format with f-string.
|
Package fstring contains template format with f-string. |
schema
Package schema implements a shared core set of data types for use in langchaingo.
|
Package schema implements a shared core set of data types for use in langchaingo. |
textsplitter
Package textsplitter provides tools for splitting long texts into smaller chunks based on configurable rules and parameters.
|
Package textsplitter provides tools for splitting long texts into smaller chunks based on configurable rules and parameters. |
tools
Package tools defines a standard interface for tools to be used by agents.
|
Package tools defines a standard interface for tools to be used by agents. |
tools/duckduckgo
Package duckduckgo contains an implementation of the tool interface with the duckduckgo api client.
|
Package duckduckgo contains an implementation of the tool interface with the duckduckgo api client. |
tools/metaphor
// Package metaphor contains an implementation of the tool interface with the metaphor search api client.
|
// Package metaphor contains an implementation of the tool interface with the metaphor search api client. |
tools/scraper
Package scraper contains an implementation of the tool interface for a web scraping tool.
|
Package scraper contains an implementation of the tool interface for a web scraping tool. |
tools/serpapi
Package serpapi contains an implementation of the tool interface with the serapi.
|
Package serpapi contains an implementation of the tool interface with the serapi. |
tools/wikipedia
Package wikipedia contains an implementation of the tool interface with the wikipedia api.
|
Package wikipedia contains an implementation of the tool interface with the wikipedia api. |
tools/zapier
Package zapier contains an implementation of the tool interface with the zapier NLA api client.
|
Package zapier contains an implementation of the tool interface with the zapier NLA api client. |
vectorstores
Package vectorstores contains the implementation of VectorStore, an interface for saving and querying documents as vector embeddings.
|
Package vectorstores contains the implementation of VectorStore, an interface for saving and querying documents as vector embeddings. |
vectorstores/opensearch
Package opensearch contains an implementation of the VectorStore interface that connects to Opensearch.
|
Package opensearch contains an implementation of the VectorStore interface that connects to Opensearch. |
Click to show internal directories.
Click to hide internal directories.