Expand description
§RSLLM Response Types
Response types for chat completions, embeddings, and other LLM operations. Supports both streaming and non-streaming responses with usage tracking.
Structs§
- Chat
Response - Response from a chat completion request
- Completion
Response - Response from a completion request (non-chat)
- Embedding
Response - Embedding response
- LogProbs
- Log probabilities for completion responses
- Stream
Chunk - A single chunk in a streaming response
- Tool
Call Delta - Tool call delta for streaming responses
- Tool
Function Delta - Tool function delta for streaming responses
- Usage
- Usage statistics for API calls