SiliconCloud documentation supports the llms.txt protocol, which is both accessible for users to read directly and can be seamlessly integrated with various tools that support this protocol.Considering that some users may not be familiar with the llms.txt protocol, the following will provide a brief introduction to the usage rocedure and relevant overview.

1. Use this document in Cursor

1.1 Configure this document

Configure the @Docs data source in Cursor to easily use this document.

1.2 Use in Cursor

2. Introduction to llms.txt 

2.1 Protocol background

llms.txt is an emerging web standard designed to help large language models (LLMs) more effectively access and understand website content. By creating an llms.txt file in the root directory of a website, site owners can provide clear navigation and guidance to AI systems, thereby improving the efficiency of information retrieval.

2.2 File structure

The llms.txt file is written in Markdown format and typically includes the following sections:

  1. Title: Name of the website or project.
  2. Description (optional): A brief introduction to the website or project.
  3. Details (optional): Additional background information or links to other documents.
  4. Chapters: List the important sections of the website, with each section containing links and optional detailed descriptions.

Example as follows (refer to the files https://docs.siliconflow.cn/llms.txt and https://docs.siliconflow.cn/llms-full.txt)

# SiliconFlow

## Docs
- [Create Audio Transcription Request](https://docs.siliconflow.cn/api-reference/audio/create-audio-transcriptions): Creates an audio transcription.
- [Create Speech Request](https://docs.siliconflow.cn/api-reference/audio/create-speech): Generates audio from input text. Generates binary data of the audio, which requires the user to handle it. Refer to:https://docs.siliconflow.cn/capabilities/text-to-speech#5
- [Delete Reference Voice](https://docs.siliconflow.cn/api-reference/audio/delete-voice): Deletes user-predefined voice.
- [Upload Reference Voice](https://docs.siliconflow.cn/api-reference/audio/upload-voice): Uploads user-predefined voice in either base64 encoding or file form. Refer to:https://docs.siliconflow.cn/capabilities/text-to-speech#2-2)
- [Get Reference Voice List](https://docs.siliconflow.cn/api-reference/audio/voice-list): Retrieves the list of user-predefined voices.
...

2.3 File functions

2.3.1 /llms.txt:

  • Simplified navigation for large AI: This file provides a simplified view of the entire document navigation, making it easier for tools like Cursor or ChatGPT (LLMs) to index your content.
  • Think of it as AI-friendly search engine optimization: users can now directly find specific product information through a general LLM.

2.3.2 /llms-full.txt:

  • The file compiles all document text into a marked-up file, facilitating AI tools to directly load information into their context windows based on this file.
  • You can input the document into AI assistants like Cursor, allowing them to provide context-aware suggestions based on the specific details of your product.

2.4 Differences from existing standards:

While llms.txt overlaps in functionality with existing standards like robots.txt and sitemap.xml, their purposes and roles are different:

  • robots.txt:Used to instruct search engine crawlers which pages can or cannot be crawled, primarily focusing on access control.
  • sitemap.xml:Provides a structural map of the website to help search engines understand the layout of the pages, mainly for indexing purposes.
  • llms.txt:Provides a structured overview of content for large language models, helping AI systems better understand and process website information, enhancing interaction with AI.

3. Use in other tools

Other platforms that support the llms.txt protocol,can also use it directly. For example, in ChatGPT:

4. Further reading

  1. The /llms.txt file, https://llmstxt.org/
  2. @Docs, https://docs.cursor.com/context/@-symbols/@-docs
  3. LLMs.txt:Sitemap for AI Era, https://juejin.cn/post/7447083753187328050