From 02a1259215286b6e7f177efe3994f054671e11d9 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:48:37 +0530 Subject: [PATCH 1/8] correct all Github to be GitHub (H uppercase) --- docs/docs/customize/deep-dives/docs.mdx | 11 ++++++----- docs/docs/hub/blocks/block-types.md | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/docs/customize/deep-dives/docs.mdx b/docs/docs/customize/deep-dives/docs.mdx index b21f78092..310c64df2 100644 --- a/docs/docs/customize/deep-dives/docs.mdx +++ b/docs/docs/customize/deep-dives/docs.mdx @@ -70,7 +70,7 @@ To add a single documentation site, we recommend using the **Add Documentation** In the **Add Documentation** Form, enter a `Title` and `Start URL` for the site. -- `Title`: The name of the documentation site, used for identification in the UI +- `Title`: The name of the documentation site, used for identification in the UI. - `Start URL`: The URL where the indexing process should begin. Indexing will begin upon submission. Progress can be viewed in the form or later in the `@docs indexes` section of the `More` page. @@ -154,9 +154,9 @@ As with [@Codebase context provider configuration](./codebase#configuration), yo -### Github +### GitHub -The Github API rate limits public requests to 60 per hour. If you want to reliably index Github repos, you can add a github token to your config file: +The GitHub API rate limits public requests to 60 per hour. If you want to reliably index GitHub repos, you can add a github token to your config file: @@ -223,7 +223,7 @@ Chromium crawling has been deprecated Further notes: - If the site is only locally accessible, the default crawler will fail anyways and fall back to the local crawler. `useLocalCrawling` is especially useful if the URL itself is confidential. -- For Github Repos this has no effect because only the Github Crawler will be used, and if the repo is private it can only be accessed with a priveleged Github token anyways. +- For GitHub Repos this has no effect because only the GitHub Crawler will be used, and if the repo is private it can only be accessed with a priveleged GitHub token anyways. ## Managing your docs indexes @@ -237,6 +237,7 @@ You can view indexing statuses and manage your documentation sites from the `@do ![More Page @docs indexes section](/img/docs-indexes.png) You can also view the overall status of currently indexing docs from a hideable progress bar at the bottom of the chat page + ![Documentation indexing peek](/img/docs-indexing-peek.png) You can also use the following IDE command to force a re-index of all docs: `Continue: Docs Force Re-Index`. @@ -327,7 +328,7 @@ The following configuration example includes: - Examples of both public and private documentation sources - A custom embeddings provider - A reranker model available, with reranking parameters customized -- A Github token to enable Github crawling +- A GitHub token to enable GitHub crawling diff --git a/docs/docs/hub/blocks/block-types.md b/docs/docs/hub/blocks/block-types.md index 0c2698542..9792b3fdb 100644 --- a/docs/docs/hub/blocks/block-types.md +++ b/docs/docs/hub/blocks/block-types.md @@ -15,7 +15,7 @@ Continue supports [many model providers](../../customize/model-providers), inclu ## Context -Context blocks define a context provider which can be referenced in Chat with `@` to pull in data from external sources such as files and folders, a URL, Jira or Confluence, and Github issues, among others. [Explore context provider blocks](https://hub.continue.dev/explore/context) on the hub. +Context blocks define a context provider which can be referenced in Chat with `@` to pull in data from external sources such as files and folders, a URL, Jira or Confluence, and GitHub issues, among others. [Explore context provider blocks](https://hub.continue.dev/explore/context) on the hub. Learn more about context providers [here](../../reference.md#context), and check out [this guide](../../customize/tutorials/build-your-own-context-provider.mdx) to creating your own custom context provider. The `config.yaml` spec for context can be found [`here`](../../reference.md#context). From 8df0c161a510d2503856e0e10ff5616eacc25317 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:48:58 +0530 Subject: [PATCH 2/8] missing spaces in asksage --- docs/docs/customize/model-providers/more/asksage.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/customize/model-providers/more/asksage.mdx b/docs/docs/customize/model-providers/more/asksage.mdx index 675cedc7f..b7d7ede26 100644 --- a/docs/docs/customize/model-providers/more/asksage.mdx +++ b/docs/docs/customize/model-providers/more/asksage.mdx @@ -4,7 +4,7 @@ import TabItem from "@theme/TabItem"; import Tabs from "@theme/Tabs"; :::info -To get an Ask Sage API key login to the Ask Sage platform (If you don't have an account, you can create one [here](https://chat.asksage.ai/)) and follow the instructions in the Ask Sage Docs:[Ask Sage API Key](https://docs.asksage.ai/docs/api-documentation/api-documentation.html) +To get an Ask Sage API key login to the Ask Sage platform (If you don't have an account, you can create one [here](https://chat.asksage.ai/)) and follow the instructions in the Ask Sage Docs: [Ask Sage API Key](https://docs.asksage.ai/docs/api-documentation/api-documentation.html) ::: ## Configuration @@ -55,7 +55,7 @@ Currently, the setup for the models provided by Ask Sage is to support the follo More models, functionalities and documentation will be added in the future for Ask Sage Integration. -> We recommend to utilize the`OpenAI` or `Anthropic` models for the best performance and results for the `Chat` and `Edit` functionalities. +> We recommend to utilize the `OpenAI` or `Anthropic` models for the best performance and results for the `Chat` and `Edit` functionalities. ## Ask Sage Documentation From 21492af01abc9f2b37b24d83206ffcd405e6f71b Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:49:18 +0530 Subject: [PATCH 3/8] incorrect punctuation (siliconflow) --- docs/docs/customize/model-providers/more/siliconflow.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/customize/model-providers/more/siliconflow.mdx b/docs/docs/customize/model-providers/more/siliconflow.mdx index a496d3757..79ccd8e71 100644 --- a/docs/docs/customize/model-providers/more/siliconflow.mdx +++ b/docs/docs/customize/model-providers/more/siliconflow.mdx @@ -81,8 +81,8 @@ We recommend configuring **Qwen/Qwen2.5-Coder-7B-Instruct** as your autocomplete ## Embeddings model -SiliconFlow provide some embeddings models, [Click here](https://siliconflow.cn/models) to see a list of embeddings models. +SiliconFlow provide some embeddings models. [Click here](https://siliconflow.cn/models) to see a list of embeddings models. ## Reranking model -SiliconFlow provide some reranking models, [Click here](https://siliconflow.cn/models) to see a list of reranking models. +SiliconFlow provide some reranking models. [Click here](https://siliconflow.cn/models) to see a list of reranking models. From 93e23ddbce9b2d044235773a3996eb5e5466cfee Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:49:48 +0530 Subject: [PATCH 4/8] add local chat config for `msty` --- docs/docs/customize/model-roles/chat.mdx | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/docs/docs/customize/model-roles/chat.mdx b/docs/docs/customize/model-roles/chat.mdx index aca683782..781ce37d9 100644 --- a/docs/docs/customize/model-roles/chat.mdx +++ b/docs/docs/customize/model-roles/chat.mdx @@ -257,6 +257,14 @@ If your local machine can run an 8B parameter model, then we recommend running L model: llama3.1:8b ``` + + ```yaml title="config.yaml" + models: + - name: Llama 3.1 8B + provider: msty + model: llama3.1:8b + ``` + @@ -287,6 +295,19 @@ If your local machine can run an 8B parameter model, then we recommend running L } ``` + + ```json title="config.json" + { + "models": [ + { + "title": "Llama 3.1 8B", + "provider": "msty", + "model": "llama3.1-8b" + } + ] + } + ``` + @@ -325,6 +346,14 @@ If your local machine can run a 16B parameter model, then we recommend running D model: deepseek-coder-v2:16b ``` + + ```yaml title="config.yaml" + models: + - name: DeepSeek Coder 2 16B + provider: msty + model: deepseek-coder-v2:16b + ``` + @@ -356,6 +385,19 @@ If your local machine can run a 16B parameter model, then we recommend running D } ``` + + ```json title="config.json" + { + "models": [ + { + "title": "DeepSeek Coder 2 16B", + "provider": "msty", + "model": "deepseek-coder-v2:16b" + } + ] + } + ``` + From 22fb6aa28df0e5b17b0afd2f41532439a16b0407 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:50:00 +0530 Subject: [PATCH 5/8] fix tab space in edit doc --- docs/docs/customize/model-roles/edit.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/customize/model-roles/edit.mdx b/docs/docs/customize/model-roles/edit.mdx index de817ed42..467582ad5 100644 --- a/docs/docs/customize/model-roles/edit.mdx +++ b/docs/docs/customize/model-roles/edit.mdx @@ -29,8 +29,8 @@ In Continue, you can add `edit` to a model's roles to specify that it can be use Set the `experimental.modelRoles.inlineEdit` property in `config.json`. ```json title="config.json" { - "models": { - "name": "Claude 3.5 Sonnet", + "models": { + "name": "Claude 3.5 Sonnet", "provider": "anthropic", "model": "claude-3-5-sonnet-latest", "apiKey": "" From ce5dac30afa195e14e86f098abc4411658548904 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:50:33 +0530 Subject: [PATCH 6/8] fix grammar (custom-code-rag) --- docs/docs/customize/tutorials/custom-code-rag.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/customize/tutorials/custom-code-rag.mdx b/docs/docs/customize/tutorials/custom-code-rag.mdx index f5e43dc8e..6bd1b3f0c 100644 --- a/docs/docs/customize/tutorials/custom-code-rag.mdx +++ b/docs/docs/customize/tutorials/custom-code-rag.mdx @@ -22,7 +22,7 @@ Most embeddings models can only handle a limited amount of text at once. To get If you use `voyage-code-3`, it has a maximum context length of 16,000 tokens, which is enough to fit most files. This means that in the beginning you can get away with a more naive strategy of truncating files that exceed the limit. In order of easiest to most comprehensive, 3 chunking strategies you can use are: 1. Truncate the file when it goes over the context length: in this case you will always have 1 chunk per file. -2. Split the file into chunks of a fixed length: starting at the top of the file, add lines you your current chunk until it reaches the limit, then start a new chunk. +2. Split the file into chunks of a fixed length: starting at the top of the file, add lines in your current chunk until it reaches the limit, then start a new chunk. 3. Use a recursive, abstract syntax tree (AST)-based strategy: this is the most exact, but most complex. In most cases you can achieve high quality results by using (1) or (2), but if you'd like to try this you can find a reference example in [our code chunker](https://github.com/continuedev/continue/blob/main/core/indexing/chunk/code.ts) or in [LlamaIndex](https://docs.llamaindex.ai/en/stable/api_reference/node_parsers/code/). As usual in this guide, we recommend starting with the strategy that gives 80% of the benefit with 20% of the effort. @@ -79,7 +79,7 @@ Regardless of which database or model you have chosen, your script should iterat In a perfect production version, you would want to build "automatic, incremental indexing", so that you whenever a file changes, that file and nothing else is automatically re-indexed. This has the benefits of perfectly up-to-date embeddings and lower cost. -That said, we highly recommend first building and testing the pipeline before attempting this. Unless your codebase is being entirely rewritten frequently, a full refresh of the index is likely to be sufficient and reasonably cheap. +That said, we highly recommend first building and testing the pipeline before attempting this. Unless your codebase is being entirely rewritten frequently, an incremental refresh of the index is likely to be sufficient and reasonably cheap. ::: At this point, you've written your indexing script and tested that you can make queries from your vector database. Now, you'll want a plan for when to run the indexing script. From f59ecd82bfe03b0e9965cd9a3b17496fd67627a0 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:50:53 +0530 Subject: [PATCH 7/8] correct abi key name for cerebras --- docs/docs/customize/tutorials/llama3.1.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/customize/tutorials/llama3.1.mdx b/docs/docs/customize/tutorials/llama3.1.mdx index 413214fb4..bb65be947 100644 --- a/docs/docs/customize/tutorials/llama3.1.mdx +++ b/docs/docs/customize/tutorials/llama3.1.mdx @@ -198,7 +198,7 @@ Cerebras Inference uses specialized silicon to provides fast inference for the L - name: Cerebras Llama 3.1 70B provider: cerebras model: llama3.1-70b - apiKey: + apiKey: ``` @@ -209,7 +209,7 @@ Cerebras Inference uses specialized silicon to provides fast inference for the L "title": "Cerebras Llama 3.1 70B", "provider": "cerebras", "model": "llama3.1-70b", - "apiKey": "" + "apiKey": "" } ] } From 6ff60e042d5834303a7029d4f820de75eb0e5169 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:51:12 +0530 Subject: [PATCH 8/8] remove duplicate discord joining link (set-up-codestral) --- docs/docs/customize/tutorials/set-up-codestral.mdx | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/docs/customize/tutorials/set-up-codestral.mdx b/docs/docs/customize/tutorials/set-up-codestral.mdx index 97ec3c981..ab73fbcd2 100644 --- a/docs/docs/customize/tutorials/set-up-codestral.mdx +++ b/docs/docs/customize/tutorials/set-up-codestral.mdx @@ -59,6 +59,3 @@ import TabItem from "@theme/TabItem"; 5. If you run into any issues or have any questions, please join our Discord and post in the `#help` channel [here](https://discord.gg/EfJEfdFnDQ) -### Ask for help on Discord - -Please join our Discord and post in the `#help` channel [here](https://discord.gg/EfJEfdFnDQ) if you are having problems using Codestral