ContentPartCase
One content part a chat client may or may not send, in the role it is sent in. A provider module's spec names the cases its client supports to ProviderModuleChecks.assertContentParts, which checks that each of those reaches the server and that every other case is refused with an org.llm4s.error.UnsupportedContentPartError before anything is sent.
Attributes
- Source
- ContentPartContract.scala
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Enum entries
An image, inline, in a tool result.
A PDF, inline, in a tool result.
An image uploaded to the client's own provider, in a user message.
An image uploaded to the client's own provider, in a user message.
Attributes
- Source
- ContentPartContract.scala
An image, inline, in a user message.
An image, by URL, in a user message.
A PDF uploaded to the client's own provider, in a user message.
A PDF uploaded to the client's own provider, in a user message.
Attributes
- Source
- ContentPartContract.scala
A PDF, inline, in a user message.
A PDF, by URL, in a user message.
A plain-text document, inline, in a user message.
