SwiftextensionGenerativeFunctions
GenerativeConfigurationRunnable
extension GenerativeFunctions.GenerativeConfigurationRunnable
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
Members 41
- func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt>.run(returning: B.CompletionStringResponse.Type) async throws -> B.CompletionStringResponse - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt>.run(returning: String.Type) async throws -> String - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctions.GenerativeResultDecodable>(returning: A1.Type) async throws -> A1 - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B == GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt>.run(returning: (any GenerativeFunctionsFoundation.CompletionLanguageModelResponse<Self.Content == String>).Type) async throws -> any GenerativeFunctionsFoundation.CompletionLanguageModelResponse<Self.Content == String> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B == GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt>.run(returning: String.Type) async throws -> String - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShot, C.PromptType == PromptKit.CompletionPrompt>.run(returning: B.CompletionStringResponseOneShot.Type) async throws -> B.CompletionStringResponseOneShot - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B == GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShot, C.PromptType == PromptKit.CompletionPrompt>.run(returning: GenerativeFunctionsFoundation.CompletionLanguageModelResponseBase.Protocol) async throws -> GenerativeFunctionsFoundation.CompletionLanguageModelResponseBase - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(type: A1.Type, returning: GenerativeFunctionsFoundation.CompletionResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.CompletionResponse<A1> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(type: A1.Type, returning: A1.Type) async throws -> A1 - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B == GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(type: A1.Type, returning: A1.Type) async throws -> A1 - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B == GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(returning: GenerativeFunctionsFoundation.CompletionResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.CompletionResponse<A1> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable, C.PromptType == PromptKit.CompletionPrompt>.run(returning: B.CompletionStringStreamResponse.Type) async throws -> B.CompletionStringStreamResponse - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable, C.PromptType == PromptKit.CompletionPrompt>.run(returning: B.CompletionStringStreamResponse.Stream.Type) async throws -> B.CompletionStringStreamResponse.Stream - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B == GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable, C.PromptType == PromptKit.CompletionPrompt>.run(returning: GenerativeFunctionsFoundation.CompletionLanguageModelResponseStringStream.Protocol) async throws -> GenerativeFunctionsFoundation.CompletionLanguageModelResponseStringStream - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(type: A1.Type, returning: GenerativeFunctions.CompletionOneShotGenerableResponseOutput<A1, B>.Type) async throws -> GenerativeFunctions.CompletionOneShotGenerableResponseOutput<A1, B> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(type: A1.Type, returning: GenerativeFunctionsFoundation.CompletionResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.CompletionResponse<A1> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(type: A1.Type, returning: A1.Type) async throws -> A1 - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.GenerableStreaming>(type: A1.Type, returning: GenerativeFunctionsFoundation.GenerativeStream<A1>.Type) async throws -> GenerativeFunctionsFoundation.GenerativeStream<A1> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.GenerableStreaming>(type: A1.Type, returning: GenerativeFunctionsFoundation.CompletionResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.CompletionResponse<GenerativeFunctionsFoundation.GenerativeStream<A1>> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.CompletionPrompt>.run<A where A1: GenerativeFunctionsFoundation.GenerableStreaming>(type: A1.Type, returning: A1.Type) async throws -> A1 - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt>.run(returning: B.ChatStringResponse.Type) async throws -> B.ChatStringResponse - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt>.run(returning: String.Type) async throws -> String - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctions.GenerativeResultDecodable>(returning: A1.Type) async throws -> A1 - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B == GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt>.run(returning: (any GenerativeFunctionsFoundation.ChatLanguageModelResponse<Self.Content == String>).Type) async throws -> any GenerativeFunctionsFoundation.ChatLanguageModelResponse<Self.Content == String> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B == GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt>.run(returning: String.Type) async throws -> String - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShot, C.PromptType == PromptKit.ChatMessagesPrompt>.run(returning: B.ChatStringResponseOneShot.Type) async throws -> B.ChatStringResponseOneShot - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B == GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShot, C.PromptType == PromptKit.ChatMessagesPrompt>.run(returning: GenerativeFunctionsFoundation.ChatLanguageModelResponseBase.Protocol) async throws -> GenerativeFunctionsFoundation.ChatLanguageModelResponseBase - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(type: A1.Type, returning: A1.Type) async throws -> A1 - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(returning: GenerativeFunctionsFoundation.ChatMessageResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.ChatMessageResponse<A1> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B == GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(type: A1.Type, returning: A1.Type) async throws -> A1 - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B == GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(returning: GenerativeFunctionsFoundation.ChatMessageResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.ChatMessageResponse<A1> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable, C.PromptType == PromptKit.ChatMessagesPrompt>.run(returning: B.ChatStringStreamResponse.Type) async throws -> B.ChatStringStreamResponse - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable, C.PromptType == PromptKit.ChatMessagesPrompt>.run(returning: B.ChatStringStreamResponse.Stream.Type) async throws -> B.ChatStringStreamResponse.Stream - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B == GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable, C.PromptType == PromptKit.ChatMessagesPrompt>.run(returning: GenerativeFunctionsFoundation.ChatLanguageModelResponseStringStream.Protocol) async throws -> GenerativeFunctionsFoundation.ChatLanguageModelResponseStringStream - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(type: A1.Type, returning: A1.Type) async throws -> A1 - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(returning: GenerativeFunctions.ChatOneShotGenerableResponseOutput<A1, B>.Type) async throws -> GenerativeFunctions.ChatOneShotGenerableResponseOutput<A1, B> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.Generable>(returning: GenerativeFunctionsFoundation.ChatMessageResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.ChatMessageResponse<A1> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.GenerableStreaming>(type: A1.Type, returning: GenerativeFunctionsFoundation.GenerativeStream<A1>.Type) async throws -> GenerativeFunctionsFoundation.GenerativeStream<A1> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.GenerableStreaming>(type: A1.Type, returning: GenerativeFunctionsFoundation.ChatMessageResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.ChatMessageResponse<GenerativeFunctionsFoundation.GenerativeStream<A1>> - func
GenerativeFunctions.GenerativeConfigurationRunnable< where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.ChatMessagesPrompt>.run<A where A1: GenerativeFunctionsFoundation.GenerableStreaming>(type: A1.Type, returning: A1.Type) async throws -> A1 - var
var prompt: A { get }
Header
extension GenerativeFunctions.GenerativeConfigurationRunnable { func run(returning: B.CompletionStringResponse.Type) async throws -> B.CompletionStringResponse where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt func run(returning: Swift.String.Type) async throws -> Swift.String where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt func run<A1>(returning: A1.Type) async throws -> A1 where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt func run(returning: (any GenerativeFunctionsFoundation.CompletionLanguageModelResponse<Swift.String>).Type) async throws -> any GenerativeFunctionsFoundation.CompletionLanguageModelResponse<Swift.String> where A == PromptKit.CompletionPrompt, B == any GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt func run(returning: Swift.String.Type) async throws -> Swift.String where A == PromptKit.CompletionPrompt, B == any GenerativeFunctionsFoundation.CompletionLanguageModelProviding, C.PromptType == PromptKit.CompletionPrompt func run(returning: B.CompletionStringResponseOneShot.Type) async throws -> B.CompletionStringResponseOneShot where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShot, C.PromptType == PromptKit.CompletionPrompt func run(returning: (any GenerativeFunctionsFoundation.CompletionLanguageModelResponseBase).Type) async throws -> any GenerativeFunctionsFoundation.CompletionLanguageModelResponseBase where A == PromptKit.CompletionPrompt, B == any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShot, C.PromptType == PromptKit.CompletionPrompt func run<A1>(type: A1.Type, returning: GenerativeFunctionsFoundation.CompletionResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.CompletionResponse<A1> where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerable, C.PromptType == PromptKit.CompletionPrompt func run<A1>(type: A1.Type, returning: A1.Type) async throws -> A1 where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerable, C.PromptType == PromptKit.CompletionPrompt func run<A1>(type: A1.Type, returning: A1.Type) async throws -> A1 where A == PromptKit.CompletionPrompt, B == any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerable, C.PromptType == PromptKit.CompletionPrompt func run<A1>(returning: GenerativeFunctionsFoundation.CompletionResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.CompletionResponse<A1> where A == PromptKit.CompletionPrompt, B == any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerable, C.PromptType == PromptKit.CompletionPrompt func run(returning: B.CompletionStringStreamResponse.Type) async throws -> B.CompletionStringStreamResponse where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable, C.PromptType == PromptKit.CompletionPrompt func run(returning: B.CompletionStringStreamResponse.Stream.Type) async throws -> B.CompletionStringStreamResponse.Stream where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable, C.PromptType == PromptKit.CompletionPrompt func run(returning: (any GenerativeFunctionsFoundation.CompletionLanguageModelResponseStringStream).Type) async throws -> any GenerativeFunctionsFoundation.CompletionLanguageModelResponseStringStream where A == PromptKit.CompletionPrompt, B == any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable, C.PromptType == PromptKit.CompletionPrompt func run<A1>(type: A1.Type, returning: GenerativeFunctions.CompletionOneShotGenerableResponseOutput<A1, B>.Type) async throws -> GenerativeFunctions.CompletionOneShotGenerableResponseOutput<A1, B> where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.CompletionPrompt func run<A1>(type: A1.Type, returning: GenerativeFunctionsFoundation.CompletionResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.CompletionResponse<A1> where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.CompletionPrompt func run<A1>(type: A1.Type, returning: A1.Type) async throws -> A1 where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.CompletionPrompt func run<A1>(type: A1.Type, returning: GenerativeFunctionsFoundation.GenerativeStream<A1>.Type) async throws -> GenerativeFunctionsFoundation.GenerativeStream<A1> where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.CompletionPrompt func run<A1>(type: A1.Type, returning: GenerativeFunctionsFoundation.CompletionResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.CompletionResponse<GenerativeFunctionsFoundation.GenerativeStream<A1>> where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.CompletionPrompt func run<A1>(type: A1.Type, returning: A1.Type) async throws -> A1 where A == PromptKit.CompletionPrompt, B: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.CompletionPrompt func run(returning: B.ChatStringResponse.Type) async throws -> B.ChatStringResponse where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt func run(returning: Swift.String.Type) async throws -> Swift.String where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(returning: A1.Type) async throws -> A1 where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt func run(returning: (any GenerativeFunctionsFoundation.ChatLanguageModelResponse<Swift.String>).Type) async throws -> any GenerativeFunctionsFoundation.ChatLanguageModelResponse<Swift.String> where A == PromptKit.ChatMessagesPrompt, B == any GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt func run(returning: Swift.String.Type) async throws -> Swift.String where A == PromptKit.ChatMessagesPrompt, B == any GenerativeFunctionsFoundation.ChatLanguageModelProviding, C.PromptType == PromptKit.ChatMessagesPrompt func run(returning: B.ChatStringResponseOneShot.Type) async throws -> B.ChatStringResponseOneShot where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShot, C.PromptType == PromptKit.ChatMessagesPrompt func run(returning: (any GenerativeFunctionsFoundation.ChatLanguageModelResponseBase).Type) async throws -> any GenerativeFunctionsFoundation.ChatLanguageModelResponseBase where A == PromptKit.ChatMessagesPrompt, B == any GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShot, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(type: A1.Type, returning: A1.Type) async throws -> A1 where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerable, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(returning: GenerativeFunctionsFoundation.ChatMessageResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.ChatMessageResponse<A1> where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerable, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(type: A1.Type, returning: A1.Type) async throws -> A1 where A == PromptKit.ChatMessagesPrompt, B == any GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerable, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(returning: GenerativeFunctionsFoundation.ChatMessageResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.ChatMessageResponse<A1> where A == PromptKit.ChatMessagesPrompt, B == any GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerable, C.PromptType == PromptKit.ChatMessagesPrompt func run(returning: B.ChatStringStreamResponse.Type) async throws -> B.ChatStringStreamResponse where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable, C.PromptType == PromptKit.ChatMessagesPrompt func run(returning: B.ChatStringStreamResponse.Stream.Type) async throws -> B.ChatStringStreamResponse.Stream where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable, C.PromptType == PromptKit.ChatMessagesPrompt func run(returning: (any GenerativeFunctionsFoundation.ChatLanguageModelResponseStringStream).Type) async throws -> any GenerativeFunctionsFoundation.ChatLanguageModelResponseStringStream where A == PromptKit.ChatMessagesPrompt, B == any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(type: A1.Type, returning: A1.Type) async throws -> A1 where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(returning: GenerativeFunctions.ChatOneShotGenerableResponseOutput<A1, B>.Type) async throws -> GenerativeFunctions.ChatOneShotGenerableResponseOutput<A1, B> where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(returning: GenerativeFunctionsFoundation.ChatMessageResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.ChatMessageResponse<A1> where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingOneShotGenerable, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(type: A1.Type, returning: GenerativeFunctionsFoundation.GenerativeStream<A1>.Type) async throws -> GenerativeFunctionsFoundation.GenerativeStream<A1> where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(type: A1.Type, returning: GenerativeFunctionsFoundation.ChatMessageResponse<A1>.Type) async throws -> GenerativeFunctionsFoundation.ChatMessageResponse<GenerativeFunctionsFoundation.GenerativeStream<A1>> where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.ChatMessagesPrompt func run<A1>(type: A1.Type, returning: A1.Type) async throws -> A1 where A == PromptKit.ChatMessagesPrompt, B: GenerativeFunctionsFoundation.ChatLanguageModelProvidingGenerativeStreamable, C.PromptType == PromptKit.ChatMessagesPrompt }