Skip to content

Commit

Permalink
fix: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
osugikoji committed Mar 17, 2023
1 parent 95a4bd3 commit d3aeb53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions guides/Features.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ try {
.setInput("Say this is a test.")
.setMaxTokens(1024)
.set... // you can set more parameters
.execute()
.execute()

} catch (e: exception) {
// catch any error that may occurs on api call.
Expand Down Expand Up @@ -86,7 +86,7 @@ try {
content = "You are a helpful assistant that only answers questions related to fitness"
)
.set... // you can set more parameters
.execute("What is the best exercise for building muscle?")
.execute("What is the best exercise for building muscle?")

} catch (e: exception) {
// catch any error that may occurs on api call.
Expand Down Expand Up @@ -127,7 +127,7 @@ try {
.setResults(2)
.setSize("1024x1024")
.set... // you can set more parameters
.execute("ocean")
.execute("ocean")

} catch (e: exception) {
// catch any error that may occurs on api call.
Expand Down Expand Up @@ -168,7 +168,7 @@ try {
.setInput("What day of the wek is it?")
.setResults(1)
.set... // you can set more parameters
.execute("Fix the spelling mistakes")
.execute("Fix the spelling mistakes")

} catch (e: exception) {
// catch any error that may occurs on api call.
Expand Down

0 comments on commit d3aeb53

Please sign in to comment.