ⓘ​  This page has been translated using artificial intelligence.

9 minutes

Generative text AIs and language models

Generative artificial intelligence is on the rise and can now be found not only in the familiar chat format, but also in numerous forms as AI assistants, for example in productivity apps. We ask: What generative text AIs are available and how do they work? On this page, we provide interesting facts about generative text AI, prompt helpers and classic to creative application examples.

How do text AIs work?

Topic

How does generative text AI work?

We humans do not constantly rethink everything; rather, we learn and build new knowledge on what we have learned before. Our thoughts and memories remain in our minds and thus form the basis for new connections. 

Generative AI also works with such links and must therefore be able to access a neural network in which information remains available. But how is such an artificial memory created, and how can AI generate answers from it?  

The LSTM (Long Short-Term Memory) method is a piece of software that has been around since 1995 and is used to recognise certain patterns in data. This enables the software to remember previous information and reuse it when necessary.  

For this technology to work, LSTM uses a special neural network called a recurrent neural network (RNN), which works with repetitive processes. This means that the software is able to process information step by step.

However, LSTM also has its limitations. Since it processes information sequentially, it cannot handle large amounts of data well and tends to overlook more distant information.

In 2017, Google presented the scientific paper ‘Attention is All You Need’(opens in new tab). In it, the authors suggest that new attention mechanisms can significantly increase the quality and efficiency of previous models for neural networks:

The research team proposes a ‘simple network architecture, the Transformer, based exclusively on attention mechanisms [...]’(opens in new tab). This Transformer uses novel mechanisms to better understand context and process it more efficiently. Experiments were conducted with machine language translation tasks.

The Transformer has significantly advanced the development of generative text AI. Because it can better handle long dependencies in texts and be trained more efficiently, it is ideal for tasks such as text generation, chatbots and other applications that need to generate or understand natural language. No wonder, then, that all well-known text AIs today are based on the Transformer architecture.

Why do some text AIs have better memory than others?

There are several reasons for this. One of them is that language models have different sized context windows. A context window refers to the amount of text (characters or words, known as tokens) that an AI can process at one time.

Since the available context window is not always sufficient, AIs such as ChatGPT have built in an additional memory feature. Imagine an external knowledge database that can be accessed at any time in the chat. Users can request in a prompt that the AI remember something specific. This information is then stored in the external knowledge database and can be recalled by the AI at any time. The AI can then incorporate the information into its response if it could be relevant to the current prompt.

Topic

LLM vs. AI browser: real time or not?

Perhaps you have asked yourself: How does AI actually know what it knows? Of course, it is trained. But why does it (only) sometimes know the latest news? The reason lies in the technical distinction between so-called LLMs and AI browsers:

During training, these models have read enormous amounts of text and learned how language works. They are, in a sense, highly educated language assistants who generate their responses based on their current knowledge (usually at a specific point in time in the past).

Key point: LLMs can explain how photosynthesis works, but they cannot tell you who won yesterday's football match.

An AI browser is a hybrid model between an AI and a browser. Perplexity is a good example of this, as are ChatGPT models with an integrated browsing function. AI browsers provide you with linguistically polished answers in chat format, but these are generated from the latest information available on the internet.

Key point: While LLMs live in the past, AI browsers are also aware of today's world and can search Google in real time.

It's not always easy to distinguish between LLM and AI browsers. Here's a trick that helps: ask the AI about a current event – for example, something from yesterday's news. If it knows a specific and correct answer, you're working with an AI browser. If not, you're dealing with a classic LLM.

Topic

What are the most well-known
AI text generators?

The number of providers of generative text AI has been growing exponentially in recent months. Among the best known are:

AI product on OpenAI, which has its roots as a language model and thus understands and generates natural language. The language model processes text and images and can generate images with GPT-4o and videos with the integration of Sora.

Age rating (ChatGPT)

Recommended for ages 13 and up

Access (ChatGPT)

Web, mobile app, API for developers

Strengths (ChatGPT)
  • It is a multimodal model and therefore very versatile.
  • Good understanding of context, can remember details from longer conversations.
  • Integration of Sora for video generation and GPT-4o (formerly DALL·E 3) for image generation directly in ChatGPT Plus. 
Weaknesses (ChatGPT) 
  • Sometimes explains things in a roundabout way and in too much detail.
  • Occasionally hallucinates. ChatGPT can sometimes make mistakes with complicated maths.
  • Training data in the free version is not always up to date (training is delayed).
Safety (ChatGPT)
Educational value  (ChatGPT)
  • Suitable for middle and upper school.
  • Can assist with homework and explain complex topics in an understandable way.
  • Can help teachers prepare exercises.
Classification (ChatGPT)
  • The best-known and most widely used text model worldwide.
  • A good all-rounder, as it can also generate images and videos.
  • Suitable for creative tasks and explanations.

Google Gemini is Google's multimodal AI model. Located within the Google ecosystem, Google Gemini can be seamlessly integrated and used in Google productivity apps with the appropriate AI Premium subscription. 

Age rating (Gemini)

Recommended for ages 13 and up (with Google account)

Access (Gemini)

Web, mobile app, integration with Google services

Strengths  (Gemini)
  • It is a multimodal model and therefore very versatile.
  • Integrated directly into Google Search and Google utilities.
  • Strong in factual knowledge and research, as it is directly connected to the internet and Google Search.  
Weaknesses (Gemini)
  • Creative tasks take a back seat to a focus on facts.
  • Little flexibility when it comes to complex instructions.
  • Tends to give cautious answers and relativise things.
Safety  (Gemini)
Educational value (Gemini)
  • Suitable for school research.
  • Can search explicitly for reliable sources.
  • Well-informed on scientific topics and well structured.
Classification (Gemini)
  • Focus on fact-finding and knowledge.
  • Suitable for Google users thanks to integration into the Google ecosystem.
  • Child protection can be influenced by Google Family Link. 

Meta's Llama is an open-source text generation model designed specifically for developers, researchers and businesses. Meta AI, an intelligent assistant for private individuals, has also been available since 2025. It is integrated into the Meta platforms, currently based on versions Llama 3 or 4, and helps with everyday problems.

Age rating (Meta AI)

Depending on the platform, generally from 13 years of age 

Access (Meta AI)

Integrated into WhatsApp, Instagram, Facebook and as a standalone app

Strengths (Meta AI)
  • Low threshold accessibility through direct integration into meta apps.
  • Strong in everyday conversations and social contexts.
  • Short, clear chats.
Weaknesses (Meta AI)
  • Rather new model and therefore not yet fully developed in some areas.
  • Image and video generation is not (yet) available.
  • Little in-depth explanation.
Safety (Meta AI)
  • Embedded in Meta, the relevant data protection guidelines apply.
  • Data is used for training purposes (can be objected to).
  • Functions for the protection of minors vary depending on the platform. 
Educational value  (Meta AI)
  • Suitable for everyday and quick assistance.
  • Answers questions about everyday knowledge.
  • Not very structured or suitable for educational purposes.  
Classification  (Meta AI)
  • Focused on social and everyday interaction.
  • Provides quick assistance in everyday life.
  • Practical, as it is integrated into everyday social media apps.   

Anthropic's AI assistant communicates helpfully and honestly. Claude is known for its nuanced conversation skills, text comprehension and coding abilities. Claude also impresses when it comes to ethical issues and complex queries. 

Age rating (Claude)

Recommended for ages 13 and up 

Access (Claude)

Web, API, partnerships (e.g. with Notion)

Strengths (Claude)
  • Known for thoughtful responses.
  • Discusses ethical questions and complex topics in a reflective manner.
  • Can wonderfully adopt writing styles and tones. 
Weaknesses (Claude)
  • Currently less well known than competitors such as ChatGPT or Gemini.
  • Less multimodal capabilities, e.g. cannot (yet) generate images.
  • Tends to be cautious with speculative queries. 
Safety (Claude)
Educational value (Claude)
  • Masterful at analysing texts, summarising them or providing feedback on essays.
  • Always attempts to present topics in a balanced manner, thereby promoting critical thinking.
  • Suitable for intermediate and advanced levels of education.  
Classification (Claude)
  • More thoughtful and reflective than other text models.
  • Particularly adept at handling code.
  • Prefers a nuanced approach.

Currently the only major model from Europe: the French open-source language model is considered a newcomer and is known for its high performance. With various model sizes, Mistral is flexible in use and can be integrated into your own systems via API.

Age rating (Mistral AI)

No information available

Access (Mistral AI)

Web, API, chat via Le Chat

Strengths (Mistral AI)
  • European alternative to US models.
  • Good multilingualism with a focus on European languages.
  • Open approach with some open source models. 
Weaknesses (Mistral AI)
  • Newcomers with (as yet) little user experience.
  • Often still unknown and hardly integrated into common tools or platforms.
  • High security and data protection requirements hamper further development.
Safety (Mistral AI)
  • GDPR-compliant data protection guidelines.
  • Focus on data sovereignty.
  • Open-source models provide transparency.
Educational value (Mistral AI)
  • Suitable for European educational content, such as history lessons.
  • Good at processing texts (analysing and summarising).
  • Helps with translations or language comparison of European languages.
Classification (Mistral AI)
  • European alternative with robust data protection.
  • Suitable for multilingual families.
  • Can be integrated into your own systems as an open-source model. 

Perplexity is more of an AI-powered search engine than a traditional chatbot conversation partner. The model searches the internet in real time, providing source references and accurate answers. Perplexity thus specialises in fact-based information retrieval. 

Age rating (Perplexity)

From 13 years of age 

Access (Perplexity)

Web, app, browser extension

Strengths (Perplexity)
  • Browses the web in real time and provides up-to-date information.
  • Cites sources, links to original content and, with Deep Research, is also very interesting for research.
  • Provides suggestions on which direction to take your research in. 
Weaknesses (Perplexity)
  • Perplexity is less suited to creative tasks.
  • There can sometimes be too much information at once.
  • Focused on the facts rather than their communication.  
Safety (Perplexity)
  • Shares information with third parties for web searches.
  • Incognito mode possible when logged in.
  • Data stored on servers in the USA (and, through the integration of Deepseek-R1, also in China).
Educational value (Perplexity)
  • Conveys a scientific approach through references.
  • Assists with research for projects, essays, or matriculation or student research projects.
  • Particularly popular with upper secondary school pupils and students.
Classification (Perplexity)
  • Assists with source-based research.
  • More of a browsing assistant than a conversation partner.
  • Provides up-to-date information, as the AI has direct access to the internet.

Topic

Basic rules: How do I prompt?

Although language models are designed and very good at understanding natural language and responding accordingly, clear structure and language in prompts help to obtain accurate responses from AI.

Here's what you can do:  

What exactly do you want to know? If you ask vague questions, the AI will give vague answers. But you want a specific and useful answer for your exact use case, right?

What writing style should the AI use to respond? It's best to assign it a role so that it strikes the right tone, for example: ‘Respond as a teacher’ or ‘Explain in a way that a 10-year-old child can understand’.

Tip for writing tasks: Have the AI perform a style analysis of an existing text in advance so that it can train itself to use the desired style. Only then should you give it the actual task you want it to answer – in the style it has now been trained to use.

In what form should the answer be presented? As continuous text with subheadings, or as a table with columns for “Places”, “Sights” and “Restaurants”? Or perhaps even as a graphic or code? Tell the AI.

An AI usually understands and responds better if you give it only one clear task per prompt. If you want to know more after that, keep asking questions. During the conversation, the AI gradually gains an understanding of the entire context and you can have all your questions answered one by one.

For more complex tasks, it can also help to ask the AI to explain things to you step by step or to outline its thought processes.

If you want to receive information in a specific structure, subtopics at a certain altitude, or in a predefined style, provide the AI with an example in your prompt so that it understands you. This will save you time-consuming explanations and make it easier to get better results.

Chatting with a language model always means receiving answers that are not very helpful. The AI may also misunderstand you sometimes. That can happen. Rephrase your question; perhaps you can divide the task into two steps? Talk to the AI and tell it when and what it has misunderstood and what it should do instead.

A language model works by always finding the most probable next words or answers. However, this does not necessarily mean that this information is correct. Most language models therefore issue a justified warning (usually near the input field): ‘I may make mistakes. Please check my answers.’ Please adhere to this.

Language models and data protection:
Do not share personal data with AI

Please be aware that when using generative AI, the safest approach in terms of privacy is not to share any personal data with AI in the first place. Personal data can include information such as names, addresses or telephone numbers, but also photos of yourself or others. Please note the following:

  1.  Avoid personal information: The safest way to prevent personal data from being used in AI training and thus being disseminated is to either create requests without any personal data or to censor it before sending.
  2. Data storage on the model's servers: The data provided to the AI in the form of a prompt is processed and stored on the model's servers. This means that, by default, this data is also used for further training of the AI models.
  3. Activate your right to object to training: To prevent your data from being used by the company for AI training, you can usually object (opt out) in the respective data protection settings, e.g. here: ChatGPT(opens in new tab), Google Gemini(opens in new tab), Meta Llama(opens in new tab) and Claude(opens in new tab).

Topic

Taking prompt skills to the next level

Are you already experienced with prompting and want to get even more out of your AI's responses? Then try out the following prompting techniques.

Not only can AI integrate metaphors into its responses, it can also vary the tone and pitch of an explanation. Use this to have a topic explained to you from multiple perspectives.  

Example: Answer the question ‘Should smartphones be allowed in class?’ from the perspective of a teacher, a 10-year-old pupil and his mother.

Not only can AI integrate metaphors into its responses, it can also vary the tone and pitch of an explanation. Use this to have a topic explained to you from multiple perspectives.

AI can also simulate a discussion by taking both sides equally and finding both arguments and counterarguments for a thesis and bringing them into the conversation.

Example: Simulate a discussion between two media experts on the thesis: ‘Teaching critical media literacy in schools is more important than teaching technical skills.’ Expert A takes the position that critical thinking forms the basis on which technical skills are built. Expert B argues that without sound technical knowledge, critical thinking and media literacy are not possible. Structure the discussion as a dialogue with 3-4 contributions per person. Take into account current challenges such as AI-generated content, disinformation and algorithmic filtering. Both experts should contribute arguments and examples from educational practice.

Although AI has no feelings and sometimes no opinion of its own, it can still be a great partner for brainstorming or feedback loops. Ask the AI to engage in an iterative process and exchange ideas on your topics digitally, just as you would with a team member.

Example: Prepare the AI for the exchange by informing it: ‘I am going to present an idea to you. You will then give me feedback on how I can develop and optimise it. I will then improve my idea. We will repeat this process three times.’

AI can slip into roles and bring stories or fictional scenes to life for you. This type of prompting is ideal for bringing historical figures or situations to life.

Example: Simulate a conversation between Marie Curie and Albert Einstein in 1925 about the future of physics. Marie Curie should defend her research on radioactivity, while Einstein asserts the importance of his theory of relativity. Take into account the state of knowledge at the time and the social circumstances for scientists, especially for a woman in science.

You can also ask the AI to rate its own answer on a scale of 1–10. It should also explain what it could have done better. This helps you to identify and classify the strengths and weaknesses of the answer.

For example, if you want to plan a trip and want the generative AI to suggest sightseeing tips or routes, ask the AI in advance what it needs to know about you in order to plan optimally. Answer all questions individually, in a structured manner, and provide all necessary details (no personal data!). This will help you optimise the suggested trip so that it matches your travel dates, preferences and budget as closely as possible.

Prompt schemata (known as frameworks) such as TIDD-EC support structured prompting. TIDD-EC is composed of the initial letters of its components: 

  • Task Type: Give the language model a clear idea of what type of task it should perform.Instructions: Describe specific steps or guidelines for the language model to follow.
  • Do: What actions will help the AI perform the task?
  • Don't: What elements should the AI avoid when responding to the prompt?
  • Examples: Provide concrete examples of the desired type of results or responses.
  • Content: Provide specific data (note: only general data, no personal data!) that the AI can work with, use in its response, or refer to.

Example: ‘Explain to me in simple terms the health benefits of green tea. Refer to scientific findings and current research results. The answer should be easy to understand and not contain any complicated technical terms. An example would be: “Green tea can help strengthen the immune system.”’ 

How to avoid common prompt errors

If the AI isn't giving you the answers you want, these could be the reasons why: 

  • Vague prompts: An AI needs specific questions in order to give specific answers. Imprecise questions result in imprecise answers.
  • Too little context: If you give an AI too little background information, it can easily misunderstand you. Examples and sources can help.
  • Giving up too soon: The first answer is usually not the best. Ask follow-up questions and give the AI feedback on what you think is good or bad.
  • Too contradictory: Be consistent and uniform in your instructions. If you first write ‘please be thorough and detailed’ and then ask for ‘short and concise’ answers, this will confuse the AI.
  • Expecting too much: Don't overwhelm the AI with too many sub-questions in one and the same prompt. It's better to ask questions gradually and be aware of how it works and what it can do.
  • Too familiar: AI can make mistakes. Therefore, double-check important facts and technical or historical topics.

Topic

What is reasoning?

DeepThink is a reasoning function that has been available in the DeepSeek universe since the DeepSeek R1 model. It allows you to ask the language model to think through a topic particularly thoroughly and systematically. The AI responds with complete chains of thought, which are displayed to you and thus become comprehensible. Other language models are following suit and providing similar in-depth analysis and argumentation functions.

Reasoning is ideal for complex questions where superficial answers are not sufficient. The AI takes longer to think and repeatedly sets itself new subtasks in a soliloquy. It analyses the various aspects and dimensions of a problem step by step and allows you to gain insight into its thoughts. Only then does it formulate its carefully considered answer. This makes the answers much more profound and reflective.

DeepSeek is not the only one to offer reasoning; many other language models now offer such functions or models. Examples include ChatGPT with OpenAI o3 or o4-mini(opens in new tab) and Claude 3.7 Sonnet with the extended thinking function(opens in new tab).

Topic

Application examples for families

The field of application for generative text AI is immense. In addition to providing daily support in a wide variety of professional sectors, language models can of course also be helpful in private and family life.

In a family context, it could provide support in the following areas: 

Is your child stuck on a maths problem? Generative AI can provide alternative explanations if the explanations in the teaching material haven't quite clicked yet. For example, you can ask the AI to provide a clear example to illustrate the topic.

Example: Explain photosynthesis to me in a way that a 10-year-old child would understand, using a comparison with a factory.

Of course, AI does not replace your own thinking – rather, it supports it. Like a patient tutor who is available around the clock.

Thanks to its capabilities as a language model, generative text AI can be a wonderful aid to creative writing. This does not mean that it does everything for you, but rather that it serves as a source of ideas or brainstorms possible topics with you, for example. It can also help you if you find it difficult to get started on a text, you can try out different styles with it, or it can give you feedback when you want to put the finishing touches to your text.

What kinds of texts can AI write? Well, anything you want. Perhaps a bedtime story for your 6-year-old daughter?

Fancy a unique game night? Generative text AI can also create interactive adventure stories with you and your family. Together, you can explore fantasy worlds, solve puzzles or investigate as detectives. The AI responds to your decisions (with the appropriate task at the beginning) and continuously develops the story.

Example: Embark on a family adventure in space, where we explore a newly discovered planet as a team of explorers. It should be child-friendly and offer decision-making opportunities that incorporate and take into account physical and scientific topics.

‘Mum, Dad, what are we having for dinner tonight?’ We've all heard it before – the same question every night. Generative AI can provide inspiration here too, for example with a meal plan for the whole week. You can tell it in advance about any food intolerances or specific requests and ask it to create a meal plan and shopping list before you go shopping.

Example: Create a weekly meal plan for our family of four with vegetarian dishes that are easy to prepare and loved by children.

Beyond menu planning, AI can also help with other aspects of everyday organisation, such as creating a template for a chore schedule. Or providing you with ideas for a rainy Sunday.

Generative AI can also be an important resource for language learning. It usually translates individual words or entire texts flawlessly (depending on the model). Compared to a conventional translation tool, AI can be helpful when it comes to classifying or comparing cultural nuances of a language.

Example: Translate the following three German idioms into Spanish and explain whether there are similar idioms in Spanish culture.

Parent guide: What should parents bear in mind when it comes to AI? 

How can I support my child in the rapidly changing world of AI? What should I pay attention to and what does my child need from me?

Go to the guide for parents

Topic

What are the opportunities and
limitations in education?

Yes, artificial intelligence is also changing the educational landscape. But how can we make meaningful use of its potential? Where do we need to recognise its limitations? An overview for teachers and parents:

Opportunities

Generative text AI can act as a patient learning companion, available 24/7 to answer questions at different levels. It can also offer alternative learning approaches or adapt to the individual pace of learners. In short, AI can provide support where personalised assistance is needed.

However, it does not replace the teacher or the independent learning process. Rather, it is a tool that can promote critical thinking, problem-solving skills and creativity – when used correctly. Human interaction, the educational relationship and collaborative learning in a group remain central elements of education.

AI unfolds its full potential when its use is specifically tailored to the current learning phase:

  • When preparing for a topic, AI can, for example, impart background knowledge.
  • When working on a new topic, AI can provide clear explanations of difficult concepts.
  • As an aid to follow-up work, it can provide feedback on a completed task or identify gaps in understanding. Based on this, it generates exercises to fill in knowledge gaps. 

As a flexible learning companion, AI is therefore particularly helpful and valuable for independent learning.

Boundaries

Artificial intelligence is what it is: a technical construct. It cannot therefore establish genuine learning relationships or respond emotionally to pupils. It currently lacks an understanding of the educational process and developmental psychology. It may learn this in future. However, it is doubtful whether it can also learn the powers of observation or human sensitivity of teachers.   

AI also (still) has its limitations when it comes to complex, open-ended questions that require interdisciplinary thinking or creativity. It can impart knowledge, but it does not train users to think independently. Education is a complex and social process – one in which AI can be a valuable tool, but can never completely replace humans.  

So-called hallucinations occur when an AI provides convincing but factually incorrect information. This happens because the AI always spits out the most probable answers to the question asked – which do not necessarily correspond to reality. Such hallucinations can range from subtle inaccuracies to completely fabricated facts. Research in specialist areas requiring specific knowledge or on topics for which there is little information available online is particularly tricky.

Consequently, a critical attitude towards AI-generated answers is a core competence in media education. Students should be trained to question and examine content (both text and images or videos) and, where necessary, verify it using other sources. In this way, the AI weakness of hallucination can potentially become a learning opportunity for a core 21st-century skill: critical media evaluation.

Recognising and avoiding the dangers of generative AI

All that glitters is not gold. This also applies to generative AI. What are the downsides of AI? What risks should you be aware of?

What dangers does generative AI pose?

Topic

Outlook: Language models as AI agents

The capabilities of generative artificial intelligence are advancing daily. Much of the tech world sees large action models (LAMs) – also known as ‘AI agents’ – as the future of language models. But what does that mean?

You can think of LAMs as personal agents who not only answer your questions and provide you with information on anything at any time, but also take on specific tasks. Here is an example to illustrate this: 

You give the AI a specific task in the form of text or voice recording:

‘I'm planning dinner with my best friend Daniel today.’  

Your personal AI agent wants to fulfil all your wishes and gets straight to work. However, in order to accomplish its task, the AI agent must divide the process into subtasks and have these answered or executed separately by autonomous AI assistants:

  • AI Assistant 1: Check your and Daniel's calendars to see when you're both free.
  • AI Assistant 2: Where are you and Daniel currently located?
  • AI Assistant 3: What is the weather like there?
  • AI Assistant 4: Which restaurants are nearby?
  • AI Assistant 5: What is on the menu?
  • AI Assistant 6: Is it possible to make a reservation using the form on the restaurant's website?

Once the AI assistants have done their job, they report their results back to the AI agent. The AI agent summarises and informs you:    

‘Gladly! Since it's raining today, I've picked out the restaurant L'interno in Olten, which offers Italian cuisine with vegetarian and vegan options. Shall I make a reservation for you at 7 p.m.?’   

Impressive, isn't it?  

The potential applications for such AI agents are diverse: from agents that create learning plans, recommend learning resources and monitor learning progress, to virtual employees who measure user engagement and continuously optimise website content, to personal assistants who support you in your everyday life, as in the example above. The next few years will show which of these will become reality – and which will remain science fiction. 

Useful links

Further content

Would you like more information on the topic of text AI? We have compiled the most important blog posts and links here.

Other interesting topics

Ask Marcel

Marcel is a trainer at Swisscom. He is available to answer any questions you may have about AI.

Portrait des Leiters Jugendmedienschutz Michael In Albon
Marcel

Trainer at Swisscom