pkg/

directory
v0.19.156 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0

Directories

Path Synopsis
Package llmfactory constructs provider models from configuration, resolves assistant→model preferences (with optional per‑org overrides), and supports capability filtering and per‑org model restrictions.
Package llmfactory constructs provider models from configuration, resolves assistant→model preferences (with optional per‑org overrides), and supports capability filtering and per‑org model restrictions.
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.
anthropic
Package anthropic implements the Anthropic (Claude) llms.Model with options for API key, model selection, and custom HTTP client or AWS config when used via Bedrock (see NewBedrock in this package).
Package anthropic implements the Anthropic (Claude) llms.Model with options for API key, model selection, and custom HTTP client or AWS config when used via Bedrock (see NewBedrock in this package).
bedrock
Package bedrock implements an llms.Model backed by AWS Bedrock.
Package bedrock implements an llms.Model backed by AWS Bedrock.
cloudflare
Package cloudflare implements an llms.Model for Cloudflare AI Gateway and compatible APIs.
Package cloudflare implements an llms.Model for Cloudflare AI Gateway and compatible APIs.
googleai
Package googleai implements Google AI (Vertex/Gemini) llms.Model wrappers.
Package googleai implements Google AI (Vertex/Gemini) llms.Model wrappers.
googleai/internal/cmd command
Code generator for vertex.go from googleai.go nolint
Code generator for vertex.go from googleai.go nolint
openai
Package openai provides an llms.Model implementation for OpenAI-compatible APIs, including OpenAI and Azure OpenAI endpoints.
Package openai provides an llms.Model implementation for OpenAI-compatible APIs, including OpenAI and Azure OpenAI endpoints.
Package llmutils provides utilities for formatting prompts, cleaning model outputs, rendering data as JSON/YAML/markdown, and inspecting chat messages.
Package llmutils provides utilities for formatting prompts, cleaning model outputs, rendering data as JSON/YAML/markdown, and inspecting chat messages.
Package prompts contains prompt templates and utilities for working with LLMs.
Package prompts contains prompt templates and utilities for working with LLMs.
internal/fstring
Package fstring contains template format with f-string.
Package fstring contains template format with f-string.
Package schema provides helpers to generate JSON Schemas from Go types and shape those schemas for LLM prompting.
Package schema provides helpers to generate JSON Schemas from Go types and shape those schemas for LLM prompting.

Jump to

Keyboard shortcuts

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