> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/help-center/cn/mian-xiang-llm-de-shu-ju/what-solution-should-i-use-for-building-llms.md).

# 构建 LLM 时应使用什么解决方案？

查找推荐用于获取高质量数据集以训练 LLM 的 Oxylabs 解决方案。

训练大型语言模型（LLMs）需要多样且高质量的数据集。根据您的需求，您可能需要大规模实时网页数据或结构化数据集，以增强诸如聊天机器人模型等 AI 应用。

### 解决方案及其提供的数据 <a href="#h_3435681324" id="h_3435681324"></a>

* **Oxylabs Web API** 让您的应用和 AI 代理能够实时访问网页。使用 `/search` 查找相关来源，并使用 `/scrape` 读取它们，输出格式可为 Markdown、HTML、JSON 或截图。Markdown 是一种易于阅读的格式，适用于 LLM 工作流。如果您需要更多信息，还可以查看 [Web API 产品页面](https://developers.oxylabs.io/products/web-api).
* **Oxylabs 视频数据API** 帮助您提取视频元数据、字幕和频道数据，并下载视频和音频，这使其非常适合用于语音识别（ASR）和对话式 AI 的训练。有关选项，请参见 [如果我需要大量视频数据用于 AI 模型训练，可以使用哪些 Oxylabs 产品？](https://developers.oxylabs.io/help-center/data-for-llms/which-oxylabs-products-can-i-use-if-i-need-large-volumes-of-video-data-for-ai-model-training)

{% hint style="info" %}
请注意，此处提供的所有信息仅供参考。使用 Oxylabs 产品并不赋予您与所述数据、视频或图像相关的任何权利，这些内容可能受版权、知识产权或其他权利保护。在进行任何形式的网页抓取活动之前，您应咨询您的法律顾问，并仔细阅读相关网站的服务条款，或获取网页抓取许可。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/help-center/cn/mian-xiang-llm-de-shu-ju/what-solution-should-i-use-for-building-llms.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
