llms

module
v0.0.0-...-c7a7cc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: MIT

README

A LLM API abstraction layer, extracted from langchaingo. Supports OpenAI, Google Gemini, Anthropic Claude, Cohere, Baidu Ernie, HuggingFace, and Ollama.

Directories

Path Synopsis
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.
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.
ernie
Package ernie wrapper around the Baidu Large Language Model Platform APIs.
Package ernie wrapper around the Baidu Large Language Model Platform APIs.
googleai
package googleai implements a langchaingo provider for Google AI LLMs.
package googleai implements a langchaingo provider for Google AI LLMs.
googleai/internal/cmd
Code generator for vertex.go from googleai.go nolint
Code generator for vertex.go from googleai.go nolint
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.
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.
local/internal/localclient
Package localclient provides a client for local LLMs.
Package localclient provides a client for local LLMs.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL