12 declarations · 351 ms
class TokenGeneration.TokenGeneratorextension GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamableextension TokenGeneration.TokenGenerator: GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamablelet model: any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable<Self.ChatLanguageModelProvidingStreamable.ChatStringStreamParameters == A>with<A, B where A: GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable, A.ChatStringStreamParameters == B?>(model: A, modelType: A.Type) -> GenerativeFunctions.ChatMessagesPromptRunConfig.TypedStreamable<A>with<A>(model: any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable<Self.ChatStringStreamParameters == A>, chatParameters: A, modelType: (any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable<Self.ChatStringStreamParameters == A>).Type) -> GenerativeFunctions.ChatMessagesPromptRunConfig.UntypedStreamable<A>with<A where A: GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable>(model: A, chatParameters: A.ChatStringStreamParameters, modelType: A.Type) -> GenerativeFunctions.ChatMessagesPromptRunConfig.TypedStreamable<A>with<A>(model: any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable<Self.ChatStringStreamParameters == A?>, modelType: (any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable<Self.ChatStringStreamParameters == A?>).Type) -> GenerativeFunctions.ChatMessagesPromptRunConfig.UntypedStreamable<A?>withModel<A, B where A: GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable, A.ChatStringStreamParameters == B?>(modelType: A.Type, model: () throws -> A) throws -> GenerativeFunctions.ChatMessagesPromptRunConfig.TypedStreamable<A>withModel<A where A: GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable>(modelType: A.Type, model: () throws -> A, chatParameters: () throws -> A.ChatStringStreamParameters) throws -> GenerativeFunctions.ChatMessagesPromptRunConfig.TypedStreamable<A>withModel<A>(modelType: (any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable<Self.ChatStringStreamParameters == A?>).Type, model: () throws -> any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable<Self.ChatStringStreamParameters == A?>) throws -> GenerativeFunctions.ChatMessagesPromptRunConfig.UntypedStreamable<A?>withModel<A>(modelType: (any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable<Self.ChatStringStreamParameters == A>).Type, model: () throws -> any GenerativeFunctionsFoundation.ChatLanguageModelProvidingStreamable<Self.ChatStringStreamParameters == A>, chatParameters: () throws -> A) throws -> GenerativeFunctions.ChatMessagesPromptRunConfig.UntypedStreamable<A>