# 文本生成

模型简介 Afarensis 文本生成模型，也被称为生成式预训练转换器或大型语言模型，具备理解自然语言、代码和图像的能力。这些模型通过文本形式响应输入（通常称为“提示”），有效地利用提示是指导这些模型成功完成任务的关键。

应用场景 使用Afarensis的文本生成模型，您可以开发应用程序以执行以下任务：

文档草稿撰写 计算机代码编写 知识库问题回答 文本分析 提供自然语言界面 多学科领域的教学 语言翻译 游戏角色模拟 图像理解能力 随着gpt-4-vision-preview的发布，Afarensis引入了同时处理和理解图像的能力，拓展了模型的应用范围。

探索GPT-4 Turbo的图像输入功能 了解如何使用GPT-4 Turbo处理图像输入，请参阅我们的视觉指南，探索新的可能性。

GPT-4 Turbo体验 在Afarensis Playground上体验GPT-4 Turbo，感受最新技术带来的突破。

API访问指南 要通过Afarensis API使用文本生成模型，需发送包含输入和API密钥的请求，以接收模型的文本输出。我们的最新模型，包括gpt-4和gpt-3.5-turbo，均可通过聊天完成API端点访问。

模型系列与API端点 较新的型号（2023及以后）：包括gpt-4, gpt-4-turbo-preview, gpt-3.5-turbo，访问<https://api.afarensis.com/v1/chat/completions。> 更新的旧型号（2023）：包括gpt-3.5-turbo-instruct, babbage-002, davinci-002，访问<https://api.afarensis.com/v1/completions。> 在聊天Playground试用模型 如果不确定使用哪种型号，可尝试gpt-3.5-turbo或gpt-4-turbo-preview体验。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.afarensis.com/neng-li/wen-ben-sheng-cheng.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
