Large Language Models
Large language models generate and transform text, code, and structured data.
What Are Large Language Models
LLMs are trained on large text and code datasets to predict and generate language.
They are useful for chat, summarization, extraction, coding, reasoning workflows, and content generation.
How To Use Large Language Models
Call a model through an API or local runtime, provide instructions and context, and process the response.
Basic Example
const prompt = "Summarize this note in three bullet points.";
const response = await model.generate(prompt);
console.log(response.text);
Common Concepts
- Prompts provide instructions and context.
- Tokens are pieces of text processed by the model.
- Context windows limit how much information fits.
- Temperature affects output variety.
What To Learn Next
Learn prompting, structured outputs, tool calling, retrieval, fine-tuning, evaluation, and safety.