Skip to content

Commit

Permalink
update go translate example
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Nicpon committed Jul 16, 2024
1 parent 1d7a670 commit bcf4528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fern/docs/pages/reference/translate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ your preference or requirements, select the appropriate method for your applicat

text := "The sky is blue"

resp, err := cln.Translate(ctx, text, client.Languages.English, client.Languages.French)
resp, err := cln.Translate(ctx, text, client.Languages.English, client.Languages.French, false)
if err != nil {
return fmt.Errorf("ERROR: %w", err)
}
Expand Down Expand Up @@ -219,4 +219,4 @@ The output will look something like:

This approach presents a straightforward way for readers to choose and apply the
code example that best suits their needs for generating text completions using
either Python, Go, Rust, JS, or cURL.
either Python, Go, Rust, JS, or cURL.

0 comments on commit bcf4528

Please sign in to comment.