Class: Braintrust::Models::AISecret

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/a_i_secret.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #initialize, #inspect, #to_h, #to_s

Constructor Details

This class inherits a constructor from Braintrust::BaseModel

Instance Attribute Details

#createdDateTime

Date of AI secret creation

Returns:

  • (DateTime)


24
# File 'lib/braintrust/models/a_i_secret.rb', line 24

optional :created, DateTime

#idString

Unique identifier for the AI secret

Returns:

  • (String)


9
# File 'lib/braintrust/models/a_i_secret.rb', line 9

required :id, String

#metadataHash

Returns:

  • (Hash)


28
# File 'lib/braintrust/models/a_i_secret.rb', line 28

optional :metadata, Hash

#name_String

Name of the AI secret

Returns:

  • (String)


14
# File 'lib/braintrust/models/a_i_secret.rb', line 14

required :name_, String

#org_idString

Unique identifier for the organization

Returns:

  • (String)


19
# File 'lib/braintrust/models/a_i_secret.rb', line 19

required :org_id, String

#preview_secretString

Returns:

  • (String)


32
# File 'lib/braintrust/models/a_i_secret.rb', line 32

optional :preview_secret, String

#typeString

Returns:

  • (String)


36
# File 'lib/braintrust/models/a_i_secret.rb', line 36

optional :type, String