Activities / What code does / Generates content with AI

Generates text with AI

generates_text

Your app uses artificial intelligence (AI) to produce written text, rather than only publishing what a person wrote.

  • scope code
  • in the registry since 1.7
  • 16 laws in 16 jurisdictions name it

What triggers it

The lint's definition. It writes text with an AI model that reaches its users or the public: articles, messages, summaries or code. Somebody else's model counts; output only its own team reads is not this.

This covers an AI copywriting tool, a summarizer, a drafting assistant and a code generator, whether the model is yours or a vendor's.

It implies Generates content with AI, so the rules written for every kind of AI-generated content reach it too.

What does not

Content a person wrote, that your app only formats or spell-checks, does not count.

A chatbot that people talk to is Deploys a chatbot.

Often confused with Generates content with AI and Deploys a chatbot.

The law it brings into scope

The kinds of law that name this activity in the LexLint law library, with the number of laws and jurisdictions in each, as of . The examples are chosen by rule, laws in force first and the widest jurisdiction first; each section's page lists every law.

Area of lawLawsJurisdictions
AI law

Tell people when they are dealing with an AI system or its output, and control the uses the law calls high-risk.

16 16

This activity implies Generates content with AI, so every law that names that activity reaches it too. These areas of law reach it only that way:

  • Privacy law: 216 laws in 114 jurisdictions, through Generates content with AI

    Have a legal basis for personal data, honor people's rights over it, and report a breach.

  • Cybersecurity law: 109 laws in 74 jurisdictions, through Generates content with AI

    Build software securely, handle reported flaws, and report incidents on a deadline.

  • Product and AI liability law: 27 laws in 25 jurisdictions, through Generates content with AI

    Answer in damages when defective software or an AI system causes harm.

  • Reuse law: 7 laws in 4 jurisdictions, through Generates content with AI

    Reproduce other publishers' content only as far as an exception or a license allows.

  • Content moderation law: 1 law in 1 jurisdiction, through Generates content with AI

    Act on notice of unlawful content, explain moderation decisions, and report on them.

  • Scraping law: 1 law in 1 jurisdiction, through Generates content with AI

    Stay within computer-access law, a site's terms, and the copyright in what is copied.

Counterparties that usually come with it

  • a model provider whose API writes the output

A component that cannot run as documented without one of these names it in its ACTIVITIES.md under talks_to, with required: true. That party's jurisdiction then joins the run of every product that uses the component, and the finding says why it is there. A default the deployer can change is asked about, never added. Talking to a party never makes a product that party.

In a declaration

A library or framework that makes this possible enables it; an application whose shipped code does it performs it.

For a library

activities: - id: generates_text mentioned: enables enabled: requires_configuration where: [<the module that carries it>] note: <one sentence>

For an application

activities: - id: generates_text mentioned: performs enabled: by_default where: [<the module that carries it>] note: <one sentence: what it does, and the kind of law it attracts>

History

In the registry since version 1.7, .

Added for AI Act, Article 50 (transparency obligations for AI systems and synthetic content) (European Union), the law that turns on it.

In the glossary: Generates text with AI.

The activity registry is LexLint's open list; this page's text is licensed under Creative Commons Attribution 4.0.