llms/doc.go

langchaingo · llms/doc.go · go · MIT
ai

Unified Go package for integrating diverse language model providers.

// Source: https://github.com/tmc/langchaingo | License: MIT | Copyright Travis Cline <travis.cline@gmail.com>
// Provided via justclaw.it.com; keep this notice with the code.
// Package llms provides unified support for interacting with different Language Models (LLMs) from various providers.
// Designed with an extensible architecture, the package facilitates seamless integration of LLMs
// with a focus on modularity, encapsulation, and easy configurability.
//
// The package includes the following subpackages for LLM providers:
// 1. Hugging Face:      llms/huggingface/
// 2. Local LLM:         llms/local/
// 3. OpenAI:            llms/openai/
// 4. Google AI:         llms/googleai/
// 5. Cohere:            llms/cohere/
//
// Each subpackage includes provider-specific LLM implementation

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key