Class: Raif::ModelManifest::Dsl::ModelDeclaration

Inherits:
Struct
  • Object
show all
Defined in:
lib/raif/model_manifest/dsl.rb

Overview

capabilities and endpoints are mutually exclusive: a model declares capabilities for a single entry, or endpoints for one entry per endpoint (see ProviderBuilder#model).

Instance Attribute Summary collapse

Instance Attribute Details

#api_nameObject

Returns the value of attribute api_name

Returns:

  • (Object)

    the current value of api_name



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def api_name
  @api_name
end

#capabilitiesObject

Returns the value of attribute capabilities

Returns:

  • (Object)

    the current value of capabilities



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def capabilities
  @capabilities
end

#display_nameObject

Returns the value of attribute display_name

Returns:

  • (Object)

    the current value of display_name



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def display_name
  @display_name
end

#endpointsObject

Returns the value of attribute endpoints

Returns:

  • (Object)

    the current value of endpoints



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def endpoints
  @endpoints
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def key
  @key
end

#key_baseObject

Returns the value of attribute key_base

Returns:

  • (Object)

    the current value of key_base



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def key_base
  @key_base
end

#lifecycleObject

Returns the value of attribute lifecycle

Returns:

  • (Object)

    the current value of lifecycle



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def lifecycle
  @lifecycle
end

#max_completion_tokensObject

Returns the value of attribute max_completion_tokens

Returns:

  • (Object)

    the current value of max_completion_tokens



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def max_completion_tokens
  @max_completion_tokens
end

#pricingObject

Returns the value of attribute pricing

Returns:

  • (Object)

    the current value of pricing



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def pricing
  @pricing
end

#source_pathObject

Returns the value of attribute source_path

Returns:

  • (Object)

    the current value of source_path



29
30
31
# File 'lib/raif/model_manifest/dsl.rb', line 29

def source_path
  @source_path
end