SwiftstructPrivateMLClient
Promptkit_Wireformat_PromptRequestV1PromptVariant
struct PrivateMLClient.Promptkit_Wireformat_PromptRequestV1PromptVariant
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolInternalSwiftProtobuf.Message
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 9
- var
static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } - var
static var protoMessageName: String { get } - field
var unknownFields: InternalSwiftProtobuf.UnknownStorage - field
var variant: PrivateMLClient.Promptkit_Wireformat_PromptRequestV1PromptVariant.OneOf_Variant? - func
decodeMessage<A where A: InternalSwiftProtobuf.Decoder>(decoder: inout A) throws -> () - func
traverse<A where A: InternalSwiftProtobuf.Visitor>(visitor: inout A) throws -> () - init
init() -> PrivateMLClient.Promptkit_Wireformat_PromptRequestV1PromptVariant - var
var chat: PrivateMLClient.Promptkit_Wireformat_VersionedChatPrompt { get set } - var
var completion: PrivateMLClient.Promptkit_Wireformat_VersionedCompletionPrompt { get set }
Header
struct Promptkit_Wireformat_PromptRequestV1PromptVariant { enum OneOf_Variant { case completion(PrivateMLClient.Promptkit_Wireformat_VersionedCompletionPrompt) case chat(PrivateMLClient.Promptkit_Wireformat_VersionedChatPrompt) } var variant: PrivateMLClient.Promptkit_Wireformat_PromptRequestV1PromptVariant.OneOf_Variant? var unknownFields: InternalSwiftProtobuf.UnknownStorage init() var chat: PrivateMLClient.Promptkit_Wireformat_VersionedChatPrompt { get set } var completion: PrivateMLClient.Promptkit_Wireformat_VersionedCompletionPrompt { get set } func decodeMessage<A>(decoder: inout A) throws where A: InternalSwiftProtobuf.Decoder func traverse<A>(visitor: inout A) throws where A: InternalSwiftProtobuf.Visitor static var _protobuf_nameMap: InternalSwiftProtobuf._NameMap { get } static var protoMessageName: Swift.String { get } }