File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3939 .setInput(" Say this is a test." )
4040 .setMaxTokens(1024 )
4141 .set.. . // you can set more parameters
42- .execute()
42+ .execute()
4343
4444} catch (e: exception) {
4545 // catch any error that may occurs on api call.
8686 content = " You are a helpful assistant that only answers questions related to fitness"
8787 )
8888 .set.. . // you can set more parameters
89- .execute(" What is the best exercise for building muscle?" )
89+ .execute(" What is the best exercise for building muscle?" )
9090
9191} catch (e: exception) {
9292 // catch any error that may occurs on api call.
@@ -127,7 +127,7 @@ try {
127127 .setResults(2 )
128128 .setSize(" 1024x1024" )
129129 .set.. . // you can set more parameters
130- .execute(" ocean" )
130+ .execute(" ocean" )
131131
132132} catch (e: exception) {
133133 // catch any error that may occurs on api call.
@@ -168,7 +168,7 @@ try {
168168 .setInput(" What day of the wek is it?" )
169169 .setResults(1 )
170170 .set.. . // you can set more parameters
171- .execute(" Fix the spelling mistakes" )
171+ .execute(" Fix the spelling mistakes" )
172172
173173} catch (e: exception) {
174174 // catch any error that may occurs on api call.
You can’t perform that action at this time.
0 commit comments