Introduction to Generative AI in Snowflake
James Cha-Earley
Senior Developer Advocate, Snowflake
from snowflake.cortex import translate
translated_review = translate( text="El hotel fue excelente. Muy limpio y cómodo.",
from_language="es",
to_language="en"
)
print(translated_review)
The hotel was excellent. Very clean and comfortable.
Chinese zh |
Dutch nl |
English en |
French fr |
German de |
Hindi hi |
Italian it |
Japanese ja |
Korean ko |
Polish pl |
Portuguese pt |
Russian ru |
Spanish es |
Swedish sv |
"Nos trataron como reyes."
"They treated us like kings."
"They treated us like royalty."
$$
"Le service laisse à désirer."
"The service leaves to be desired."
"The service was disappointing."
$$
$$
$$
$$
Introduction to Generative AI in Snowflake