Update talk-to-your-docs.md

This commit is contained in:
Test 2024-09-05 12:28:56 -07:00
parent 69bf31b278
commit 67914aa667

View file

@ -24,10 +24,6 @@ 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
@ -73,7 +69,7 @@ The configuration schema is as follows:
## Crawling dynamically generated sites with `useChromiumForDocsCrawling`
By default, we use a lighter weight tool to crawl documentation sites that cannot render sites that are dynamically generated using Javascript.
By default, we use a lighter weight tool to crawl documentation sites that cannot render sites that are dynamically generated using JavaScript.
If you wish to crawl a site that is dynamically generated, or you get an error while attempting to crawl a site, you can enable the experimental `useChromiumForDocsCrawling`
feature in your `config.json`. This will download and install Chromium to `~/.continue/.utils`.