llm/

directory
v0.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT

Directories

Path Synopsis
Package embedding defines common types for embedding operations.
Package embedding defines common types for embedding operations.
Package generation defines optional sampling, output, and thinking budget parameters for LLM requests.
Package generation defines optional sampling, output, and thinking budget parameters for LLM requests.
Package message defines the Message type and Messages collection for LLM conversations, including filtering, compaction, export, and rendering.
Package message defines the Message type and Messages collection for LLM conversations, including filtering, compaction, export, and rendering.
Package model defines model metadata and collections.
Package model defines model metadata and collections.
Package part defines message part types for content, thinking, and tool calls.
Package part defines message part types for content, thinking, and tool calls.
Package request defines the common chat request structure.
Package request defines the common chat request structure.
Package rerank defines the common reranking request and response structures.
Package rerank defines the common reranking request and response structures.
Package responseformat defines structured output constraints for LLM responses.
Package responseformat defines structured output constraints for LLM responses.
Package roles defines conversation message roles.
Package roles defines conversation message roles.
Package stream provides streaming output for chat completions.
Package stream provides streaming output for chat completions.
Package synthesize defines common types for text-to-speech operations.
Package synthesize defines common types for text-to-speech operations.
Package thinking defines thinking levels, values, and management strategies for LLM reasoning.
Package thinking defines thinking levels, values, and management strategies for LLM reasoning.
Package tool defines the tool interface and collection operations.
Package tool defines the tool interface and collection operations.
call
Package call defines the tool call type used in LLM messages.
Package call defines the tool call type used in LLM messages.
Package transcribe defines common types for speech-to-text operations.
Package transcribe defines common types for speech-to-text operations.
Package usage defines token usage tracking.
Package usage defines token usage tracking.

Jump to

Keyboard shortcuts

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