Class: Xberg::LlmProviderConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLlmProviderConfig

Returns a new instance of LlmProviderConfig.

Parameters:

  • name: (String)
  • base_url: (String)
  • auth_header: (String)
  • model_prefixes: (Array[String])


1534
# File 'sig/types.rbs', line 1534

def initialize: (?name: String, ?base_url: String, ?auth_header: String, ?model_prefixes: Array[String]) -> void

Instance Attribute Details

#auth_headerString? (readonly)

Returns the value of attribute auth_header.

Returns:

  • (String, nil)


1531
1532
1533
# File 'sig/types.rbs', line 1531

def auth_header
  @auth_header
end

#base_urlString (readonly)

Returns the value of attribute base_url.

Returns:

  • (String)


1530
1531
1532
# File 'sig/types.rbs', line 1530

def base_url
  @base_url
end

#model_prefixesArray[String] (readonly)

Returns the value of attribute model_prefixes.

Returns:

  • (Array[String])


1532
1533
1534
# File 'sig/types.rbs', line 1532

def model_prefixes
  @model_prefixes
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1529
1530
1531
# File 'sig/types.rbs', line 1529

def name
  @name
end