File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ var prompt = @"{{$input}}
41
41
42
42
One line TLDR with the fewest words." ;
43
43
44
- var summarize = kernel .CreateSemanticFunction (prompt );
44
+ var summarize = kernel .CreateSemanticFunction (prompt , maxTokens : 100 );
45
45
46
46
string text1 = @"
47
47
1st Law of Thermodynamics - Energy cannot be created or destroyed.
@@ -80,8 +80,8 @@ string summarizePrompt = @"{{$input}}
80
80
81
81
Give me a TLDR with the fewest words." ;
82
82
83
- var translator = kernel .CreateSemanticFunction (translationPrompt );
84
- var summarize = kernel .CreateSemanticFunction (summarizePrompt );
83
+ var translator = kernel .CreateSemanticFunction (translationPrompt , maxTokens : 200 );
84
+ var summarize = kernel .CreateSemanticFunction (summarizePrompt , maxTokens : 100 );
85
85
86
86
string inputText = @"
87
87
1st Law of Thermodynamics - Energy cannot be created or destroyed.
You can’t perform that action at this time.
0 commit comments