Platforms to show: All Mac Windows Linux Cross-Platform
The plugin MBS Swift Plugin:
- class ImagePlaygroundMBS
- method AddExtractedConcept(text as String, Title as String = "")
- method AddConcept(text as String)
- method ClearConcepts
- method Constructor
- method Destructor
- method Present
- property Handle as Integer
- property ConceptCount as Integer
- property SourceImage as Picture
- property ImageFile as FolderItem
- shared method Available as Integer
- event CreatedImage(file as FolderItem)
- event Cancelled
- event Hidden
- class InstructionsMBS
- method Constructor(Value as String)
- property Handle as Integer
- property Value as Variant
- shared method InstructionsFromJSON(JSON as MemoryBlock) as InstructionsMBS
- shared method InstructionsString(Value as String) as InstructionsMBS
- shared method InstructionsOptional(Instructions as InstructionsMBS) as InstructionsMBS
- shared method InstructionsExpression(Instructions as InstructionsMBS) as InstructionsMBS
- shared method InstructionsBuildEitherFirst(Instructions as InstructionsMBS) as InstructionsMBS
- shared method InstructionsBuildEitherSecond(Instructions as InstructionsMBS) as InstructionsMBS
- shared method InstructionsBuildArray(Instructions() as InstructionsMBS) as InstructionsMBS
- class LanguageModelSessionsMBS
- method Constructor(Model as SystemLanguageModelsMBS = nil, Instructions as String)
- method Constructor(Model as SystemLanguageModelsMBS = nil, Transcript as TranscriptMBS)
- method Constructor(Model as SystemLanguageModelsMBS = nil, Instructions as InstructionsMBS)
- method prewarm(Prompt as PromptMBS = nil)
- method respond(prompt as String, theDelegate as ResponseCompletedMBS, tag as Variant = nil)
- method respond(prompt as PromptMBS, theDelegate as ResponseCompletedMBS, tag as Variant = nil)
- method respond(prompt as String) as String
- method respond(prompt as PromptMBS) as ResponseMBS
- method tokenCount(prompt as String, theDelegate as TokenCountCompletedMBS, tag as Variant = nil)
- method tokenCount(prompt as PromptMBS, theDelegate as TokenCountCompletedMBS, tag as Variant = nil)
- method tokenCount(prompt as String) as Integer
- method tokenCount(prompt as PromptMBS) as Integer
- method transcript as TranscriptMBS
- property Handle as Integer
- property isResponding as Boolean
- property SystemLanguageModel as SystemLanguageModelsMBS
- property Instructions as Variant
- property maximumResponseTokens as Integer
- property temperature as Double
- class PromptMBS
- method Constructor(Value as String)
- property Handle as Integer
- property Value as Variant
- shared method promptFromJSON(JSON as MemoryBlock) as PromptMBS
- shared method promptString(Value as String) as PromptMBS
- shared method promptOptional(prompt as PromptMBS) as PromptMBS
- shared method promptExpression(prompt as PromptMBS) as PromptMBS
- shared method promptBuildEitherFirst(prompt as PromptMBS) as PromptMBS
- shared method promptBuildEitherSecond(prompt as PromptMBS) as PromptMBS
- shared method promptBuildArray(prompts() as PromptMBS) as PromptMBS
- class ResponseMBS
- class SystemLanguageModelsMBS
- method supportsLocale(localeIdentifier as String) as Boolean
- method supportedLanguages as String()
- method Constructor
- method Constructor(UseCase as Integer, Guardrails as Integer)
- method tokenCount(prompt as String) as Integer
- method tokenCount(prompt as PromptMBS) as Integer
- property Handle as Integer
- property Available as Boolean
- property UnavailableReason as Integer
- property ContextSize as Integer
- shared method default as SystemLanguageModelsMBS
- shared method model(UseCase as Integer, Guardrails as Integer) as SystemLanguageModelsMBS
- class TranscriptMBS
- class TranslationRequestMBS
- class TranslationResponseMBS
- class TranslationSessionMBS
- method Constructor(fromLanguageIdentifier as String, toLanguageIdentifier as String = "")
- method prepareTranslation(completed as TranslationPrepareTranslationCompletedMBS, Tag as Variant = nil)
- method Cancel
- method isReady(completed as TranslationReadyCompletedMBS, Tag as Variant = nil)
- method isReady as Boolean
- method translateString(text as String, completed as TranslateStringCompletedMBS, Tag as Variant = nil)
- method translateString(text as String) as TranslationResponseMBS
- method translations(Requests() as TranslationRequestMBS, completed as TranslationsCompletedMBS, Tag as Variant = nil)
- method translations(Requests() as TranslationRequestMBS) as TranslationResponseMBS()
- method translateBatch(Requests() as TranslationRequestMBS, completedOne as TranslateStringCompletedMBS, completed as TranslationsCompletedMBS, Tag as Variant = nil)
- property sourceLanguage as String
- property targetLanguage as String
- property canRequestDownloads as Boolean
- shared method SupportedLanguages(completed as SupportedLanguagesCompletedMBS, Tag as Variant = nil)
- shared method SupportedLanguages as String()
- shared method Status(FromLanguageIdentifier as String, ToLanguageIdentifier as String = "", completed as TranslationStatusCompletedMBS, Tag as Variant = nil)
- shared method Status(FromLanguageIdentifier as String, ToLanguageIdentifier as String = "") as String
- shared method StatusForText(SourceText as String, ToLanguageIdentifier as String = "", completed as TranslationStatusCompletedMBS, Tag as Variant = nil)
- shared method StatusForText(SourceText as String, ToLanguageIdentifier as String = "") as String
- shared property Available as Boolean
- module FoundationModelsMBS
- module StoreKit2MBS
- method requestAgeRange(Age1 as integer, Age2 as Integer, Age3 as Integer, completed as RequestAgeRangeCompletedMBS)
- method ShowManageSubscriptions
- method ShowManageSubscriptions(GroupID as String)
- method beginRefundRequest(TransactionID as UInt64, completed as BeginRefundRequestCompletedMBS)
- method SetUpdates(update as TransactionsCompletedMBS)
- method ClearUpdates
- method Transaction as Dictionary
- method Sync(completed as SyncCompletedMBS = nil)
- method Product(Index as Integer) as Dictionary
- method CanMakePayments as Boolean
- method RequestReview
- method presentOfferCodeRedeemSheet
- method QueryProducts(identifiers() as String, completed as QueryProductsCompletedMBS = nil)
- method FinishTransaction(completed as FinishCompletedMBS = nil)
- method AllTransactions(completed as TransactionsCompletedMBS)
- method CurrentEntitlements(completed as TransactionsCompletedMBS)
- method currentEntitlement(ProductIdentifier as String, completed as TransactionsCompletedMBS)
- method latestTransaction(ProductIdentifier as String, completed as TransactionsCompletedMBS)
- method sharedAppTransaction(completed as TransactionsCompletedMBS)
- method refreshAppTransaction(completed as TransactionsCompletedMBS)
- method AllTransactions(ProductID as String, completed as TransactionsCompletedMBS)
- method CurrentEntitlements(ProductID as String, completed as TransactionsCompletedMBS)
- method PurchaseProduct(ProductIdentifier as String, PurchaseOptions as Dictionary, completed as PurchaseProductCompletedMBS = nil)
- method PurchaseProduct(ProductIdentifier as String, parentWindow as Window, PurchaseOptions as Dictionary, completed as PurchaseProductCompletedMBS = nil)
- method PurchaseProduct(ProductIdentifier as String, parentWindow as DesktopWindow, PurchaseOptions as Dictionary, completed as PurchaseProductCompletedMBS = nil)