Class: Braintrust::Models::AISecret
- Defined in:
- lib/braintrust/models/a_i_secret.rb
Instance Attribute Summary collapse
-
#created ⇒ DateTime
Date of AI secret creation.
-
#id ⇒ String
Unique identifier for the AI secret.
- #metadata ⇒ Hash
-
#name_ ⇒ String
Name of the AI secret.
-
#org_id ⇒ String
Unique identifier for the organization.
- #preview_secret ⇒ String
- #type ⇒ String
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
#created ⇒ DateTime
Date of AI secret creation
24 |
# File 'lib/braintrust/models/a_i_secret.rb', line 24 optional :created, DateTime |
#id ⇒ String
Unique identifier for the AI secret
9 |
# File 'lib/braintrust/models/a_i_secret.rb', line 9 required :id, String |
#metadata ⇒ Hash
28 |
# File 'lib/braintrust/models/a_i_secret.rb', line 28 optional :metadata, Hash |
#name_ ⇒ String
Name of the AI secret
14 |
# File 'lib/braintrust/models/a_i_secret.rb', line 14 required :name_, String |
#org_id ⇒ String
Unique identifier for the organization
19 |
# File 'lib/braintrust/models/a_i_secret.rb', line 19 required :org_id, String |
#preview_secret ⇒ String
32 |
# File 'lib/braintrust/models/a_i_secret.rb', line 32 optional :preview_secret, String |
#type ⇒ String
36 |
# File 'lib/braintrust/models/a_i_secret.rb', line 36 optional :type, String |