Method: Boxcars::Cohere#modelname_to_contextsize

Defined in:
lib/boxcars/engine/cohere.rb

#modelname_to_contextsize(_modelname) ⇒ Object

lookup the context size for a model by name

Parameters:

  • modelname (String)

    The name of the model to lookup.



130
131
132
# File 'lib/boxcars/engine/cohere.rb', line 130

def modelname_to_contextsize(_modelname)
  100000
end