From bcf4528660fe4cfbafe53d1926e1fe1070854598 Mon Sep 17 00:00:00 2001 From: Michal Nicpon Date: Tue, 16 Jul 2024 13:36:08 -0600 Subject: [PATCH] update go translate example --- fern/docs/pages/reference/translate.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fern/docs/pages/reference/translate.mdx b/fern/docs/pages/reference/translate.mdx index a47161b..aab1880 100644 --- a/fern/docs/pages/reference/translate.mdx +++ b/fern/docs/pages/reference/translate.mdx @@ -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) } @@ -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. \ No newline at end of file +either Python, Go, Rust, JS, or cURL.