From 001042af7b610432aab2a013281b74bf3aadd655 Mon Sep 17 00:00:00 2001 From: Test Date: Mon, 2 Sep 2024 14:35:56 -0700 Subject: [PATCH] Update talk-to-your-docs.md --- docs/docs/features/talk-to-your-docs.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/docs/docs/features/talk-to-your-docs.md b/docs/docs/features/talk-to-your-docs.md index d1088b4ea..73b2b6b9e 100644 --- a/docs/docs/features/talk-to-your-docs.md +++ b/docs/docs/features/talk-to-your-docs.md @@ -24,6 +24,10 @@ To enable the `@docs` context provider, you need to add it to the list of contex The `@docs` context provider works by crawling specified documentation sites, generating embeddings, and storing them locally for you. This process allows for quick and efficient access to your documentation content. +:::info +Note that we download and install a headless browser, Chromium, to crawl documentation sites. This is required to execute JavaScript on the page and ensure that we can crawl all the content. +::: + 1. We crawl the specified documentation site 2. Generate embeddings for the content 3. Store the embeddings locally on your machine @@ -37,7 +41,7 @@ We offer a selection of pre-indexed documentation sites for popular frameworks a ### Through the `@docs` Context Provider -To add a single documentation site, we recommend going through the `@docs` context provider. +To add a single documentation site, we recommend using the `@docs` context provider. 1. Type `@docs` in the chat panel, hit enter 2. Type "add" and select the "Add Docs" option @@ -58,7 +62,6 @@ The configuration schema is as follows: "startUrl": "https://docs.continue.dev/intro", "rootUrl": "https://docs.continue.dev", "faviconUrl": "https://docs.continue.dev/favicon.ico", - "maxDepth": 3 } ] ``` @@ -67,18 +70,9 @@ The configuration schema is as follows: - `startUrl`: The URL where the indexing process should begin. - `rootUrl`: The base URL of the documentation site, used to determine which pages to index. - `faviconUrl`: The URL of the site's favicon, used for visual identification in the UI. -- `maxDepth`: The maximum number of levels deep the indexer should crawl from the start URL. ## FAQ -### Why did my documentation site fail to index? - -Our current crawler is designed to work with static websites and may encounter issues with dynamic or JavaScript-heavy sites. If your documentation site failed to index, it's possible that it contains non-static elements that our crawler couldn't process. - -If you're experiencing issues with indexing a documentation site, please let us know. We're continuously improving our indexing capabilities and would appreciate your feedback to help us enhance the feature. - -Report Indexing Issues on Discord - ### How often is the indexed content updated? Currently we do not automatically re-index your docs. If you would like to force a re-index, you can use the following command: `Continue: Docs Force Re-Index`.