Skip to main content

Your first text prompts

Updated this week

Introduction

Le Chat, powered by a large language model 🔎, is designed to process and generate text at a human-like level.

🔑 Your input is called a prompt, and it can be as simple as a question or as complex as a detailed request.

Let’s start with three common ways to use text prompts in le Chat: asking questions, translating text, and solving math problems.

Ask a simple question

For straightforward queries or conversations, just type your question and le Chat will provide an answer. It works for both general knowledge and specific information.

For example, if you want a short explanation of what an LLM is, you could type:

image

Ask a simple question to le Chat

📌 See the like I'm 5 part? That’s one of the easiest prompt techniques. Learn more in this article on prompt engineering.

And le Chat will provide a simple answer:

image

Le Chat provides a simple answer

🔑 Le Chat doesn’t use a search engine. It relies on its training data to answer your query. Depending on the question, some answers may not be up to date or fully accurate. Activating the search engine gives you more accurate answers.

Translate text

Need a translation? Just type the text and ask le Chat to translate it.

For example, let’s translate the opening lines of the Divine Comedy from Italian to English:

image

Translating from Italian to English

image

Le Chat translates the text

📌 In this example, we didn’t provide any context. Le Chat recognized the source material, automatically detected the language, and translated it to English in real time.

Le Chat supports many languages, including but not limited to:

  • English

  • French

  • Spanish

  • German

  • Italian

  • Portuguese

  • Dutch

  • Russian

  • Chinese (Simplified and Traditional)

  • Japanese

  • Arabic

  • Hindi

  • Turkish

  • Korean

  • Polish

  • Indonesian

  • Swedish

  • Danish

  • Norwegian

  • Finnish

  • Greek

  • Czech

  • Hungarian

  • Romanian

  • Thai

  • Vietnamese

  • Ukrainian​

Solve math problems

You can also ask le Chat to solve math problems (from simple arithmetic to complex calculus!) and even generate Python code to visualize results.

For example, to compute an integral:

image

Querying le Chat for a math problem

image

Le Chat provides a step-by-step solution

Then you can ask le Chat to generate Python code:

image

Generating Python code to visualize the result

image

Le Chat generates a plot

🔑 By design, le Chat doesn’t calculate numbers directly. It predicts text, which can sometimes lead to mistakes in math. Running the generated Python code is the best way to check accuracy.

Next steps

You’ve seen how le Chat can help with text queries, translations, and math problems.

Next, let’s explore how it can also generate images. 🌠

Did this answer your question?