SwiftextensionGenerativeFunctions

extension GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 3

  1. funcstreamCompletion<A where A.CompletionStringStreamParameters == A1?>(of: () throws -> PromptKit.Prompt) async throws -> A.CompletionStringStreamResponse
  2. funcstreamCompletion<A where A.CompletionStringStreamParameters == A1?>(of: PromptKit.CompletionPrompt) async throws -> A.CompletionStringStreamResponse
  3. funcstreamCompletion(of: () throws -> PromptKit.Prompt, parameters: () throws -> A.CompletionStringStreamParameters) async throws -> A.CompletionStringStreamResponse
extension GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable {
    func streamCompletion<A1>(of: () throws -> PromptKit.Prompt) async throws -> Self.CompletionStringStreamResponse where Self.CompletionStringStreamParameters == A1?
    func streamCompletion<A1>(of: PromptKit.CompletionPrompt) async throws -> Self.CompletionStringStreamResponse where Self.CompletionStringStreamParameters == A1?
    func streamCompletion(of: () throws -> PromptKit.Prompt, parameters: () throws -> Self.CompletionStringStreamParameters) async throws -> Self.CompletionStringStreamResponse
}