📄 claude/docs/build-with-claude/text-generation

File: text-generation.md | Updated: 11/15/2025

Source: https://docs.claude.com/en/docs/build-with-claude/text-generation

Agent Skills are now available! Learn more about extending Claude's capabilities with Agent Skills .

Claude Docs home pagelight logodark logo

US

English

Search...

Ctrl K

Search...

Navigation

Text generation

Home Developer Guide API Reference Model Context Protocol (MCP) Resources Release Notes

On this page

Prompts are best written as natural language queries as if you are instructing someone to do something, with the more detail the better. You can further improve your baseline prompt with prompt engineering .


Text capabilities and use cases

Claude has a broad range of text-based capabilities, including but not limited to:

| Capability | This enables you to… | | --- | --- | | Text Summarization | Distill lengthy content into key insights for executives, social media, or product teams. | | Content Generation | Craft compelling content from blog posts and emails to marketing slogans and product descriptions. | | Data / Entity Extraction | Uncover structured insights from unstructured text like reviews, news articles, or transcripts. | | Question Answering | Build intelligent, interactive systems from customer support chatbots to educational AI tutors. | | Text Translation | Seamlessly communicate across languages in products, support, and content creation. | | Text Analysis & Recommendations | Understand sentiment, preferences, and patterns to personalize user experiences and offerings. | | Dialogue and Conversation | Create engaging, context-aware interactions in games, virtual assistants, and storytelling apps. | | Code Explanation & Generation | Accelerate development with instant code reviews, boilerplate generation, and interactive tutorials. |


Claude Cookbook

Dive into practical examples and hands-on tutorials with our collection of Jupyter notebooks.

PDF Upload & Summarization
--------------------------

Learn how to upload PDFs and have Claude summarize their content, making it easy to digest long documents.
Tool Use & Function Calling
---------------------------

Discover how to extend Claude’s capabilities by integrating external tools and functions into your workflows.
Embeddings with VoyageAI
------------------------

Explore how to create and use embeddings with VoyageAI for advanced text similarity and search tasks.

More Resources

From crafting the perfect prompt to understanding API details, we’ve got you covered.

Prompt Engineering Guide
------------------------

Master the art of prompt crafting to get the most out of Claude.
Prompt Library
--------------

Find a wide range of pre-crafted prompts for various tasks and industries. Perfect for inspiration or quick starts.
API Documentation
-----------------

Everything you need to interact with Claude via our API: request formats, response handling, and troubleshooting.

Was this page helpful?

YesNo

Assistant

Responses are generated using AI and may contain mistakes.