EmbeddingError

org.llm4s.llmconnect.model.EmbeddingError
See theEmbeddingError companion object
@Stable
final case class EmbeddingError extends LLMError

EmbeddingError represents a structured error returned from an embedding provider (e.g., OpenAI or VoyageAI) or local encoders/extractors.

Value parameters

code

Optional error code, typically an HTTP status (e.g., "401", "400").

message

Human-readable error message from the provider or client.

provider

Source component ("openai", "voyage", "encoder", "extractor", etc.)

Attributes

Companion
object
Graph
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def correlationId: Option[String]

Error correlation IDs for debugging

Error correlation IDs for debugging

Attributes

Inherited from:
LLMError
def formatted: String

Formatted error message with context

Formatted error message with context

Attributes

Inherited from:
LLMError
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val context: Map[String, String]

Additional context information

Additional context information

Attributes