Completion

org.llm4s.llmconnect.model.Completion
See theCompletion companion class
object Completion

Attributes

Companion
class
Source
Completion.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Completion.type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(id: String, created: Instant, content: String, model: String, message: AssistantMessage, toolCalls: List[ToolCall], usage: Option[TokenUsage], estimatedCost: Option[Double], citations: List[Citation], adjustments: List[RequestAdjustment]): Completion

Creates a Completion. Named arguments are the supported way to construct one.

Creates a Completion. Named arguments are the supported way to construct one.

Attributes

Source
Completion.scala
def apply(id: String, created: Instant, content: String, model: String, message: AssistantMessage, toolCalls: List[ToolCall], usage: Option[TokenUsage], estimatedCost: Option[Double], citations: List[Citation]): Completion

The apply before adjustments was added, with none. Kept for Java and Kotlin, which pass every argument because they do not see Scala's defaults.

The apply before adjustments was added, with none. Kept for Java and Kotlin, which pass every argument because they do not see Scala's defaults.

Attributes

Source
Completion.scala