From e8d065c8d1cac5f8e1a0e38bb57575c705800515 Mon Sep 17 00:00:00 2001 From: Nico Albanese Date: Tue, 26 Nov 2024 14:53:15 +0000 Subject: [PATCH] update --- content/docs/01-introduction/index.mdx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/content/docs/01-introduction/index.mdx b/content/docs/01-introduction/index.mdx index 7069c9cbd721..9c4d0abf774c 100644 --- a/content/docs/01-introduction/index.mdx +++ b/content/docs/01-introduction/index.mdx @@ -47,3 +47,22 @@ We've built some [templates](https://vercel.com/templates?type=ai) that include ## Join our Community If you have questions about anything related to the AI SDK, you're always welcome to ask our community on [GitHub Discussions](https://github.com/vercel/ai/discussions). + +## `llms.txt` + +You can access the entire AI SDK documentation in Markdown format at [sdk.vercel.ai/llms.txt](/llms.txt). This can be used to ask any LLM (assuming it has a big enough context window) questions about the AI SDK based on the most up-to-date documentation. + +### Example Usage + +For instance, to prompt an LLM with questions about the AI SDK: + +1. Copy the documentation contents from [sdk.vercel.ai/llms.txt](/llms.txt) +2. Use the following prompt format: + +```prompt +Documentation: +{paste documentation here} +--- +Based on the above documentation, answer the following: +{your question} +```