Package-level declarations
Types
Multi-turn chat coordinator on top of an LlmBroker.
Configuration for LLM completion requests.
What the provider reported about how a streamed turn ended.
Event emitted by LlmBroker.generateStreamEvents for a single turn.
Vector embedding provider.
Low-level stream event emitted by com.mojentic.llm.gateway.LlmGateway.stream.
Base64-encoded image content. mimeType follows IANA naming, e.g. image/png, image/jpeg.
Coordinator above an LlmGateway that handles tool execution and provides a Kotlin-idiomatic chat surface.
Provider-agnostic LLM gateway.
A non-streaming response from an com.mojentic.llm.gateway.LlmGateway.
A message in an LLM conversation. Accumulates during a chat session.
A single tool-call request emitted by the LLM.
A typed content part of a message. LlmMessage carries either plain text via LlmMessage.content, or — when richer payloads are needed — a list of MessageContent parts via LlmMessage.contentParts.
Role of a message in an LLM conversation.
Reasoning effort hint for models that support extended thinking.
Output format requested from the provider through CompletionConfig.responseFormat.
Why a LlmBroker.generateStreamEvents turn failed.
Public stream event surfaced by com.mojentic.llm.Broker.LlmBroker.stream.
Optional gateway capability behind LlmBroker.generateStreamEvents.
Pluggable tokenizer for cost-aware context-window management.