Update talk-to-your-docs.md
This commit is contained in:
parent
776fd5cefb
commit
001042af7b
1 changed files with 5 additions and 11 deletions
|
|
@ -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.
|
||||
|
||||
<a href="https://discord.com/channels/1108621136150929458/1156679146932535376" className="button button--primary">Report Indexing Issues on Discord</a>
|
||||
|
||||
### 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`.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue