12 declarations · 70 ms
class TokenGeneration.TokenGeneratorextension GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamableextension TokenGeneration.TokenGenerator: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamablelet model: any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable<Self.CompletionLanguageModelProvidingStreamable.CompletionStringStreamParameters == A>with<A, B where A: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable, A.CompletionStringStreamParameters == B?>(model: A, modelType: A.Type) -> GenerativeFunctions.CompletionPromptRunConfig.TypedStreamable<A>with<A>(model: any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable<Self.CompletionStringStreamParameters == A?>, modelType: (any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable<Self.CompletionStringStreamParameters == A?>).Type) -> GenerativeFunctions.CompletionPromptRunConfig.UntypedStreamable<A?>with<A where A: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable>(model: A, completionParameters: A.CompletionStringStreamParameters, modelType: A.Type) -> GenerativeFunctions.CompletionPromptRunConfig.TypedStreamable<A>with<A>(model: any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable<Self.CompletionStringStreamParameters == A>, completionParameters: A, modelType: (any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable<Self.CompletionStringStreamParameters == A>).Type) -> GenerativeFunctions.CompletionPromptRunConfig.UntypedStreamable<A>withModel<A, B where A: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable, A.CompletionStringStreamParameters == B?>(modelType: A.Type, model: () throws -> A) throws -> GenerativeFunctions.CompletionPromptRunConfig.TypedStreamable<A>withModel<A>(modelType: (any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable<Self.CompletionStringStreamParameters == A?>).Type, model: () throws -> any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable<Self.CompletionStringStreamParameters == A?>) throws -> GenerativeFunctions.CompletionPromptRunConfig.UntypedStreamable<A?>withModel<A where A: GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable>(modelType: A.Type, model: () throws -> A, completionParameters: () throws -> A.CompletionStringStreamParameters) throws -> GenerativeFunctions.CompletionPromptRunConfig.TypedStreamable<A>withModel<A>(modelType: (any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable<Self.CompletionStringStreamParameters == A>).Type, model: () throws -> any GenerativeFunctionsFoundation.CompletionLanguageModelProvidingStreamable<Self.CompletionStringStreamParameters == A>, completionParameters: () throws -> A) throws -> GenerativeFunctions.CompletionPromptRunConfig.UntypedStreamable<A>