You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Documentation for LLMs: llms.txt and llms-full.txt
13
13
14
-
Search engines weren't built for Large Language Modals (LLMs). But AI needs context. That's why we created `llms.txt` and `llms-full.txt` for our documentation. These files follow the [growing standard](https://llmstxt.org/) for LLMs consumption.
14
+
Search engines weren't built for Large Language Modals (LLMs), but AI needs context. That's why we created `llms.txt` and `llms-full.txt` for our documentation. These files follow the [growing standard](https://llmstxt.org/) for LLMs consumption.
15
15
16
16
Find them here:
17
17
@@ -30,77 +30,49 @@ Find them here:
30
30
31
31
### Use llms.txt and llms-full.txt
32
32
33
-
LLMs don't automatically discover llms.txt files. You need to add the link manually. Some tools like Cursor provide settings for this.
33
+
LLMs don't automatically discover llms.txt files, you need to add the link manually. Some tools like [Cursor](https://www.cursor.com/) provide settings for this.
34
34
35
35
#### Cursor
36
36
37
-
Go to: Settings -> Cursor Settings -> Indexing & Docs -> Add Doc.
37
+
Go to: `Settings -> Cursor Settings -> Indexing & Docs -> Add Doc`.
38
38
39
-
Now, you can just provide the link to Apify `llms-full.txt`.
39
+
Now, you can just provide the link to Apify `llms-full.txt`:
40
40
41
-

42
-
43
-
#### Windsurf
41
+
```markdown
42
+
https://docs.apify.com/llms-full.txt
43
+
```
44
44
45
-
- TODO...
45
+

46
46
47
-
#### Visual Studio Code and Copilot
47
+
#### Windsurf
48
48
49
-
Open Copilot Chat mode, and add context via `#fetch`:
49
+
Open Windsurf Cascade, and add context via `@web`:
50
50
51
-

51
+

52
52
53
-
:::note Copilot and llms.txt / llms-full.txt
53
+
:::note Windsurf @docs
54
54
55
-
Copilot's official documentation doesn't cover llms.txt usage. If something doesn't work, check the official Apify documentation.
55
+
Windsurf provides the `@docs` command, but you cannot customize it. It means that you cannot add your own documentation.
56
56
57
57
:::
58
58
59
-
#### Ask AI
60
-
61
-
New to Apify? Ask questions and provide the `llms.txt` link. Popular AI models can search the web. With the right context, you get better answers:
62
-
63
-

64
-
65
-
### Use Modal Context Protocol (MCP)
59
+
#### GitHub Copilot
66
60
67
-
Context is everything with LLMs. You can add `llms.txt` and `llms-full.txt`. But there are limitations, as we mentioned with Copilot. Another way to provide context is through Modal Context Protocol (MCP) and Context7.
68
-
69
-
#### Context7
70
-
71
-
Context7 MCP pulls up-to-date documentation and code examples from the source. It places them directly into your prompt. Find more information on the [Context7](https://context7.com/) website.
72
-
73
-
#### Install Context7
74
-
75
-
Go to: Settings -> Cursor Settings -> Tools & Integrations -> New MCP Server
61
+
Open Copilot Chat mode, and add context via `#fetch`:
76
62
77
-
Add this configuration to your `mcp.json` file:
63
+

78
64
79
-
```json
80
-
{
81
-
"mcpServers": {
82
-
"context7": {
83
-
"url": "https://mcp.context7.com/mcp"
84
-
}
85
-
}
86
-
}
87
-
```
65
+
:::note GitHub Copilot and documentation
88
66
89
-
:::tip Check official guides for other IDEs
90
-
91
-
Find a guide for your favorite IDE on the [official installation page](https://github.com/upstash/context7?tab=readme-ov-file#%EF%B8%8F-installation).
67
+
Similar to Windsurf, GitHub Copilot does not provide an option for adding your own documentation.
92
68
93
69
:::
94
70
95
-
#### Use Context7
96
-
97
-
Context7 fetches up-to-date code examples and documentation into your LLM's context.
71
+
#### Ask AI
98
72
99
-
- Write your prompt naturally
100
-
- Tell the LLM to use context7
101
-
- Get working code answers
73
+
New to Apify? Ask questions and provide the `llms.txt` link. Popular AI models can search the web. With the right context, you get better answers:
0 commit comments