Package smile.llm
package smile.llm
Large language models.
-
ClassDescriptionAudio content referencing an HTTP(S) or
data:URL.Chat completion.Per-request chat options for tool calling.One piece of multimodal chat content (OpenAI-style).The reasons that the chat completions finish.Function invocation payload inside aToolCall.OpenAI-style function definition inside aToolDefinition.Callback for autoregressive generation progress on a single request.Helpers for composing and adaptingGenerationListeners.Image content referencing an HTTP(S) ordata:URL.Common façade for chat-capable decoder LLMs (Llama, Qwen, …).Dialog message with OpenAI-style multimodal content parts and optional tool fields.The role of message speaker in a dialog.Plain-text content part.OpenAI-compatible tool call emitted by the assistant.OpenAItool_choicesemantics.Model may call tools or answer normally.Force a specific function by name.Do not inject tools; disable tool-call parsing.Model should call at least one tool.OpenAI-compatible tool definition (type: "function").Video content referencing an HTTP(S) or file URL.