Skip to content

技术英语 10 分钟 - 2026-06-04

今日目标

看懂 AI tooling 文档里常见的“生成文本、调用工具、使用提示词和模型”表达。

原文

来源:Vercel AI SDK Core generateText 文档

Generates text and calls tools for a given prompt using a language model.The model processes the input and returns a response with the generated text.

人话意思

第一句是在说:给定一个 prompt 后,系统会用语言模型生成文本,也可能调用工具。

第二句是在说:模型处理输入,然后返回一段包含生成文本的响应。

关键词

  • generate text: 生成文本
  • call tools: 调用工具
  • given prompt: 给定的提示词
  • language model: 语言模型
  • process the input: 处理输入
  • return a response: 返回响应
  • generated text: 生成出来的文本

句子拆解

Generates text and calls tools for a given prompt using a language model.

这句省略了主语,技术文档里很常见。

完整理解可以补成:这个函数 generates text,并且 calls tools

for a given prompt 说明“针对什么输入”。using a language model 说明“用什么方式 / 工具来完成”。The model processes the input and returns a response with the generated text.

主语是 The model

两个动作连在一起:processes the inputreturns a response

with the generated text 说明这个 response 里带着生成结果。

今天记住一句

The model processes the input and returns a response.

30 秒小练习

把这句翻成中文:

Generates text and calls tools for a given prompt using a language model.

完成记录

  • [ ] 看完原文
  • [ ] 看完拆解
  • [ ] 完成 30 秒小练习