NagaModel class

Available extensions
Annotations
  • @artifact

Constructors

NagaModel.new({required String id, int context_length = 200000, required NagaArchitecture architecture, List<String> supported_parameters = const [], NagaPricing pricing = const NagaPricing()})
const

Properties

architecture NagaArchitecture
final
context_length int
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
pricing NagaPricing
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supported_parameters List<String>
final
toChatModel ChatModel
no setter

Methods

copyWith({_3? id, _5? context_length, _w resetContext_length = _F, _5? deltaContext_length, _q? architecture, _2? supported_parameters, _w resetSupported_parameters = _F, _2? appendSupported_parameters, _2? removeSupported_parameters, _r? pricing, _w resetPricing = _F}) → _p

Available on _p, provided by the $NagaModel extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool pretty = _F}) → _3

Available on _p, provided by the $NagaModel extension

toMap() → _1

Available on _p, provided by the $NagaModel extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited