struct AIContextEntry
- AIContextEntry
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
models/endpoint.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(kind : String, name : String, source : String | Nil = nil, description : String | Nil = nil, path : String | Nil = nil, line : Int32 | Nil = nil, confidence : Int32 | Nil = nil, snippet : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #==(other : AIContextEntry) : Bool
- #confidence : Int32?
- #confidence=(confidence : Int32 | Nil)
- #description : String?
- #description=(description : Nil | String)
- #kind : String
- #kind=(kind : String)
- #line : Int32?
- #line=(line : Int32 | Nil)
- #name : String
- #name=(name : String)
- #path : String?
- #path=(path : Nil | String)
- #snippet : String?
- #snippet=(snippet : Nil | String)
- #source : String?
- #source=(source : Nil | String)
Constructor Detail
def self.new(kind : String, name : String, source : String | Nil = nil, description : String | Nil = nil, path : String | Nil = nil, line : Int32 | Nil = nil, confidence : Int32 | Nil = nil, snippet : String | Nil = nil)
#