@@ -93,32 +93,9 @@ final class TemplateGenerativeModel extends BaseTemplateApiClientModel {
9393 null ,
9494 _serializationStrategy.parseGenerateContentResponse);
9595 }
96-
97- /// Generates content from a template with the given [templateId] , [inputs] and
98- /// [history] .
99- @experimental
100- Future <GenerateContentResponse > templateGenerateContentWithHistory (
101- Iterable <Content > history, String templateId,
102- {required Map <String , Object ?> inputs}) =>
103- makeTemplateRequest (TemplateTask .templateGenerateContent, templateId,
104- inputs, history, _serializationStrategy.parseGenerateContentResponse);
105-
106- /// Generates a stream of content from a template with the given [templateId] ,
107- /// [inputs] and [history] .
108- @experimental
109- Stream <GenerateContentResponse > templateGenerateContentWithHistoryStream (
110- Iterable <Content > history, String templateId,
111- {required Map <String , Object ?> inputs}) {
112- return streamTemplateRequest (
113- TemplateTask .templateStreamGenerateContent,
114- templateId,
115- inputs,
116- history,
117- _serializationStrategy.parseGenerateContentResponse);
118- }
11996}
12097
121- /// Returns a [TemplateGenerativeModel] using it's private constructor.
98+ /// Returns a [TemplateGenerativeModel] using its private constructor.
12299@experimental
123100TemplateGenerativeModel createTemplateGenerativeModel ({
124101 required FirebaseApp app,
0 commit comments