diff --git a/docs/docs/reference/context-providers.md b/docs/docs/docs/context-providers.md similarity index 100% rename from docs/docs/reference/context-providers.md rename to docs/docs/docs/context-providers.md diff --git a/docs/docs/docs/data/development-data.md b/docs/docs/docs/development-data.md similarity index 91% rename from docs/docs/docs/data/development-data.md rename to docs/docs/docs/development-data.md index 6432197b3..5380eb7e7 100644 --- a/docs/docs/docs/data/development-data.md +++ b/docs/docs/docs/development-data.md @@ -1,11 +1,9 @@ --- -title: 🧑‍💻 Development data +title: Development data description: Collecting data on how you build software keywords: [development data, dev data, LLM-aided development] --- -# 🧑‍💻 Development Data - When you use Continue, you automatically collect data on how you build software. By default, this development data is saved to `.continue/dev_data` on your local machine. When combined with the code that you ultimately commit, it can be used to improve the LLM that you or your team use (if you allow). You can read more about how development data is generated as a byproduct of LLM-aided development and why we believe that you should start collecting it now: [It’s time to collect data on how you build software](https://blog.continue.dev/its-time-to-collect-data-on-how-you-build-software) diff --git a/docs/docs/docs/edit/advanced-configuration.md b/docs/docs/docs/edit/advanced-configuration.md index 872f036e6..619bbd6cd 100644 --- a/docs/docs/docs/edit/advanced-configuration.md +++ b/docs/docs/docs/edit/advanced-configuration.md @@ -7,7 +7,7 @@ keywords: [edit, cmd l, works] You can configure a particular model to be used for Edit using the `inlineEdit` property. -```json title="~/.continue/config.json" +```json title="config.json" "experimental": { "modelRoles": { "inlineEdit": "MODEL_TITLE", diff --git a/docs/docs/docs/quickstart/install.md b/docs/docs/docs/getting-started/install.md similarity index 100% rename from docs/docs/docs/quickstart/install.md rename to docs/docs/docs/getting-started/install.md diff --git a/docs/docs/docs/quickstart/overview.mdx b/docs/docs/docs/getting-started/overview.mdx similarity index 89% rename from docs/docs/docs/quickstart/overview.mdx rename to docs/docs/docs/getting-started/overview.mdx index f3486e8ff..3d76ec976 100644 --- a/docs/docs/docs/quickstart/overview.mdx +++ b/docs/docs/docs/getting-started/overview.mdx @@ -23,22 +23,22 @@ To get a quick sense of how to use the most common features of Continue, check o - + Tab through Autocomplete suggestions that intelligently reference import statements, recently used files, clipboard content, and more. ![autocomplete](/img/autocomplete.gif) - + Learn more about [Autocomplete](../autocomplete.md) - + Edit is a convenient way to modify code without leaving your current file. Highlight a block of code, describe your code changes, and a diff will be streamed inline to your file which you can accept or reject. ![edit](/img/edit.gif) - + Learn more about [Edit](http://LINK-TODO) diff --git a/docs/docs/docs/introduction.md b/docs/docs/docs/introduction.md index 5495e30d7..e0222460d 100644 --- a/docs/docs/docs/introduction.md +++ b/docs/docs/docs/introduction.md @@ -1,6 +1,7 @@ --- title: Introduction description: The open-source AI code assistant for developers +slug: /docs keywords: [continue, AI, code assistant, autocomplete, chat, VS Code, JetBrains] --- diff --git a/docs/docs/reference/slash-commands.md b/docs/docs/docs/slash-commands.md similarity index 99% rename from docs/docs/reference/slash-commands.md rename to docs/docs/docs/slash-commands.md index 8f68c19cc..c77871f6c 100644 --- a/docs/docs/reference/slash-commands.md +++ b/docs/docs/docs/slash-commands.md @@ -133,7 +133,7 @@ You can add custom slash commands by adding to the `customCommands` property in Custom commands are great when you are frequently reusing a prompt. For example, if you've crafted a great prompt and frequently ask the LLM to check for mistakes in your code, you could add a command like this: -```json title="~/.continue/config.json" +```json title="config.json" customCommands=[{ "name": "check", "description": "Check for mistakes in my code", diff --git a/docs/docs/docs/data/telemetry.md b/docs/docs/docs/telemetry.md similarity index 94% rename from docs/docs/docs/data/telemetry.md rename to docs/docs/docs/telemetry.md index 144e8cd59..4a6ca3182 100644 --- a/docs/docs/docs/data/telemetry.md +++ b/docs/docs/docs/telemetry.md @@ -4,8 +4,6 @@ description: Learn how Continue collects anonymous usage information and how you keywords: [telemetry, anonymous, usage info, opt out] --- -# Telemetry - ## Overview Continue collects and reports **anonymous** usage information to help us improve our product. This data enables us to understand user interactions and optimize the user experience effectively. You can opt out of telemetry collection at any time if you prefer not to share your usage information. @@ -30,9 +28,9 @@ The following usage information is collected and reported: You can disable anonymous telemetry by modifying the `config.json` file located in the `~/.continue` directory. This file typically includes the following entry: -```json title="~/.continue/config.json" +```json title="config.json" { - "allowAnonymousTelemetry": true, + "allowAnonymousTelemetry": true } ``` diff --git a/docs/docs/reference/troubleshooting.md b/docs/docs/docs/troubleshooting.md similarity index 100% rename from docs/docs/reference/troubleshooting.md rename to docs/docs/docs/troubleshooting.md diff --git a/docs/docs/reference/config.mdx b/docs/docs/reference/config.mdx index 8fd065ae3..b86e1ed0e 100644 --- a/docs/docs/reference/config.mdx +++ b/docs/docs/reference/config.mdx @@ -1,3 +1,8 @@ +--- +slug: /reference +keywords: [config.json, configuration, options] +--- + import Schema from "@site/static/schemas/config.json"; import JSONSchemaViewer from "@theme/JSONSchemaViewer"; diff --git a/docs/docs/reference/deep-dives/codebase-retrieval.md b/docs/docs/reference/deep-dives/codebase.md similarity index 98% rename from docs/docs/reference/deep-dives/codebase-retrieval.md rename to docs/docs/reference/deep-dives/codebase.md index 5a7e6ac0c..8d5fef254 100644 --- a/docs/docs/reference/deep-dives/codebase-retrieval.md +++ b/docs/docs/reference/deep-dives/codebase.md @@ -1,9 +1,10 @@ --- -title: Codebase Retrieval description: Talk to your codebase keywords: [talk, embeddings, reranker, codebase, experimental] --- +# @codebase + Continue indexes your codebase so that it can later automatically pull in the most relevant context from throughout your workspace. This is done via a combination of embeddings-based retrieval and keyword search. By default, all embeddings are calculated locally with `all-MiniLM-L6-v2` and stored locally in `~/.continue/index`. Currently, the codebase retrieval feature is available as the "codebase" and "folder" context providers. You can use them by typing `@codebase` or `@folder` in the input box, and then asking a question. The contents of the input box will be compared with the embeddings from the rest of the codebase (or folder) to determine relevant files. @@ -35,7 +36,7 @@ Here are use cases where it is not useful: There are a few options that let you configure the behavior of the codebase context provider. These can be set in `config.json`, and are the same for the codebase and folder context providers: -```json title="~/.continue/config.json" +```json title="config.json" { "contextProviders": [ { diff --git a/docs/docs/reference/deep-dives/talk-to-your-docs.md b/docs/docs/reference/deep-dives/docs.md similarity index 99% rename from docs/docs/reference/deep-dives/talk-to-your-docs.md rename to docs/docs/reference/deep-dives/docs.md index d1088b4ea..c7777816a 100644 --- a/docs/docs/reference/deep-dives/talk-to-your-docs.md +++ b/docs/docs/reference/deep-dives/docs.md @@ -1,10 +1,11 @@ --- -title: Talk To Your Docs description: Learn how to access and search your project's documentation directly within Continue -keywords: [documentation, indexing, context provider, embeddings] +keywords: [documentation, indexing, context provider, embeddings, docs] toc_max_heading_level: 5 --- +# @docs + The [`@docs` context provider](http://localhost:3000/customization/context-providers#documentation) allows you to interact with your documentation directly within Continue. This feature enables you to index any static site or GitHub markdown pages, making it easier to access and utilize your documentation while coding. ## Enabling the `@docs` context provider diff --git a/docs/docs/reference/deep-dives/quick-actions.md b/docs/docs/reference/deep-dives/quick-actions.md index a59f8e960..b86fe597c 100644 --- a/docs/docs/reference/deep-dives/quick-actions.md +++ b/docs/docs/reference/deep-dives/quick-actions.md @@ -1,7 +1,7 @@ --- -title: Quick Actions (experimental, VS Code only) +title: Quick actions (experimental, VS Code only) description: Quick Actions streamline your development workflow by allowing quick edits on selected classes or functions -keywords: [experimental, automate, configuration] +keywords: [experimental, automate, configuration, quick, actions] toc_max_heading_level: 5 --- diff --git a/docs/docs/reference/deep-dives/tab-autocomplete.md b/docs/docs/reference/deep-dives/tab-autocomplete.md index 008358776..9280fe5f3 100644 --- a/docs/docs/reference/deep-dives/tab-autocomplete.md +++ b/docs/docs/reference/deep-dives/tab-autocomplete.md @@ -1,4 +1,7 @@ -# Tab Autocomplete (beta) +--- +title: Tab autocomplete +keywords: [tab, autocomplete] +--- Continue now provides support for tab autocomplete in [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains IDEs](https://plugins.jetbrains.com/plugin/22707-continue/edit). We will be greatly improving the experience over the next few releases, and it is always helpful to hear feedback. If you have any problems or suggestions, please let us know in our [Discord](https://discord.gg/vapESyrFmJ). diff --git a/docs/docs/reference/embeddings-providers/cohere.md b/docs/docs/reference/embeddings-providers/cohere.md index 0ea0c57a5..099d388de 100644 --- a/docs/docs/reference/embeddings-providers/cohere.md +++ b/docs/docs/reference/embeddings-providers/cohere.md @@ -4,7 +4,7 @@ title: Cohere Configuration for the `embed-english-v3.0` model. This is the default. -```json title="~/.continue/config.json" +```json title="config.json" { "embeddingsProvider": { "provider": "cohere", diff --git a/docs/docs/reference/embeddings-providers/gemini.md b/docs/docs/reference/embeddings-providers/gemini.md index 5c771c0b6..a09c7a53f 100644 --- a/docs/docs/reference/embeddings-providers/gemini.md +++ b/docs/docs/reference/embeddings-providers/gemini.md @@ -6,7 +6,7 @@ Gemini's _Text Embedding_ model is optimized for creating embeddings with 768 di As of May 2024, the only available embedding model from Gemini is [`text-embedding-004`](https://ai.google.dev/gemini-api/docs/models/gemini#text-embedding-and-embedding). -```json title="~/.continue/config.json" +```json title="config.json" { "embeddingsProvider": { "provider": "gemini", diff --git a/docs/docs/reference/embeddings-providers/hf-tei.md b/docs/docs/reference/embeddings-providers/hf-tei.md index d1f3c63a5..a4781a69f 100644 --- a/docs/docs/reference/embeddings-providers/hf-tei.md +++ b/docs/docs/reference/embeddings-providers/hf-tei.md @@ -4,7 +4,7 @@ title: Hugging Face Text Embeddings Inference [Hugging Face Text Embeddings Inference](https://huggingface.co/docs/text-embeddings-inference/en/index) enables you to host your own embeddings endpoint. You can configure embeddings to use your endpoint as follows: -```json title="~/.continue/config.json" +```json title="config.json" { "embeddingsProvider": { "provider": "huggingface-tei", diff --git a/docs/docs/reference/embeddings-providers/ollama.md b/docs/docs/reference/embeddings-providers/ollama.md index 49f66174f..87169e442 100644 --- a/docs/docs/reference/embeddings-providers/ollama.md +++ b/docs/docs/reference/embeddings-providers/ollama.md @@ -4,7 +4,7 @@ title: Ollama [Ollama](https://ollama.ai) is the easiest way to get up and running with open-source language models. It provides an entirely local REST API for working with LLMs, including generating embeddings. We recommend using an embeddings model like `nomic-embed-text`: -```json title="~/.continue/config.json" +```json title="config.json" { "embeddingsProvider": { "provider": "ollama", diff --git a/docs/docs/reference/embeddings-providers/openai.md b/docs/docs/reference/embeddings-providers/openai.md index ba9917745..e7ac7dc8a 100644 --- a/docs/docs/reference/embeddings-providers/openai.md +++ b/docs/docs/reference/embeddings-providers/openai.md @@ -8,7 +8,7 @@ title: Open AI This is default. The `text-embedding-3-small` model offers an outstanding balance between performance and efficiency, suitable for a versatile range of applications. -```json title="~/.continue/config.json" +```json title="config.json" { "embeddingsProvider": { "provider": "openai", @@ -23,7 +23,7 @@ This is default. The `text-embedding-3-small` model offers an outstanding balanc For those requiring the highest level of embedding detail and precision, the `text-embedding-3-large` model is the better choice. -```json title="~/.continue/config.json" +```json title="config.json" { "embeddingsProvider": { "provider": "openai", @@ -38,7 +38,7 @@ For those requiring the highest level of embedding detail and precision, the `te For certain scenarios, you may still find the `text-embedding-ada-002` model relevant. Below is the configuration example: -```json title="~/.continue/config.json" +```json title="config.json" { "embeddingsProvider": { "provider": "openai", diff --git a/docs/docs/reference/embeddings-providers/transformers.md b/docs/docs/reference/embeddings-providers/transformers.md index d624dfa00..d22de4142 100644 --- a/docs/docs/reference/embeddings-providers/transformers.md +++ b/docs/docs/reference/embeddings-providers/transformers.md @@ -8,7 +8,7 @@ Note that Transformers.js is currently only available in VS Code [Transformers.js](https://huggingface.co/docs/transformers.js/index) is a JavaScript port of the popular [Transformers](https://huggingface.co/transformers/) library. It allows embeddings to be calculated locally in the browser (or in this case inside of the sidebar of your IDE). The model used is `all-MiniLM-L6-v2`, which is shipped alongside the Continue extension and generates embeddings of size 384. -```json title="~/.continue/config.json" +```json title="config.json" { "embeddingsProvider": { "provider": "transformers.js" diff --git a/docs/docs/reference/embeddings-providers/voyage.md b/docs/docs/reference/embeddings-providers/voyage.md index f6a32c2d1..42b805f5f 100644 --- a/docs/docs/reference/embeddings-providers/voyage.md +++ b/docs/docs/reference/embeddings-providers/voyage.md @@ -4,7 +4,7 @@ title: Voyage AI Voyage AI offers the best embeddings for code with their voyage-code-2 model. After obtaining an API key from [here](https://www.voyageai.com/), you can configure like this: -```json title="~/.continue/config.json" +```json title="config.json" { "embeddingsProvider": { "provider": "openai", diff --git a/docs/docs/reference/tutorials/llama3.1.md b/docs/docs/reference/guides/llama3.1.md similarity index 93% rename from docs/docs/reference/tutorials/llama3.1.md rename to docs/docs/reference/guides/llama3.1.md index 3e0aff423..356d3d29b 100644 --- a/docs/docs/reference/tutorials/llama3.1.md +++ b/docs/docs/reference/guides/llama3.1.md @@ -18,7 +18,7 @@ Ollama is the fastest way to get up and running with local language models. We r 2. Open a terminal and run `ollama run llama3.1:8b` 3. Change your Continue config file like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -37,7 +37,7 @@ Groq provides the fastest available inference for open-source language models, i 1. Obtain an API key [here](https://console.groq.com/keys) 2. Update your Continue config file like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -58,7 +58,7 @@ Together AI provides fast and reliable inference of open-source models. You'll b 2. Copy your API key that appears on the welcome screen 3. Update your Continue config file like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -78,7 +78,7 @@ Replicate makes it easy to host and run open-source AI with an API. 1. Get your Replicate API key [here](https://replicate.ai/) 2. Change your Continue config file like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/tutorials/running-continue-without-internet.md b/docs/docs/reference/guides/running-continue-without-internet.md similarity index 100% rename from docs/docs/reference/tutorials/running-continue-without-internet.md rename to docs/docs/reference/guides/running-continue-without-internet.md diff --git a/docs/docs/reference/tutorials/set-up-codestral.md b/docs/docs/reference/guides/set-up-codestral.md similarity index 96% rename from docs/docs/reference/tutorials/set-up-codestral.md rename to docs/docs/reference/guides/set-up-codestral.md index 06204764d..c7a410f74 100644 --- a/docs/docs/reference/tutorials/set-up-codestral.md +++ b/docs/docs/reference/guides/set-up-codestral.md @@ -16,7 +16,7 @@ keywords: [codestral, mistral, model setup] 4. To use Codestral as your model for both `autocomplete` and `chat`, replace `[API_KEY]` with your Mistral API key below and add it to your `config.json` file: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -43,7 +43,7 @@ keywords: [codestral, mistral, model setup] Mistral AI recently changed the API endpoint to `codestral.mistral.ai` instead of `api.mistral.ai`, and our updated JetBrains extension is waiting on approval from the store. In the meantime, you will have to specify apiBase as `https://codestral.mistral.ai/v1` in the config.json like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/anthropicllm.md b/docs/docs/reference/llm-providers/anthropicllm.md index a29bf34a9..6c7cf837b 100644 --- a/docs/docs/reference/llm-providers/anthropicllm.md +++ b/docs/docs/reference/llm-providers/anthropicllm.md @@ -2,7 +2,7 @@ To setup Anthropic, obtain an API key from [here](https://www.anthropic.com/api) and add the following to your `config.json` file: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/azure.md b/docs/docs/reference/llm-providers/azure.md index 7ae359910..a8c80987e 100644 --- a/docs/docs/reference/llm-providers/azure.md +++ b/docs/docs/reference/llm-providers/azure.md @@ -12,7 +12,7 @@ You need to apply for access to the Azure OpenAI service. Response times are typ You can configure Azure OpenAI service through the UI, or you can configure it manually in `config.json`. -```json title="~/.continue/config.json" +```json title="config.json" "models": [{ "title": "Azure OpenAI", "provider": "azure", diff --git a/docs/docs/reference/llm-providers/bedrock.md b/docs/docs/reference/llm-providers/bedrock.md index 274bcbae6..afdd9f55b 100644 --- a/docs/docs/reference/llm-providers/bedrock.md +++ b/docs/docs/reference/llm-providers/bedrock.md @@ -2,7 +2,7 @@ To setup Bedrock, add the following to your `config.json` file: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/bedrockimport.md b/docs/docs/reference/llm-providers/bedrockimport.md index 3efc80dc2..e71d703e6 100644 --- a/docs/docs/reference/llm-providers/bedrockimport.md +++ b/docs/docs/reference/llm-providers/bedrockimport.md @@ -2,7 +2,7 @@ To setup Bedrock using custom imported models, add the following to your `config.json` file: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/cloudflare.md b/docs/docs/reference/llm-providers/cloudflare.md index 749472a45..5281cba79 100644 --- a/docs/docs/reference/llm-providers/cloudflare.md +++ b/docs/docs/reference/llm-providers/cloudflare.md @@ -2,7 +2,7 @@ Cloudflare Workers AI can be used for both chat and tab autocompletion in Continue. To setup Cloudflare Workers AI, add the following to your `config.json` file: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/cohere.md b/docs/docs/reference/llm-providers/cohere.md index 06906470c..3f48ebaab 100644 --- a/docs/docs/reference/llm-providers/cohere.md +++ b/docs/docs/reference/llm-providers/cohere.md @@ -2,7 +2,7 @@ To setup Cohere, add the following to your `config.json` file: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/deepinfra.md b/docs/docs/reference/llm-providers/deepinfra.md index 0745232ca..f79824cce 100644 --- a/docs/docs/reference/llm-providers/deepinfra.md +++ b/docs/docs/reference/llm-providers/deepinfra.md @@ -2,7 +2,7 @@ [DeepInfra](https://deepinfra.com) provides inference for open-source models at very low cost. To get started with DeepInfra, obtain your API key [here](https://deepinfra.com/dash). Then, find the model you want to use [here](https://deepinfra.com/models?type=text-generation) and copy the name of the model. Continue can then be configured to use the `DeepInfra` LLM class, like the example here: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/deepseek.md b/docs/docs/reference/llm-providers/deepseek.md index af16f3749..4de5e1396 100644 --- a/docs/docs/reference/llm-providers/deepseek.md +++ b/docs/docs/reference/llm-providers/deepseek.md @@ -2,7 +2,7 @@ To setup DeepSeek, obtain an API key from [here](https://www.deepseek.com/) and add the following to your `config.json` file: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/flowise.md b/docs/docs/reference/llm-providers/flowise.md index d63f77130..f860d966b 100644 --- a/docs/docs/reference/llm-providers/flowise.md +++ b/docs/docs/reference/llm-providers/flowise.md @@ -2,7 +2,7 @@ [Flowise](https://flowiseai.com/) is a low-code/no-code drag & drop tool with the aim to make it easy for people to visualize and build LLM apps. Continue can then be configured to use the `Flowise` LLM class, like the example here: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/freetrial.md b/docs/docs/reference/llm-providers/freetrial.md index ea402cc58..7c0f6afce 100644 --- a/docs/docs/reference/llm-providers/freetrial.md +++ b/docs/docs/reference/llm-providers/freetrial.md @@ -17,7 +17,7 @@ Ollama is a local service that makes it easy to run language models on your lapt 2. Open `~/.continue/config.json`. You can do this by clicking the gear icon in the bottom right corner of the Continue sidebar 3. Add the following to your `config.json`: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -36,7 +36,7 @@ Groq provides lightning fast inference for open-source LLMs like Llama3, up to t 1. Obtain an API key from https://console.groq.com 2. Add the following to your `config.json`: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -54,7 +54,7 @@ Groq provides lightning fast inference for open-source LLMs like Llama3, up to t 1. Copy your API key from https://platform.openai.com/account/api-keys 2. Add the following to your `config.json`: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/geminiapi.md b/docs/docs/reference/llm-providers/gemini.md similarity index 93% rename from docs/docs/reference/llm-providers/geminiapi.md rename to docs/docs/reference/llm-providers/gemini.md index 2971eba6f..f94f80970 100644 --- a/docs/docs/reference/llm-providers/geminiapi.md +++ b/docs/docs/reference/llm-providers/gemini.md @@ -1,8 +1,8 @@ -# Gemini API +# Gemini The Google Gemini API is currently in beta. You can [create an API key in Google AI Studio](https://aistudio.google.com) and use `gemini-1.5-pro-latest`. Change `~/.continue/config.json` to include the following entry in the "models" array: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/huggingfaceinferenceapi.md b/docs/docs/reference/llm-providers/huggingfaceinferenceapi.md index e9d7a47a9..a2122fc4d 100644 --- a/docs/docs/reference/llm-providers/huggingfaceinferenceapi.md +++ b/docs/docs/reference/llm-providers/huggingfaceinferenceapi.md @@ -2,7 +2,7 @@ Hugging Face Inference Endpoints are an easy way to setup instances of open-source language models on any cloud. Sign up for an account and add billing [here](https://huggingface.co/settings/billing), access the Inference Endpoints [here](https://ui.endpoints.huggingface.co), click on “New endpoint”, and fill out the form (e.g. select a model like [WizardCoder-Python-34B-V1.0](https://huggingface.co/WizardLM/WizardCoder-Python-34B-V1.0)), and then deploy your model by clicking “Create Endpoint”. Change `~/.continue/config.json` to look like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/ipex_llm.md b/docs/docs/reference/llm-providers/ipex_llm.md index f741b8554..c0f074ca5 100644 --- a/docs/docs/reference/llm-providers/ipex_llm.md +++ b/docs/docs/reference/llm-providers/ipex_llm.md @@ -6,7 +6,7 @@ IPEX-LLM supports accelerated Ollama backend to be hosted on Intel GPU. Refer to [this guide](https://ipex-llm.readthedocs.io/en/latest/doc/LLM/Quickstart/ollama_quickstart.html) from IPEX-LLM official documentation about how to install and run Ollama serve accelerated by IPEX-LLM on Intel GPU. You can then configure Continue to use the IPEX-LLM accelerated `"ollama"` provider as follows: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -20,7 +20,7 @@ IPEX-LLM supports accelerated Ollama backend to be hosted on Intel GPU. Refer to If you would like to reach the Ollama service from another machine, make sure you set or export the environment variable `OLLAMA_HOST=0.0.0.0` before executing the command `ollama serve`. Then, in the Continue configuration, set `'apiBase'` to correspond with the IP address / port of the remote machine. That is, Continue can be configured to be: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -34,6 +34,7 @@ If you would like to reach the Ollama service from another machine, make sure yo ``` :::tip + - For more configuration options regarding completion or authentication, you could refer to [here](./ollama.md#completion-options) for Ollama provider. - If you would like to preload the model before your first conversation with that model in Continue, you could refer to [here](https://ipex-llm.readthedocs.io/en/latest/doc/LLM/Quickstart/continue_quickstart.html#pull-and-prepare-the-model) for more information. -::: + ::: diff --git a/docs/docs/reference/llm-providers/kindo.md b/docs/docs/reference/llm-providers/kindo.md index 442e30b10..4915a1ee2 100644 --- a/docs/docs/reference/llm-providers/kindo.md +++ b/docs/docs/reference/llm-providers/kindo.md @@ -1,9 +1,10 @@ # Kindo + Kindo offers centralized control over your organization's AI operations, ensuring data protection and compliance with internal policies while supporting various commercial and open-source models. To get started, sign up [here](https://app.kindo.ai/), create your API key on the [API keys page](https://app.kindo.ai/settings/api), and choose a model from the list of supported models in the [plugins tab](https://app.kindo.ai/plugins). ## Config Example -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -18,7 +19,7 @@ Kindo offers centralized control over your organization's AI operations, ensurin ## Tab Autocomplete Config Example -```json title="~/.continue/config.json" +```json title="config.json" { "tabAutocompleteModel": [ { @@ -39,4 +40,4 @@ Kindo offers centralized control over your organization's AI operations, ensurin ## Security -To update your organization's model access, adjust the controls in [security settings](https://app.kindo.ai/security-settings). \ No newline at end of file +To update your organization's model access, adjust the controls in [security settings](https://app.kindo.ai/security-settings). diff --git a/docs/docs/reference/llm-providers/llamacpp.md b/docs/docs/reference/llm-providers/llamacpp.md index 7a0d32fc4..7dbdd47ca 100644 --- a/docs/docs/reference/llm-providers/llamacpp.md +++ b/docs/docs/reference/llm-providers/llamacpp.md @@ -8,7 +8,7 @@ Run the llama.cpp server binary to start the API server. If running on a remote After it's up and running, change `~/.continue/config.json` to look like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/llamafile.md b/docs/docs/reference/llm-providers/llamafile.md index cc969f8d8..71f4f7f07 100644 --- a/docs/docs/reference/llm-providers/llamafile.md +++ b/docs/docs/reference/llm-providers/llamafile.md @@ -2,7 +2,7 @@ A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contained binary that can run an open-source LLM. You can configure this provider in your config.json as follows: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/lmstudio.md b/docs/docs/reference/llm-providers/lmstudio.md index 52c2b2275..cfad209ae 100644 --- a/docs/docs/reference/llm-providers/lmstudio.md +++ b/docs/docs/reference/llm-providers/lmstudio.md @@ -2,7 +2,7 @@ [LM Studio](https://lmstudio.ai) is an application for Mac, Windows, and Linux that makes it easy to locally run open-source models and comes with a great UI. To get started with LM Studio, download from the website, use the UI to download a model, and then start the local inference server. Continue can then be configured to use the `LMStudio` LLM class: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -18,7 +18,7 @@ To configure a remote instance of LM Studio, add the `"apiBase"` property to your model in config.json: -```json title="~/.continue/config.json" +```json title="config.json" { "title": "LM Studio", "model": "codestral", diff --git a/docs/docs/reference/llm-providers/mistral.md b/docs/docs/reference/llm-providers/mistral.md index 448b8292a..8756ec6c1 100644 --- a/docs/docs/reference/llm-providers/mistral.md +++ b/docs/docs/reference/llm-providers/mistral.md @@ -2,7 +2,7 @@ The [Mistral](https://mistral.ai) API provides hosted access to their models, including Mistral-7b, Mixtral, and the very capable mistral-medium. After you obtain your API key [here](https://docs.mistral.ai/), Continue can be configured as shown here: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/msty.md b/docs/docs/reference/llm-providers/msty.md index 584176b9b..d7554aeae 100644 --- a/docs/docs/reference/llm-providers/msty.md +++ b/docs/docs/reference/llm-providers/msty.md @@ -2,7 +2,7 @@ [Msty](https://msty.app/) is an application for Windows, Mac, and Linux that makes it really easy to run online as well as local open-source models, including Llama-2, DeepSeek Coder, etc. No need to fidget with your terminal, run a command, or anything. Just download the app from the website, click a button, and you are up and running. Continue can then be configured to use the `Msty` LLM class: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -29,7 +29,7 @@ In addition to the model type, you can also configure some of the parameters tha If you need to send custom headers for authentication, you may use the `requestOptions.headers` property like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/ollama.md b/docs/docs/reference/llm-providers/ollama.md index 45995bdc5..0d0412a55 100644 --- a/docs/docs/reference/llm-providers/ollama.md +++ b/docs/docs/reference/llm-providers/ollama.md @@ -2,7 +2,7 @@ [Ollama](https://ollama.ai/) is an application for Mac, Windows, and Linux that makes it easy to locally run open-source models, including Llama3. Download the app from the website, and it will walk you through setup in a couple of minutes. You can also read more in their [README](https://github.com/ollama/ollama). Continue can then be configured to use the `"ollama"` provider: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -30,7 +30,7 @@ In addition to the model type, you can also configure some of the parameters tha If you need to send custom headers for authentication, you may use the `requestOptions.headers` property like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/openai.md b/docs/docs/reference/llm-providers/openai.md index f19cd392c..0518ff9c6 100644 --- a/docs/docs/reference/llm-providers/openai.md +++ b/docs/docs/reference/llm-providers/openai.md @@ -21,7 +21,7 @@ OpenAI compatible APIs If you are [using an OpenAI compatible server / API](../../setup/model-providers.md#local), you can change the `apiBase` like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/openrouter.md b/docs/docs/reference/llm-providers/openrouter.md index eabc291bb..d08f754f5 100644 --- a/docs/docs/reference/llm-providers/openrouter.md +++ b/docs/docs/reference/llm-providers/openrouter.md @@ -4,7 +4,7 @@ OpenRouter is a unified interface for commercial and open-source models, giving Change `~/.continue/config.json` to look like the following. -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -22,7 +22,7 @@ To utilize features such as provider preferences or model routing configuration, For example, to prevent extra long prompts from being compressed, you can explicitly turn off the feature like so: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/replicatellm.md b/docs/docs/reference/llm-providers/replicatellm.md index ed79bdc02..065825729 100644 --- a/docs/docs/reference/llm-providers/replicatellm.md +++ b/docs/docs/reference/llm-providers/replicatellm.md @@ -2,7 +2,7 @@ Replicate is a great option for newly released language models or models that you've deployed through their platform. Sign up for an account [here](https://replicate.ai/), copy your API key, and then select any model from the [Replicate Streaming List](https://replicate.com/collections/streaming-language-models). Change `~/.continue/config.json` to look like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/sagemaker.md b/docs/docs/reference/llm-providers/sagemaker.md index 189818548..fc3bb9b4a 100644 --- a/docs/docs/reference/llm-providers/sagemaker.md +++ b/docs/docs/reference/llm-providers/sagemaker.md @@ -1,10 +1,10 @@ -# AWS SageMaker +# AWS SageMaker SageMaker provider support SageMaker endpoint deployed with [LMI](https://docs.djl.ai/docs/serving/serving/docs/lmi/index.html) To setup SageMaker, add the following to your `config.json` file: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -12,19 +12,19 @@ To setup SageMaker, add the following to your `config.json` file: "provider": "sagemaker", "model": "lmi-model-deepseek-coder-xxxxxxx", "region": "us-west-2" - }, + } ] } ``` The value in model should be the SageMaker endpoint name you deployed. -Authentication will be through temporary or long-term credentials in +Authentication will be through temporary or long-term credentials in ~/.aws/credentials under a profile called "sagemaker". ```title="~/.aws/credentials [sagemaker] aws_access_key_id = abcdefg aws_secret_access_key = hijklmno -aws_session_token = pqrstuvwxyz # Optional: means short term creds. +aws_session_token = pqrstuvwxyz # Optional: means short term creds. ``` diff --git a/docs/docs/reference/llm-providers/textgenwebui.md b/docs/docs/reference/llm-providers/textgenwebui.md index 1aee87049..9abf2b9e8 100644 --- a/docs/docs/reference/llm-providers/textgenwebui.md +++ b/docs/docs/reference/llm-providers/textgenwebui.md @@ -2,7 +2,7 @@ TextGenWebUI is a comprehensive, open-source language model UI and local server. You can set it up with an OpenAI-compatible server plugin, and then configure it in your `config.json` like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/togetherllm.md b/docs/docs/reference/llm-providers/togetherllm.md index 28fe649fb..011b49f82 100644 --- a/docs/docs/reference/llm-providers/togetherllm.md +++ b/docs/docs/reference/llm-providers/togetherllm.md @@ -2,7 +2,7 @@ The Together API is a cloud platform for running large AI models. You can sign up [here](https://api.together.xyz/signup), copy your API key on the initial welcome screen, and then hit the play button on any model from the [Together Models list](https://docs.together.ai/docs/models-inference). Change `~/.continue/config.json` to look like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/llm-providers/vllm.md b/docs/docs/reference/llm-providers/vllm.md index 71a5f3cba..fd25fba36 100644 --- a/docs/docs/reference/llm-providers/vllm.md +++ b/docs/docs/reference/llm-providers/vllm.md @@ -8,7 +8,7 @@ vllm serve NousResearch/Meta-Llama-3-8B-Instruct --max-model-len 1024 The continue implementation uses [OpenAI](./openai.md) under the hood and automatically selects the available model. You only need to set the `apiBase` like this: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docs/reference/reranking-providers/cohere.md b/docs/docs/reference/reranking-providers/cohere.md index 653edfb3b..d2372f1b6 100644 --- a/docs/docs/reference/reranking-providers/cohere.md +++ b/docs/docs/reference/reranking-providers/cohere.md @@ -4,7 +4,7 @@ title: Cohere See Cohere's documentation for rerankers [here](https://docs.cohere.com/docs/rerank-2). -```json title="~/.continue/config.json" +```json title="config.json" { "reranker": { "name": "cohere", diff --git a/docs/docs/reference/reranking-providers/free-trial.md b/docs/docs/reference/reranking-providers/free-trial.md index bcc564075..685fcfd51 100644 --- a/docs/docs/reference/reranking-providers/free-trial.md +++ b/docs/docs/reference/reranking-providers/free-trial.md @@ -4,7 +4,7 @@ title: Free trial Continue offers a free trial of Voyage AI's reranking model. -```json title="~/.continue/config.json" +```json title="config.json" { "reranker": { "name": "free-trial" diff --git a/docs/docs/reference/reranking-providers/hf-tei.md b/docs/docs/reference/reranking-providers/hf-tei.md index 2b60a0556..e0979c3ba 100644 --- a/docs/docs/reference/reranking-providers/hf-tei.md +++ b/docs/docs/reference/reranking-providers/hf-tei.md @@ -4,7 +4,7 @@ title: Hugging Face Text Embeddings Inference [Hugging Face Text Embeddings Inference](https://huggingface.co/docs/text-embeddings-inference/en/index) enables you to host your own [reranker endpoint](https://huggingface.github.io/text-embeddings-inference/#/Text%20Embeddings%20Inference/rerank). You can configure your reranker as follows: -```json title="~/.continue/config.json" +```json title="config.json" { "reranker": { "name": "huggingface-tei", diff --git a/docs/docs/reference/reranking-providers/llm.md b/docs/docs/reference/reranking-providers/llm.md index 34c31971a..ba1340dda 100644 --- a/docs/docs/reference/reranking-providers/llm.md +++ b/docs/docs/reference/reranking-providers/llm.md @@ -4,7 +4,7 @@ title: LLM If you only have access to a single LLM, then you can use it as a reranker. This is discouraged unless truly necessary, because it will be much more expensive and still less accurate than any of the above models trained specifically for the task. Note that this will not work if you are using a local model, for example with Ollama, because too many parallel requests need to be made. -```json title="~/.continue/config.json" +```json title="config.json" { "reranker": { "name": "llm", diff --git a/docs/docs/reference/reranking-providers/voyage.md b/docs/docs/reference/reranking-providers/voyage.md index 0e6a334a2..f57ed260d 100644 --- a/docs/docs/reference/reranking-providers/voyage.md +++ b/docs/docs/reference/reranking-providers/voyage.md @@ -4,7 +4,7 @@ title: Voyage AI Voyage AI offers the best reranking model for code with their rerank-lite-1 model. After obtaining an API key from [here](https://www.voyageai.com/), you can configure like this: -```json title="~/.continue/config.json" +```json title="config.json" { "reranker": { "name": "voyage", diff --git a/docs/docs/reference/setup/configuration.md b/docs/docs/reference/setup/configuration.md index c5ff52f69..a947e68ea 100644 --- a/docs/docs/reference/setup/configuration.md +++ b/docs/docs/reference/setup/configuration.md @@ -20,7 +20,7 @@ You can use Continue in different ways. Here are some quick setups for common us The `free-trial` lets new users try out Continue with GPT-4o, Llama3, Claude 3.5, and other models using a ContinueDev proxy server that securely makes API calls to these services. -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -54,7 +54,7 @@ This setup uses Claude 3.5 Sonnet for chatting, Codestral for autocomplete, and 3. Get an Voyage AI API key from [Voyage AI Dashboard](https://dash.voyageai.com/) 4. Replace `[CODESTRAL_API_KEY]`, `[ANTHROPIC_API_KEY]`, and `[VOYAGE_API_KEY]` with the keys you got from the above links. -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -97,7 +97,7 @@ This configuration leverages Ollama for all functionalities - chat, autocomplete - For autocomplete: `ollama pull starcoder2:3b` - For embeddings: `ollama pull nomic-embed-text` -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -154,7 +154,7 @@ However, if neither of these are the case, you will need to wire up a new LLM ob Basic authentication can be done with any provider using the `apiKey` field: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -171,7 +171,7 @@ This translates to the header `"Authorization": "Bearer xxx"`. If you need to send custom headers for authentication, you may use the `requestOptions.headers` property like in this example with Ollama: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -190,7 +190,7 @@ If you need to send custom headers for authentication, you may use the `requestO Similarly if your model requires a Certificate for authentication, you may use the `requestOptions.clientCertificate` property like in the example below: -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { @@ -213,7 +213,7 @@ Similarly if your model requires a Certificate for authentication, you may use t Continue by default knows the context length for common models. For example, it will automatically assume 200k tokens for Claude 3. For Ollama, the context length is determined automatically by asking Ollama. If neither of these are sufficient, you can manually specify the context length by using hte `"contextLength"` property in your model in config.json. -```json title="~/.continue/config.json" +```json title="config.json" { "models": [ { diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 9f18b0c30..ee34399fe 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -23,10 +23,8 @@ const config = { organizationName: "continuedev", // Usually your GitHub org/user name. projectName: "continue", // Usually your repo name. - // TODO: Renable - onBrokenLinks: "ignore", - // onBrokenLinks: "throw", - // onBrokenMarkdownLinks: "warn", + onBrokenLinks: "throw", + onBrokenMarkdownLinks: "warn", // Even if you don't use internalization, you can use this field to set useful // metadata like html lang. For example, if your site is Chinese, you may want @@ -75,7 +73,7 @@ const config = { logo: { alt: "Continue Logo", src: "img/logo.png", - href: "https://continue.dev", + href: "/docs", }, items: [ { diff --git a/docs/sidebars.js b/docs/sidebars.js index 908a35c69..8524b27cf 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -3,14 +3,18 @@ const sidebars = { docsSidebar: [ - "docs/introduction", + { + type: "doc", + id: "docs/introduction", + }, { type: "category", - label: "Quickstart", + label: "Getting started", + collapsed: false, items: [ { type: "autogenerated", - dirName: "docs/quickstart", + dirName: "docs/getting-started", }, ], }, @@ -54,6 +58,11 @@ const sidebars = { }, ], }, + "docs/context-providers", + "docs/slash-commands", + "docs/development-data", + "docs/telemetry", + "docs/troubleshooting", ], referenceSidebar: [ "reference/config", @@ -70,6 +79,9 @@ const sidebars = { { type: "category", label: "LLM providers", + link: { + type: "generated-index", + }, items: [ { type: "autogenerated", @@ -80,6 +92,9 @@ const sidebars = { { type: "category", label: "Embeddings providers", + link: { + type: "generated-index", + }, items: [ { type: "autogenerated", @@ -90,6 +105,9 @@ const sidebars = { { type: "category", label: "Reranking providers", + link: { + type: "generated-index", + }, items: [ { type: "autogenerated", @@ -97,8 +115,6 @@ const sidebars = { }, ], }, - "reference/context-providers", - "reference/slash-commands", { type: "category", label: "Deep dives", @@ -111,15 +127,14 @@ const sidebars = { }, { type: "category", - label: "Tutorials", + label: "Guides", items: [ { type: "autogenerated", - dirName: "reference/tutorials", + dirName: "reference/guides", }, ], }, - "reference/troubleshooting", "reference/changelog", ], };