indentation and brackets

This commit is contained in:
Dallin Romney 2025-02-11 16:22:50 -08:00
parent 537f21c895
commit 0f7a67f1cd
58 changed files with 987 additions and 675 deletions

View file

@ -8,11 +8,13 @@ sidebar_position: 5
Continue offers a handful of parameters in [`config.json`](../json-reference.md) that can be tuned to find the perfect balance between suggestion quality and system performance for your specific needs and hardware capabilities:
```json title="config.json"
"tabAutocompleteOptions": {
"maxPromptTokens": 400,
"prefixPercentage": 0.5,
"multilineCompletions": "always"
}
{
"tabAutocompleteOptions": {
"maxPromptTokens": 400,
"prefixPercentage": 0.5,
"multilineCompletions": "always"
}
}
```
- `maxPromptTokens`: Sets the maximum number of tokens for the prompt, balancing context and speed.

View file

@ -30,12 +30,14 @@ For the best Autocomplete experience, we recommend using Codestral through the [
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest",
"apiKey": "<YOUR_API_KEY>"
}
}
```
</TabItem>
</Tabs>

View file

@ -24,14 +24,15 @@ Our current top recommendation is Claude Sonnet 3.5 from [Anthropic](../customiz
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Claude 3.5 Sonnet
provider: anthropic
model: claude-3-5-sonnet-latest
apiKey: <YOUR_ANTHROPIC_API_KEY>
- name: Claude 3.5 Sonnet
provider: anthropic
model: claude-3-5-sonnet-latest
apiKey: <YOUR_ANTHROPIC_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Claude 3.5 Sonnet",
@ -40,6 +41,7 @@ Our current top recommendation is Claude Sonnet 3.5 from [Anthropic](../customiz
"apiKey": "<YOUR_ANTHROPIC_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -90,50 +92,58 @@ If you prefer to use an open-weight model, then Llama 3.1 405B from Meta is your
<TabItem value="json" label="JSON">
<Tabs groupId="providers">
<TabItem value="Together">
```json title="config.json"
"models": [
{
"title": "Llama 3.1 405B",
"provider": "together",
"model": "llama3.1-405b",
"apiKey": "<YOUR_TOGETHER_API_KEY>"
}
]
```
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 405B",
"provider": "together",
"model": "llama3.1-405b",
"apiKey": "<YOUR_TOGETHER_API_KEY>"
}
]
}
```
</TabItem>
<TabItem value="Groq">
```json title="config.json"
"models": [
{
"title": "Llama 3.1 405B",
"provider": "groq",
"model": "llama3.1-405b",
"apiKey": "<YOUR_GROQ_API_KEY>"
}
]
```
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 405B",
"provider": "groq",
"model": "llama3.1-405b",
"apiKey": "<YOUR_GROQ_API_KEY>"
}
]
}
```
</TabItem>
<TabItem value="vLLM">
```json title="config.json"
"models": [
{
"title": "Llama 3.1 405B",
"provider": "vllm",
"model": "llama3.1-405b"
}
]
```
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 405B",
"provider": "vllm",
"model": "llama3.1-405b"
}
]
}
```
</TabItem>
<TabItem value="Ollama">
```json title="config.json"
"models": [
{
"title": "Llama 3.1 405B",
"provider": "ollama",
"model": "llama3.1:405b"
}
]
```
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 405B",
"provider": "ollama",
"model": "llama3.1:405b"
}
]
}
```
</TabItem>
</Tabs>
</TabItem>
@ -146,24 +156,26 @@ If you prefer to use a model from [OpenAI](../customize/model-providers/top-leve
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: GPT-4o
provider: openai
model: ''
apiKey: <YOUR_OPENAI_API_KEY>
models:
- name: GPT-4o
provider: openai
model: ''
apiKey: <YOUR_OPENAI_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
```json title="config.json"
{
"models": [
{
{
"title": "GPT-4o",
"provider": "openai",
"model": "",
"apiKey": "<YOUR_OPENAI_API_KEY>"
}
}
]
```
}
```
</TabItem>
</Tabs>
@ -171,16 +183,31 @@ If you prefer to use a model from [OpenAI](../customize/model-providers/top-leve
If you prefer to use a model from [xAI](../customize/model-providers/top-level/xAI.mdx), then we recommend Grok-2.
```json title="config.json"
"models": [
{
"title": "Grok-2",
"provider": "xAI",
"model": "grok-2-latest",
"apiKey": "<YOUR_XAI_API_KEY>"
}
]
```
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Grok-2
provider: xAI
model: grok-2-latest
apiKey: <YOUR_XAI_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Grok-2",
"provider": "xAI",
"model": "grok-2-latest",
"apiKey": "<YOUR_XAI_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
### Gemini 1.5 Pro from Google
@ -189,24 +216,26 @@ If you prefer to use a model from [Google](../customize/model-providers/top-leve
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Gemini 1.5 Pro
provider: gemini
model: gemini-1.5-pro-latest
apiKey: <YOUR_GEMINI_API_KEY>
models:
- name: Gemini 1.5 Pro
provider: gemini
model: gemini-1.5-pro-latest
apiKey: <YOUR_GEMINI_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Gemini 1.5 Pro",
"provider": "gemini",
"model": "gemini-1.5-pro-latest",
"apiKey": "<YOUR_GEMINI_API_KEY>"
}
]
```
```json title="config.json"
{
"models": [
{
"title": "Gemini 1.5 Pro",
"provider": "gemini",
"model": "gemini-1.5-pro-latest",
"apiKey": "<YOUR_GEMINI_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -221,48 +250,52 @@ If your local machine can run an 8B parameter model, then we recommend running L
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
<Tabs groupId="providers">
<TabItem value="Ollama">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 8B
provider: ollama
model: llama3.1:8b
```
</TabItem>
<TabItem value="LM Studio">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 8B
provider: lmstudio
model: llama3.1:8b
```
</TabItem>
<TabItem value="Ollama">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 8B
provider: ollama
model: llama3.1:8b
```
</TabItem>
<TabItem value="LM Studio">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 8B
provider: lmstudio
model: llama3.1:8b
```
</TabItem>
</Tabs>
</TabItem>
<TabItem value="json" label="JSON">
<Tabs groupId="providers">
<TabItem value="Ollama">
```json title="config.json"
"models": [
{
"title": "Llama 3.1 8B",
"provider": "ollama",
"model": "llama3.1:8b"
}
]
```
</TabItem>
<TabItem value="LM Studio">
```json title="config.json"
"models": [
{
"title": "Llama 3.1 8B",
"provider": "lmstudio",
"model": "llama3.1-8b"
}
]
```
</TabItem>
<TabItem value="Ollama">
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 8B",
"provider": "ollama",
"model": "llama3.1:8b"
}
]
}
```
</TabItem>
<TabItem value="LM Studio">
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 8B",
"provider": "lmstudio",
"model": "llama3.1-8b"
}
]
}
```
</TabItem>
</Tabs>
</TabItem>
</Tabs>
@ -294,29 +327,33 @@ If your local machine can run a 16B parameter model, then we recommend running D
</TabItem>
<TabItem value="json" label="JSON">
<Tabs groupId="providers">
<TabItem value="Ollama">
```json title="config.json"
"models": [
{
"title": "DeepSeek Coder 2 16B",
"provider": "ollama",
"model": "deepseek-coder-v2:16b",
"apiBase": "http://localhost:11434"
}
]
```
</TabItem>
<TabItem value="LM Studio">
```json title="config.json"
"models": [
{
"title": "DeepSeek Coder 2 16B",
"provider": "lmstudio",
"model": "deepseek-coder-v2:16b"
}
]
```
</TabItem>
<TabItem value="Ollama">
```json title="config.json"
{
"models": [
{
"title": "DeepSeek Coder 2 16B",
"provider": "ollama",
"model": "deepseek-coder-v2:16b",
"apiBase": "http://localhost:11434"
}
]
}
```
</TabItem>
<TabItem value="LM Studio">
```json title="config.json"
{
"models": [
{
"title": "DeepSeek Coder 2 16B",
"provider": "lmstudio",
"model": "deepseek-coder-v2:16b"
}
]
}
```
</TabItem>
</Tabs>
</TabItem>
</Tabs>

View file

@ -30,11 +30,13 @@ Reference any file in your current workspace.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "file"
}
]
}
```
</TabItem>
</Tabs>
@ -52,11 +54,13 @@ Reference specific functions or classes from throughout your project.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "code"
}
]
}
```
</TabItem>
</Tabs>
@ -74,11 +78,13 @@ Reference all of the changes you've made to your current branch. This is useful
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "diff"
}
]
}
```
</TabItem>
</Tabs>
@ -96,11 +102,13 @@ Reference the currently open file.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "currentFile"
}
]
}
```
</TabItem>
</Tabs>
@ -118,11 +126,13 @@ Reference the last command you ran in your IDE's terminal and its output.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "terminal"
}
]
}
```
</TabItem>
</Tabs>
@ -140,11 +150,13 @@ Reference the contents from any documentation site.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "docs"
}
]
}
```
</TabItem>
</Tabs>
@ -168,6 +180,7 @@ Reference the contents of all of your open files. Set `onlyPinned` to `true` to
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "open",
@ -176,6 +189,7 @@ Reference the contents of all of your open files. Set `onlyPinned` to `true` to
}
}
]
}
```
</TabItem>
</Tabs>
@ -197,6 +211,7 @@ Optionally, set `n` to limit the number of results returned (default 6).
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "web",
@ -205,6 +220,7 @@ Optionally, set `n` to limit the number of results returned (default 6).
}
}
]
}
```
</TabItem>
</Tabs>
@ -222,11 +238,13 @@ Reference the most relevant snippets from your codebase.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "codebase"
}
]
}
```
</TabItem>
</Tabs>
@ -246,11 +264,13 @@ Uses the same retrieval mechanism as `@Codebase`, but only on a single folder.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "folder"
}
]
}
```
</TabItem>
</Tabs>
@ -268,11 +288,13 @@ Reference the results of codebase search, just like the results you would get fr
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "search"
}
]
}
```
</TabItem>
</Tabs>
@ -292,11 +314,13 @@ Reference the markdown converted contents of a given URL.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "url"
}
]
}
```
</TabItem>
</Tabs>
@ -314,11 +338,13 @@ Reference recent clipboard items
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "clipboard"
}
]
}
```
</TabItem>
</Tabs>
@ -336,11 +362,13 @@ Reference the structure of your current workspace.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "tree"
}
]
}
```
</TabItem>
</Tabs>
@ -358,11 +386,13 @@ Get Problems from the current file.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "problems"
}
]
}
```
</TabItem>
</Tabs>
@ -382,6 +412,7 @@ Reference the contents of the local variables in the debugger. Currently only av
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "debugger",
@ -390,6 +421,7 @@ Reference the contents of the local variables in the debugger. Currently only av
}
}
]
}
```
</TabItem>
</Tabs>
@ -413,6 +445,7 @@ Reference the outline of your codebase. By default, signatures are included alon
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "repo-map",
@ -421,6 +454,7 @@ Reference the outline of your codebase. By default, signatures are included alon
}
}
]
}
```
</TabItem>
</Tabs>
@ -444,11 +478,13 @@ Reference the architecture and platform of your current operating system.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "os"
}
]
}
```
</TabItem>
</Tabs>
@ -461,16 +497,17 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
mcpServers:
- name: My MCP Server
command: uvx
args:
- mcp-server-sqlite
- --db-path
- /Users/NAME/test.db
- name: My MCP Server
command: uvx
args:
- mcp-server-sqlite
- --db-path
- /Users/NAME/test.db
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"experimental": {
"modelContextProtocolServers": [
{
@ -482,6 +519,7 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a
}
]
}
}
```
</TabItem>
</Tabs>
@ -510,6 +548,7 @@ Reference the conversation in a GitHub issue.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "issue",
@ -524,6 +563,7 @@ Reference the conversation in a GitHub issue.
}
}
]
}
```
</TabItem>
</Tabs>
@ -564,6 +604,7 @@ Reference table schemas from Sqlite, Postgres, MSSQL, and MySQL databases.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "database",
@ -601,6 +642,7 @@ Reference table schemas from Sqlite, Postgres, MSSQL, and MySQL databases.
}
}
]
}
```
</TabItem>
</Tabs>
@ -634,6 +676,7 @@ Reference the schema of a table, and some sample rows
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "postgres",
@ -648,6 +691,7 @@ Reference the schema of a table, and some sample rows
}
}
]
}
```
</TabItem>
</Tabs>
@ -673,6 +717,7 @@ Reference the results of a Google search.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "google",
@ -681,6 +726,7 @@ Reference the results of a Google search.
}
}
]
}
```
</TabItem>
</Tabs>
@ -704,6 +750,7 @@ Reference an open MR for this branch on GitLab.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "gitlab-mr",
@ -712,6 +759,7 @@ Reference an open MR for this branch on GitLab.
}
}
]
}
```
</TabItem>
</Tabs>
@ -734,6 +782,7 @@ You can specify the domain to communicate with by setting the `domain` parameter
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "gitlab-mr",
@ -743,6 +792,7 @@ You can specify the domain to communicate with by setting the `domain` parameter
}
}
]
}
```
</TabItem>
</Tabs>
@ -767,6 +817,7 @@ Reference the conversation in a Jira issue.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "jira",
@ -776,6 +827,7 @@ Reference the conversation in a Jira issue.
}
}
]
}
```
</TabItem>
</Tabs>
@ -799,6 +851,7 @@ to set the API Version to 2 using the `apiVersion` property.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "jira",
@ -807,6 +860,7 @@ to set the API Version to 2 using the `apiVersion` property.
}
}
]
}
```
</TabItem>
</Tabs>
@ -842,6 +896,7 @@ Reference the messages in a Discord channel.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "discord",
@ -861,6 +916,7 @@ Reference the messages in a Discord channel.
}
}
]
}
```
</TabItem>
</Tabs>
@ -882,6 +938,7 @@ The HttpContextProvider makes a POST request to the url passed in the configurat
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "http",
@ -890,6 +947,7 @@ The HttpContextProvider makes a POST request to the url passed in the configurat
}
}
]
}
```
</TabItem>
</Tabs>
@ -938,6 +996,7 @@ Reference specific git commit metadata and diff or all of the recent commits.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "commit",
@ -947,6 +1006,7 @@ Reference specific git commit metadata and diff or all of the recent commits.
}
}
]
}
```
</TabItem>
</Tabs>
@ -970,6 +1030,7 @@ Query a [Greptile](https://www.greptile.com/) index of the current repo/branch.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "greptile",
@ -979,6 +1040,7 @@ Query a [Greptile](https://www.greptile.com/) index of the current repo/branch.
}
}
]
}
```
</TabItem>
</Tabs>

View file

@ -64,12 +64,14 @@ All of the configuration options available for chat models are available to use
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"tabAutocompleteModel": {
"title": "Tab Autocomplete Model",
"provider": "ollama",
"model": "qwen2.5-coder:1.5b-base",
"apiBase": "https://<my endpoint>"
}
}
```
</TabItem>
</Tabs>

View file

@ -56,6 +56,7 @@ There are a few options that let you configure the behavior of the `@codebase` c
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "codebase",
@ -66,6 +67,7 @@ There are a few options that let you configure the behavior of the `@codebase` c
}
}
]
}
```
</TabItem>
</Tabs>

View file

@ -259,6 +259,7 @@ The following configuration example works out of the box for VS Code. This uses
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "docs",
@ -269,7 +270,8 @@ The following configuration example works out of the box for VS Code. This uses
"title": "Nest.js",
"startUrl": "https://docs.nestjs.com/",
},
],
]
}
```
</TabItem>
</Tabs>
@ -296,6 +298,7 @@ Here is the equivalent minimal example for Jetbrains, which requires setting up
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "docs",
@ -310,7 +313,8 @@ Here is the equivalent minimal example for Jetbrains, which requires setting up
"embeddingsProvider": {
"provider": "lmstudio",
"model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
},
}
}
```
</TabItem>
</Tabs>

View file

@ -17,6 +17,7 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "SambaNova Llama 3.1 405B",
@ -25,6 +26,7 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor
"apiKey": "<YOUR_SAMBANOVA_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -15,24 +15,26 @@ To use the Ask Sage models, you can use the following
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: GPT-4 gov
provider: askSage
apiKey: <YOUR_ASK_SAGE_API_KEY>
apiBase: https://api.asksage.ai/server/
model: gpt4-gov
- name: GPT-4 gov
provider: askSage
model: gpt4-gov
apiBase: https://api.asksage.ai/server/
apiKey: <YOUR_ASK_SAGE_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "GPT-4 gov",
"provider": "askSage",
"model": "gpt4-gov",
"apiBase": "https://api.asksage.ai/server/",
"apiKey": "<YOUR_ASK_SAGE_API_KEY>"
}
]
{
"models": [
{
"title": "GPT-4 gov",
"provider": "askSage",
"model": "gpt4-gov",
"apiBase": "https://api.asksage.ai/server/",
"apiKey": "<YOUR_ASK_SAGE_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -21,6 +21,7 @@ Cerebras Inference uses specialized silicon to provides fast inference.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Cerebras Llama 3.1 70B",
@ -29,6 +30,7 @@ Cerebras Inference uses specialized silicon to provides fast inference.
"apiKey": "<YOUR_CEREBRAS_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -40,6 +40,7 @@ Cloudflare Workers AI can be used for both chat and tab autocompletion in Contin
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama 3 8B",
@ -71,6 +72,7 @@ Cloudflare Workers AI can be used for both chat and tab autocompletion in Contin
"apiKey": "YOUR CLOUDFLARE API KEY",
"model": "@hf/thebloke/deepseek-coder-6.7b-base-awq"
}
}
```
</TabItem>
</Tabs>

View file

@ -21,6 +21,7 @@ We recommend configuring **Command-R Plus** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Cohere",
@ -29,6 +30,7 @@ We recommend configuring **Command-R Plus** as your chat model.
"apiKey": "<YOUR_COHERE_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -57,11 +59,13 @@ We recommend configuring **embed-english-v3.0** as your embeddings model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "cohere",
"model": "embed-english-v3.0",
"apiKey": "<YOUR_COHERE_API_KEY>"
}
}
```
</TabItem>
</Tabs>
@ -84,6 +88,7 @@ We recommend configuring **rerank-english-v3.0** as your reranking model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"reranker": {
"name": "cohere",
"params": {
@ -91,6 +96,7 @@ We recommend configuring **rerank-english-v3.0** as your reranking model.
"apiKey": "<YOUR_COHERE_API_KEY>"
}
}
}
```
</TabItem>
</Tabs>

View file

@ -17,6 +17,7 @@ import TabItem from "@theme/TabItem";
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"provider": "deepinfra",
@ -25,6 +26,7 @@ import TabItem from "@theme/TabItem";
"apiKey": "<YOUR_DEEP_INFRA_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -17,6 +17,7 @@ import TabItem from "@theme/TabItem";
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"provider": "flowise",
@ -25,6 +26,7 @@ import TabItem from "@theme/TabItem";
"apiBase": "<API_BASE>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -22,18 +22,19 @@ Function Network supports a number of models for chat. We recommend using LLama
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 70b
provider: function-network
model: meta/llama-3.1-70b-instruct
apiKey: <YOUR_FUNCTION_NETWORK_API_KEY>
roles:
- chat
```
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 70b
provider: function-network
model: meta/llama-3.1-70b-instruct
apiKey: <YOUR_FUNCTION_NETWORK_API_KEY>
roles:
- chat
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 70b",
@ -42,7 +43,8 @@ Function Network supports a number of models for chat. We recommend using LLama
"apiKey": "<YOUR_FUNCTION_NETWORK_API_KEY>"
}
]
```
}
```
</TabItem>
</Tabs>
@ -66,12 +68,14 @@ Function Network supports a number of models for autocomplete. We recommend usin
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"tabAutocompleteModel": {
"title": "Deepseek Coder 6.7b",
"provider": "function-network",
"model": "thebloke/deepseek-coder-6.7b-base-awq",
"apiKey": "<YOUR_FUNCTION_NETWORK_API_KEY>"
}
}
```
</TabItem>
</Tabs>
@ -94,11 +98,13 @@ Function Network supports a number of models for embeddings. We recommend using
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "function-network",
"model": "baai/bge-base-en-v1.5",
"apiKey": "<YOUR_FUNCTION_NETWORK_API_KEY>"
}
}
```
</TabItem>
</Tabs>

View file

@ -14,18 +14,19 @@ Groq provides the fastest available inference for open-source language models, i
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.3 70b Versatile
provider: groq
model: llama-3.3-70b-versatile
apiKey: <YOUR_GROQ_API_KEY>
roles:
- chat
```
```yaml title="Package or config.yaml"
models:
- name: Llama 3.3 70b Versatile
provider: groq
model: llama-3.3-70b-versatile
apiKey: <YOUR_GROQ_API_KEY>
roles:
- chat
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
```json title="config.json"
{
"models": [
{
"title": "Llama 3.3 70b Versatile",
@ -34,6 +35,7 @@ Groq provides the fastest available inference for open-source language models, i
"apiKey": "<YOUR_GROQ_API_KEY>"
}
]
```
}
```
</TabItem>
</Tabs>

View file

@ -6,29 +6,31 @@ import TabItem from "@theme/TabItem";
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:
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: Hugging Face Inference API
provider: huggingface-inference-api
model: MODEL_NAME
apiKey: <YOUR_HF_TOKEN>
apiBase: <YOUR_HF_INFERENCE_API_ENDPOINT_URL>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Hugging Face Inference API",
"provider": "huggingface-inference-api",
"model": "MODEL_NAME",
"apiKey": "<YOUR_HF_TOKEN>",
"apiBase": "<YOUR_HF_INFERENCE_API_ENDPOINT_URL>"
}
]
```
</TabItem>
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: Hugging Face Inference API
provider: huggingface-inference-api
model: MODEL_NAME
apiKey: <YOUR_HF_TOKEN>
apiBase: <YOUR_HF_INFERENCE_API_ENDPOINT_URL>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Hugging Face Inference API",
"provider": "huggingface-inference-api",
"model": "MODEL_NAME",
"apiKey": "<YOUR_HF_TOKEN>",
"apiBase": "<YOUR_HF_INFERENCE_API_ENDPOINT_URL>"
}
]
}
```
</TabItem>
</Tabs>
[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/HuggingFaceInferenceAPI.ts)

View file

@ -20,6 +20,7 @@ IPEX-LLM supports accelerated Ollama backend to be hosted on Intel GPU. Refer to
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "IPEX-LLM",
@ -27,6 +28,7 @@ IPEX-LLM supports accelerated Ollama backend to be hosted on Intel GPU. Refer to
"model": "AUTODETECT"
}
]
}
```
</TabItem>
</Tabs>
@ -45,6 +47,7 @@ If you would like to reach the Ollama service from another machine, make sure yo
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "IPEX-LLM",
@ -53,6 +56,7 @@ If you would like to reach the Ollama service from another machine, make sure yo
"apiBase": "http://your-ollama-service-ip:11434"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -19,6 +19,7 @@ Kindo offers centralized control over your organization's AI operations, ensurin
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Claude 3.5 Sonnet",
@ -27,6 +28,7 @@ Kindo offers centralized control over your organization's AI operations, ensurin
"apiKey": "<YOUR_KINDO_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -35,28 +37,30 @@ Kindo offers centralized control over your organization's AI operations, ensurin
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: WhiteRabbitNeo
provider: kindo
model: /models/WhiteRabbitNeo-33B-DeepSeekCoder
apiKey: <YOUR_KINDO_API_KEY>
roles:
- autocomplete
```
```yaml title="Package or config.yaml"
models:
- name: WhiteRabbitNeo
provider: kindo
model: /models/WhiteRabbitNeo-33B-DeepSeekCoder
apiKey: <YOUR_KINDO_API_KEY>
roles:
- autocomplete
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"tabAutocompleteModel": [
{
"title": "WhiteRabbitNeo",
"provider": "kindo",
"model": "/models/WhiteRabbitNeo-33B-DeepSeekCoder",
"apiKey": "<YOUR_KINDO_API_KEY>",
"template": "none"
}
]
```
```json title="config.json"
{
"tabAutocompleteModel": [
{
"title": "WhiteRabbitNeo",
"provider": "kindo",
"model": "/models/WhiteRabbitNeo-33B-DeepSeekCoder",
"apiKey": "<YOUR_KINDO_API_KEY>",
"template": "none"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -23,6 +23,7 @@ After it's up and running, change `~/.continue/config.json` to look like this:
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama CPP",
@ -31,6 +32,7 @@ After it's up and running, change `~/.continue/config.json` to look like this:
"apiBase": "http://localhost:8080"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -7,15 +7,16 @@ A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contai
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: Llamafile
provider: llamafile
model: mistral-7b
```
```yaml title="config.yaml"
models:
- name: Llamafile
provider: llamafile
model: mistral-7b
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
```json title="config.json"
{
"models": [
{
"title": "Llamafile",
@ -23,7 +24,8 @@ A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contai
"model": "mistral-7b"
}
]
```
}
```
</TabItem>
</Tabs>

View file

@ -16,6 +16,7 @@ import TabItem from "@theme/TabItem";
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "LM Studio",
@ -23,6 +24,7 @@ import TabItem from "@theme/TabItem";
"model": "llama2-7b"
}
]
}
```
</TabItem>
</Tabs>
@ -44,10 +46,12 @@ LMStudio supports embeddings endpoints, and comes with the `nomic-ai/nomic-embed
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "lmstudio",
"model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
}
}
```
</TabItem>
</Tabs>
@ -69,10 +73,12 @@ To configure a remote instance of LM Studio, add the `"apiBase"` property to you
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "lmstudio",
"model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
}
}
```
</TabItem>
</Tabs>

View file

@ -14,16 +14,17 @@ To use Moonshot AI models, you need to:
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Moonshot
provider: moonshot
model: moonshot-v1-8k
apiKey: <YOUR_MOONSHOT_API_KEY>
```
```yaml title="Package or config.yaml"
models:
- name: Moonshot
provider: moonshot
model: moonshot-v1-8k
apiKey: <YOUR_MOONSHOT_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
```json title="config.json"
{
"models": [
{
"title": "Moonshot",
@ -32,7 +33,8 @@ To use Moonshot AI models, you need to:
"apiKey": "<YOUR_MOONSHOT_API_KEY>"
}
]
```
}
```
</TabItem>
</Tabs>
@ -72,6 +74,7 @@ Here's a complete configuration example:
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Moonshot-8K",
@ -85,6 +88,7 @@ Here's a complete configuration example:
}
}
]
}
```
</TabItem>
</Tabs>

View file

@ -16,6 +16,7 @@ import TabItem from "@theme/TabItem";
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Msty",
@ -23,6 +24,7 @@ import TabItem from "@theme/TabItem";
"model": "deepseek-coder:6.7b",
}
]
}
```
</TabItem>
</Tabs>
@ -56,6 +58,7 @@ If you need to send custom headers for authentication, you may use the `requestO
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Msty",
@ -68,6 +71,7 @@ If you need to send custom headers for authentication, you may use the `requestO
}
}
]
}
```
</TabItem>
</Tabs>

View file

@ -23,6 +23,7 @@ Available models can be found on the [Nebius AI Studio models page](https://stud
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 405b",
@ -31,6 +32,7 @@ Available models can be found on the [Nebius AI Studio models page](https://stud
"apiKey": "<YOUR_NEBIUS_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -53,11 +55,13 @@ Available models can be found on the [Nebius AI Studio embeddings page](https://
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "nebius",
"model": "BAAI/bge-en-icl",
"apiKey": "<YOUR_NEBIUS_API_KEY>"
}
}
```
</TabItem>
</Tabs>

View file

@ -17,6 +17,7 @@ import TabItem from "@theme/TabItem";
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 8B",
@ -25,6 +26,7 @@ import TabItem from "@theme/TabItem";
"apiKey": "<YOUR_NOVITA_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -25,6 +25,7 @@ We recommend configuring **Nemotron-4-340B-Instruct** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Nemotron-4-340B-Instruct",
@ -33,6 +34,7 @@ We recommend configuring **Nemotron-4-340B-Instruct** as your chat model.
"apiKey": "<YOUR_NVIDIA_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -61,11 +63,13 @@ We recommend configuring **NVIDIA Retrieval QA Mistral 7B** as your embeddings m
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "nvidia",
"model": "nvidia/nv-embedqa-mistral-7b-v2",
"apiKey": "<YOUR_NVIDIA_API_KEY>"
}
}
```
</TabItem>
</Tabs>

View file

@ -9,27 +9,29 @@ Change `~/.continue/config.json` to look like the following.
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: OpenRouter LLaMA 70 8B
provider: openrouter
model: meta-llama/llama-3-70b-instruct
apiBase: https://openrouter.ai/api/v1
apiKey: <YOUR_OPEN_ROUTER_API_KEY>
```
```yaml title="Package or config.yaml"
models:
- name: OpenRouter LLaMA 70 8B
provider: openrouter
model: meta-llama/llama-3-70b-instruct
apiBase: https://openrouter.ai/api/v1
apiKey: <YOUR_OPEN_ROUTER_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "OpenRouter LLaMA 70 8B",
"provider": "openrouter",
"model": "meta-llama/llama-3-70b-instruct",
"apiBase": "https://openrouter.ai/api/v1",
"apiKey": "<YOUR_OPEN_ROUTER_API_KEY>"
}
]
```
```json title="config.json"
{
"models": [
{
"title": "OpenRouter LLaMA 70 8B",
"provider": "openrouter",
"model": "meta-llama/llama-3-70b-instruct",
"apiBase": "https://openrouter.ai/api/v1",
"apiKey": "<YOUR_OPEN_ROUTER_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -39,31 +41,33 @@ For example, to prevent extra long prompts from being compressed, you can explic
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Example Model
provider: exampleProvider
model: example-model
requestOptions:
extraBodyProperties:
transforms: []
```
```yaml title="Package or config.yaml"
models:
- name: Example Model
provider: exampleProvider
model: example-model
requestOptions:
extraBodyProperties:
transforms: []
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Example Model",
"provider": "exampleProvider",
"model": "example-model",
"requestOptions": {
"extraBodyProperties": {
"transforms": []
}
```json title="config.json"
{
"models": [
{
"title": "Example Model",
"provider": "exampleProvider",
"model": "example-model",
"requestOptions": {
"extraBodyProperties": {
"transforms": []
}
}
]
```
}
]
}
```
</TabItem>
</Tabs>

View file

@ -17,6 +17,7 @@ Replicate is a great option for newly released language models or models that yo
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Replicate CodeLLama",
@ -25,6 +26,7 @@ Replicate is a great option for newly released language models or models that yo
"apiKey": "<YOUR_REPLICATE_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -26,6 +26,7 @@ Here is an example Sagemaker configuration setup:
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "deepseek-6.7b-instruct",
@ -38,6 +39,7 @@ Here is an example Sagemaker configuration setup:
"provider": "sagemaker",
"model": "mxbai-embed-large-v1-endpoint"
}
}
```
</TabItem>
</Tabs>

View file

@ -28,14 +28,16 @@ We recommend configuring **Qwen2.5-Coder-32B-Instruct** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Qwen2.5-Coder-32B-Instruct",
"provider": "scaleway",
"model": "qwen2.5-coder-32b-instruct",
"apiKey": "<YOUR_SCALEWAY_API_KEY>"
}
]
{
"models": [
{
"title": "Qwen2.5-Coder-32B-Instruct",
"provider": "scaleway",
"model": "qwen2.5-coder-32b-instruct",
"apiKey": "<YOUR_SCALEWAY_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -64,11 +66,13 @@ We recommend configuring **BGE-Multilingual-Gemma2** as your embeddings model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "scaleway",
"model": "bge-multilingual-gemma2",
"apiKey": "<YOUR_SCALEWAY_API_KEY>"
}
}
```
</TabItem>
</Tabs>

View file

@ -27,6 +27,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-32B-Instruct** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Qwen",
@ -35,6 +36,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-32B-Instruct** as your chat model.
"apiKey": "<YOUR_SILICONFLOW_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -57,6 +59,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-7B-Instruct** as your autocomplete
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Qwen",
@ -71,6 +74,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-7B-Instruct** as your autocomplete
"model": "Qwen/Qwen2.5-Coder-7B-Instruct",
"apiKey": "<YOUR_SILICONFLOW_API_KEY>"
}
}
```
</TabItem>
</Tabs>

View file

@ -17,14 +17,16 @@ TextGenWebUI is a comprehensive, open-source language model UI and local server.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Text Generation WebUI",
"provider": "text-gen-webui",
"apiBase": "http://localhost:5000/v1",
"model": "MODEL_NAME"
}
]
{
"models": [
{
"title": "Text Generation WebUI",
"provider": "text-gen-webui",
"apiBase": "http://localhost:5000/v1",
"model": "MODEL_NAME"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -6,17 +6,18 @@ import TabItem from "@theme/TabItem";
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/serverless-models). Change `~/.continue/config.json` to look like this:
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Together Qwen2.5 Coder
provider: together
model: Qwen/Qwen2.5-Coder-32B-Instruct
apiKey: <YOUR_TOGETHER_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Together Qwen2.5 Coder
provider: together
model: Qwen/Qwen2.5-Coder-32B-Instruct
apiKey: <YOUR_TOGETHER_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Together Qwen2.5 Coder",
@ -25,8 +26,9 @@ The Together API is a cloud platform for running large AI models. You can sign u
"apiKey": "<YOUR_TOGETHER_API_KEY>"
}
]
```
</TabItem>
}
```
</TabItem>
</Tabs>
[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Together.ts)

View file

@ -25,14 +25,16 @@ We recommend configuring **Llama3.1 8B** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"models": [
{
"title": "Llama3.1 8B Instruct",
"provider": "vllm",
"model": "meta-llama/Meta-Llama-3.1-8B-Instruct",
"apiBase": "http://<vllm chat endpoint>/v1"
"title": "Llama3.1 8B Instruct",
"provider": "vllm",
"model": "meta-llama/Meta-Llama-3.1-8B-Instruct",
"apiBase": "http://<vllm chat endpoint>/v1"
}
]
}
```
</TabItem>
</Tabs>
@ -42,27 +44,29 @@ We recommend configuring **Llama3.1 8B** as your chat model.
We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model.
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Qwen2.5-Coder 1.5B
provider: vllm
model: Qwen/Qwen2.5-Coder-1.5B
apiBase: http://<vllm autocomplete endpoint>/v1
roles:
- autocomplete
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"tabAutocompleteModel": {
"title": "Qwen2.5-Coder 1.5B",
"provider": "vllm",
"model": "Qwen/Qwen2.5-Coder-1.5B",
"apiBase": "http://<vllm autocomplete endpoint>/v1"
}
```
</TabItem>
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Qwen2.5-Coder 1.5B
provider: vllm
model: Qwen/Qwen2.5-Coder-1.5B
apiBase: http://<vllm autocomplete endpoint>/v1
roles:
- autocomplete
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"tabAutocompleteModel": {
"title": "Qwen2.5-Coder 1.5B",
"provider": "vllm",
"model": "Qwen/Qwen2.5-Coder-1.5B",
"apiBase": "http://<vllm autocomplete endpoint>/v1"
}
}
```
</TabItem>
</Tabs>
## Embeddings model
@ -70,26 +74,28 @@ We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model.
We recommend configuring **Nomic Embed Text** as your embeddings model.
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: VLLM Nomad Embed Text
provider: vllm
model: nomic-ai/nomic-embed-text-v1
apiBase: http://<vllm embed endpoint>/v1
roles:
- embed
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"embeddingsProvider": {
"provider": "vllm",
"model": "nomic-ai/nomic-embed-text-v1",
"apiBase": "http://<vllm embed endpoint>/v1"
}
```
</TabItem>
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: VLLM Nomad Embed Text
provider: vllm
model: nomic-ai/nomic-embed-text-v1
apiBase: http://<vllm embed endpoint>/v1
roles:
- embed
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "vllm",
"model": "nomic-ai/nomic-embed-text-v1",
"apiBase": "http://<vllm embed endpoint>/v1"
}
}
```
</TabItem>
</Tabs>
## Reranking model

View file

@ -45,19 +45,20 @@ Add the following configuration:
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: watsonx - Model Name
provider: watsonx
model: model ID
apiBase: https://us-south.ml.cloud.ibm.com
projectId: PROJECT_ID
apiKey: API_KEY/ZENAPI_KEY/USERNAME:PASSWORD
apiVersion: 2024-03-14
```
```yaml title="Package or config.yaml"
models:
- name: watsonx - Model Name
provider: watsonx
model: model ID
apiBase: https://us-south.ml.cloud.ibm.com
projectId: PROJECT_ID
apiKey: API_KEY/ZENAPI_KEY/USERNAME:PASSWORD
apiVersion: 2024-03-14
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
```json title="config.json"
{
"models": [
{
"model": "model ID",
@ -69,7 +70,8 @@ Add the following configuration:
"apiVersion": "2024-03-14"
}
]
```
}
```
</TabItem>
</Tabs>
@ -92,17 +94,19 @@ If you are using a custom deployment endpoint, set `deploymentID` to the model's
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"model": "model ID",
"title": "watsonx - Model Name",
"provider": "watsonx",
"apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
"apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
"apiVersion": "2024-03-14",
"deploymentId": "DEPLOYMENT_ID"
}
]
{
"models": [
{
"model": "model ID",
"title": "watsonx - Model Name",
"provider": "watsonx",
"apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
"apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
"apiVersion": "2024-03-14",
"deploymentId": "DEPLOYMENT_ID"
}
]
}
```
</TabItem>
</Tabs>
@ -138,6 +142,7 @@ You can also configure generation parameters, such as temperature, topP, topK, f
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"model": "ibm/granite-20b-code-instruct",
@ -159,6 +164,7 @@ You can also configure generation parameters, such as temperature, topP, topK, f
}
}
]
}
```
</TabItem>
</Tabs>
@ -169,32 +175,34 @@ Granite models are recommended for tab auto complete. The configuration is simil
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Granite Code 8b
provider: watsonx
model: ibm/granite-8b-code-instruct
apiBase: watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com
projectId: PROJECT_ID
apiKey: API_KEY/ZENAPI_KEY/USERNAME:PASSWORD
apiVersion: 2024-03-14
roles:
- autocomplete
```
```yaml title="Package or config.yaml"
models:
- name: Granite Code 8b
provider: watsonx
model: ibm/granite-8b-code-instruct
apiBase: watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com
projectId: PROJECT_ID
apiKey: API_KEY/ZENAPI_KEY/USERNAME:PASSWORD
apiVersion: 2024-03-14
roles:
- autocomplete
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"tabAutocompleteModel": {
"model": "ibm/granite-8b-code-instruct",
"title": "Granite Code 8b",
"provider": "watsonx",
"apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
"projectId": "PROJECT_ID",
"apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
"apiVersion": "2024-03-14",
"contextLength": 4000
}
```
```json title="config.json"
{
"tabAutocompleteModel": {
"model": "ibm/granite-8b-code-instruct",
"title": "Granite Code 8b",
"provider": "watsonx",
"apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
"projectId": "PROJECT_ID",
"apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
"apiVersion": "2024-03-14",
"contextLength": 4000
}
}
```
</TabItem>
</Tabs>
@ -219,13 +227,15 @@ To view the list of available embeddings models, visit [this page](https://datap
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"embeddingsProvider": {
"provider": "watsonx",
"model": "ibm/slate-30m-english-rtrvr-v2",
"apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
"projectId": "PROJECT_ID",
"apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
"apiVersion": "2024-03-14"
{
"embeddingsProvider": {
"provider": "watsonx",
"model": "ibm/slate-30m-english-rtrvr-v2",
"apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
"projectId": "PROJECT_ID",
"apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
"apiVersion": "2024-03-14"
}
}
```
</TabItem>

View file

@ -21,19 +21,21 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
- name: Claude 3.5 Sonnet
provider: anthropic
model: claude-3-5-sonnet-latest
apiKey: ${{ secrets.ANTHROPIC_API_KEY }}
apiKey: <YOUR_ANTHROPIC_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Claude 3.5 Sonnet",
"provider": "anthropic",
"model": "claude-3-5-sonnet-latest",
"apiKey": "[API_KEY]"
"apiKey": "<YOUR_ANTHROPIC_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -79,18 +81,20 @@ To enable caching of the system message and the turn-by-turn conversation, updat
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"cacheBehavior": {
"cacheSystemMessage": true,
"cacheConversation": true
},
"title": "Anthropic",
"provider": "anthropic",
"model": "claude-3-5-sonnet-latest",
"apiKey": "<YOUR_ANTHROPIC_API_KEY>"
}
]
{
"models": [
{
"cacheBehavior": {
"cacheSystemMessage": true,
"cacheConversation": true
},
"title": "Anthropic",
"provider": "anthropic",
"model": "claude-3-5-sonnet-latest",
"apiKey": "<YOUR_ANTHROPIC_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -34,15 +34,17 @@ We recommend configuring **GPT-4o** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [{
"title": "GPT-4o",
"provider": "azure",
"model": "gpt-4o",
"apiBase": "<YOUR_DEPLOYMENT_BASE>",
"deployment": "<YOUR_DEPLOYMENT_NAME>",
"apiKey": "<YOUR_AZURE_API_KEY>", // If you use subscription key, try using Azure gateway to rename it apiKey
"apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
}]
{
"models": [{
"title": "GPT-4o",
"provider": "azure",
"model": "gpt-4o",
"apiBase": "<YOUR_DEPLOYMENT_BASE>",
"deployment": "<YOUR_DEPLOYMENT_NAME>",
"apiKey": "<YOUR_AZURE_API_KEY>", // If you use subscription key, try using Azure gateway to rename it apiKey
"apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
}]
}
```
</TabItem>
</Tabs>
@ -64,11 +66,13 @@ We recommend configuring **Codestral** as your autocomplete model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest"
}
}
```
</TabItem>
</Tabs>
@ -93,6 +97,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "azure",
"model": "text-embedding-3-large",
@ -101,6 +106,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
"apiKey": "<YOUR_AZURE_API_KEY>",
"apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
}
}
```
</TabItem>
</Tabs>
@ -145,14 +151,14 @@ For example, a Target URI of `https://just-an-example.openai.azure.com/openai/de
<TabItem value="json" label="JSON">
```json title="config.json"
{
"title": "GPT-4o Azure",
"model": "gpt-4o",
"provider": "openai",
"apiBase": "https://just-an-example.openai.azure.com",
"deployment": "gpt-4o-july",
"apiVersion": "2023-03-15-preview",
"apiKey": "<YOUR_AZURE_API_KEY>",
"apiType": "azure-openai"
"title": "GPT-4o Azure",
"model": "gpt-4o",
"provider": "openai",
"apiBase": "https://just-an-example.openai.azure.com",
"deployment": "gpt-4o-july",
"apiVersion": "2023-03-15-preview",
"apiKey": "<YOUR_AZURE_API_KEY>",
"apiType": "azure-openai"
}
```
</TabItem>

View file

@ -27,6 +27,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Claude 3.5 Sonnet",
@ -36,6 +37,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
"profile": "bedrock"
}
]
}
```
</TabItem>
</Tabs>
@ -59,6 +61,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Claude 3.5 Sonnet",
@ -68,6 +71,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
"profile": "bedrock"
}
]
}
```
</TabItem>
</Tabs>
@ -96,12 +100,14 @@ We recommend configuring [`amazon.titan-embed-text-v2:0`](https://docs.aws.amazo
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"title": "Embeddings Model",
"provider": "bedrock",
"model": "amazon.titan-embed-text-v2:0",
"region": "us-west-2"
}
}
```
</TabItem>
</Tabs>
@ -124,6 +130,7 @@ We recommend configuring `cohere.rerank-v3-5:0` as your reranking model, you may
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"reranker": {
"name": "bedrock",
"params": {
@ -131,6 +138,7 @@ We recommend configuring `cohere.rerank-v3-5:0` as your reranking model, you may
"region": "us-west-2"
}
}
}
```
</TabItem>
</Tabs>
@ -165,6 +173,7 @@ To setup Bedrock using custom imported models, add the following to your config
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "AWS Bedrock deepseek-coder-6.7b-instruct",
@ -175,6 +184,7 @@ To setup Bedrock using custom imported models, add the following to your config
"profile": "bedrock"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -15,27 +15,29 @@ You can get an API key from the [DeepSeek console](https://www.deepseek.com/).
We recommend configuring **DeepSeek Chat** as your chat model.
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: DeepSeek Chat
provider: deepseek
model: deepseek-chat
apiKey: <YOUR_DEEPSEEK_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "DeepSeek Chat",
"provider": "deepseek",
"model": "deepseek-chat",
"apiKey": "<YOUR_DEEPSEEK_API_KEY>"
}
]
```
</TabItem>
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: DeepSeek Chat
provider: deepseek
model: deepseek-chat
apiKey: <YOUR_DEEPSEEK_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "DeepSeek Chat",
"provider": "deepseek",
"model": "deepseek-chat",
"apiKey": "<YOUR_DEEPSEEK_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
## Autocomplete model
@ -43,27 +45,29 @@ We recommend configuring **DeepSeek Chat** as your chat model.
We recommend configuring **DeepSeek Coder** as your autocomplete model.
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: DeepSeek Coder
provider: deepseek
model: deepseek-coder
apiKey: <YOUR_DEEPSEEK_API_KEY>
roles:
- autocomplete
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"tabAutocompleteModel": {
"title": "DeepSeek Coder",
"provider": "deepseek",
"model": "deepseek-coder",
"apiKey": "<YOUR_DEEPSEEK_API_KEY>"
}
```
</TabItem>
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: DeepSeek Coder
provider: deepseek
model: deepseek-coder
apiKey: <YOUR_DEEPSEEK_API_KEY>
roles:
- autocomplete
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"tabAutocompleteModel": {
"title": "DeepSeek Coder",
"provider": "deepseek",
"model": "deepseek-coder",
"apiKey": "<YOUR_DEEPSEEK_API_KEY>"
}
}
```
</TabItem>
</Tabs>
## Embeddings model

View file

@ -26,6 +26,7 @@ We recommend configuring **Gemini 1.5 Pro** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Gemini 1.5 Pro",
@ -34,6 +35,7 @@ We recommend configuring **Gemini 1.5 Pro** as your chat model.
"apiKey": "<YOUR_GEMINI_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -62,11 +64,13 @@ We recommend configuring **text-embedding-004** as your embeddings model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "gemini",
"model": "models/text-embedding-004",
"apiKey": "<YOUR_GEMINI_API_KEY>"
}
}
```
</TabItem>
</Tabs>

View file

@ -28,6 +28,7 @@ We recommend configuring **Mistral Large** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Mistral Large",
@ -36,6 +37,7 @@ We recommend configuring **Mistral Large** as your chat model.
"apiKey": "<YOUR_MISTRAL_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -58,12 +60,14 @@ We recommend configuring **Codestral** as your autocomplete model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest"
// "apiBase": "https://codestral.mistral.ai/v1" // Do this if you are using a Codestral API key
}
}
```
</TabItem>
</Tabs>
@ -87,12 +91,14 @@ We recommend configuring **Mistral Embed** as your embeddings model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "mistral",
"model": "mistral-embed",
"apiKey": "<YOUR_MISTRAL_API_KEY>",
"apiBase": "https://api.mistral.ai/v1"
}
}
```
</TabItem>
</Tabs>

View file

@ -23,6 +23,7 @@ We recommend configuring **Llama3.1 8B** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama3.1 8B",
@ -30,6 +31,7 @@ We recommend configuring **Llama3.1 8B** as your chat model.
"model": "llama3.1:8b"
}
]
}
```
</TabItem>
</Tabs>
@ -51,11 +53,13 @@ We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"tabAutocompleteModel": {
"title": "Qwen2.5-Coder 1.5B",
"provider": "ollama",
"model": "qwen2.5-coder:1.5b-base"
}
}
```
</TabItem>
</Tabs>
@ -77,10 +81,12 @@ We recommend configuring **Nomic Embed Text** as your embeddings model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "ollama",
"model": "nomic-embed-text"
}
}
```
</TabItem>
</Tabs>
@ -107,6 +113,7 @@ To configure a remote instance of Ollama, add the `"apiBase"` property to your m
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama3.1 8B",
@ -115,6 +122,7 @@ To configure a remote instance of Ollama, add the `"apiBase"` property to your m
"apiBase": "http://<my endpoint>:11434"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -114,15 +114,17 @@ If you are using an OpenAI compatible server / API, you can change the `apiBase`
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "OpenAI-compatible server / API",
"provider": "openai",
"model": "MODEL_NAME",
"apiKey": "<YOUR_CUSTOM_API_KEY>",
"apiBase": "http://localhost:8000/v1"
"title": "OpenAI-compatible server / API",
"provider": "openai",
"model": "MODEL_NAME",
"apiKey": "<YOUR_CUSTOM_API_KEY>",
"apiBase": "http://localhost:8000/v1"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -27,6 +27,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Claude 3.5 Sonnet",
@ -36,6 +37,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
"region": "us-east5"
}
]
}
```
</TabItem>
</Tabs>
@ -59,6 +61,7 @@ We recommend configuring **Codestral** or **code-gecko** as your autocomplete mo
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"tabAutocompleteModel": {
"title": "Codestral (Vertex AI)",
"provider": "vertexai",
@ -66,6 +69,7 @@ We recommend configuring **Codestral** or **code-gecko** as your autocomplete mo
"projectId": "[PROJECT_ID]",
"region": "us-central1"
}
}
```
</TabItem>
</Tabs>
@ -76,26 +80,28 @@ We recommend configuring **text-embedding-004** as your embeddings model.
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: Text Embedding-004
provider: vertexai
model: text-embedding-004
projectId: <PROJECT_ID>
region: us-central1
roles:
- embed
```
```yaml title="config.yaml"
models:
- name: Text Embedding-004
provider: vertexai
model: text-embedding-004
projectId: <PROJECT_ID>
region: us-central1
roles:
- embed
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"embeddingsProvider": {
"provider": "vertexai",
"model": "text-embedding-004",
"projectId": "[PROJECT_ID]",
"region": "us-central1"
}
```
```json title="config.json"
{
"embeddingsProvider": {
"provider": "vertexai",
"model": "text-embedding-004",
"projectId": "[PROJECT_ID]",
"region": "us-central1"
}
}
```
</TabItem>
</Tabs>

View file

@ -26,15 +26,17 @@ We recommend configuring **grok-2-latest** as your chat model. For information o
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Grok 2",
"provider": "xAI",
"model": "grok-2-latest",
"apiKey": "<YOUR_XAI_API_KEY>"
}
]
```
{
"models": [
{
"title": "Grok 2",
"provider": "xAI",
"model": "grok-2-latest",
"apiKey": "<YOUR_XAI_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -34,21 +34,23 @@ After obtaining an API key from [here](https://www.voyageai.com/), you can confi
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Voyage Code 3
provider: voyage
model: voyage-code-3
apiKey: <YOUR_VOYAGE_API_KEY>
roles:
- embed
- name: Voyage Code 3
provider: voyage
model: voyage-code-3
apiKey: <YOUR_VOYAGE_API_KEY>
roles:
- embed
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "voyage",
"model": "voyage-code-3",
"apiKey": "<YOUR_VOYAGE_API_KEY>"
}
}
```
</TabItem>
</Tabs>
@ -73,9 +75,11 @@ See [here](../model-providers/top-level/ollama.mdx#embeddings-model) for instruc
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "transformers.js"
}
}
```
</TabItem>
</Tabs>
@ -96,10 +100,12 @@ See [here](../model-providers/top-level/ollama.mdx#embeddings-model) for instruc
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"embeddingsProvider": {
"provider": "huggingface-tei",
"apiBase": "http://localhost:8080"
}
}
```
</TabItem>
</Tabs>

View file

@ -34,6 +34,7 @@ Voyage AI offers the best reranking model for code with their `rerank-2` model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"reranker": {
"name": "voyage",
"params": {
@ -41,6 +42,7 @@ Voyage AI offers the best reranking model for code with their `rerank-2` model.
"apiKey": "<YOUR_VOYAGE_API_KEY>"
}
}
}
```
</TabItem>
</Tabs>
@ -63,13 +65,15 @@ See Cohere's documentation for rerankers [here](https://docs.cohere.com/docs/rer
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"reranker": {
"name": "cohere",
"params": {
"model": "rerank-english-v3.0",
"apiKey": "<YOUR_COHERE_API_KEY>"
"model": "rerank-english-v3.0",
"apiKey": "<YOUR_COHERE_API_KEY>"
}
}
}
```
</TabItem>
</Tabs>
@ -91,12 +95,14 @@ If you only have access to a single LLM, then you can use it as a reranker. This
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"reranker": {
"name": "llm",
"params": {
"modelTitle": "My Model Title"
}
}
{
"reranker": {
"name": "llm",
"params": {
"modelTitle": "My Model Title"
}
}
}
```
</TabItem>
</Tabs>
@ -121,6 +127,7 @@ The `"modelTitle"` field must match one of the models in your "models" array in
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"reranker": {
"name": "huggingface-tei",
"params": {
@ -128,6 +135,7 @@ The `"modelTitle"` field must match one of the models in your "models" array in
"apiKey": "<YOUR_TEI_API_KEY>"
}
}
}
```
</TabItem>
</Tabs>
@ -148,8 +156,10 @@ Continue offers a free trial of Voyage AI's reranking model.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"reranker": {
"name": "free-trial"
{
"reranker": {
"name": "free-trial"
}
}
```
</TabItem>

View file

@ -122,16 +122,17 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
mcpServers:
- name: My MCP Server
command: uvx
args:
- mcp-server-sqlite
- --db-path
- /Users/NAME/test.db
- name: My MCP Server
command: uvx
args:
- mcp-server-sqlite
- --db-path
- /Users/NAME/test.db
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"experimental": {
"modelContextProtocolServers": [
{
@ -143,6 +144,7 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a
}
]
}
}
```
</TabItem>
</Tabs>

View file

@ -30,16 +30,17 @@ Currently custom tools can be configured using the [Model Context Protocol](http
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
mcpServers:
- name: My MCP Server
command: uvx
args:
- mcp-server-sqlite
- --db-path
- /Users/NAME/test.db
- name: My MCP Server
command: uvx
args:
- mcp-server-sqlite
- --db-path
- /Users/NAME/test.db
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"experimental": {
"modelContextProtocolServers": [
{
@ -51,6 +52,7 @@ Currently custom tools can be configured using the [Model Context Protocol](http
}
]
}
}
```
</TabItem>
</Tabs>

View file

@ -22,11 +22,15 @@ 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="config.json"
customCommands=[{
"name": "check",
"description": "Check for mistakes in my code",
"prompt": "{{{ input }}}\n\nPlease read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:\n- Syntax errors\n- Logic errors\n- Security vulnerabilities\n- Performance issues\n- Anything else that looks wrong\n\nOnce you find an error, please explain it as clearly as possible, but without using extra words. For example, instead of saying 'I think there is a syntax error on line 5', you should say 'Syntax error on line 5'. Give your answer as one bullet point per mistake found."
}]
{
"customCommands": [
{
"name": "check",
"description": "Check for mistakes in my code",
"prompt": "{{{ input }}}\n\nPlease read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:\n- Syntax errors\n- Logic errors\n- Security vulnerabilities\n- Performance issues\n- Anything else that looks wrong\n\nOnce you find an error, please explain it as clearly as possible, but without using extra words. For example, instead of saying 'I think there is a syntax error on line 5', you should say 'Syntax error on line 5'. Give your answer as one bullet point per mistake found."
}
]
}
```
#### Templating

View file

@ -141,6 +141,7 @@ After you've set up your server, you can configure Continue to use it by adding
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"contextProviders": [
{
"name": "http",
@ -152,6 +153,7 @@ After you've set up your server, you can configure Continue to use it by adding
}
}
]
}
```
</TabItem>
</Tabs>

View file

@ -35,14 +35,16 @@ Basic authentication can be done with any provider using the `apiKey` field:
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Ollama",
"provider": "ollama",
"model": "llama2-7b",
"apiKey": "<YOUR_CUSTOM_OLLAMA_SERVER_API_KEY>"
}
]
{
"models": [
{
"title": "Ollama",
"provider": "ollama",
"model": "llama2-7b",
"apiKey": "<YOUR_CUSTOM_OLLAMA_SERVER_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -65,18 +67,20 @@ If you need to send custom headers for authentication, you may use the `requestO
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Ollama",
"provider": "ollama",
"model": "llama2-7b",
"requestOptions": {
"headers": {
"X-Auth-Token": "xxx"
{
"models": [
{
"title": "Ollama",
"provider": "ollama",
"model": "llama2-7b",
"requestOptions": {
"headers": {
"X-Auth-Token": "xxx"
}
}
}
}
]
]
}
```
</TabItem>
</Tabs>
@ -99,6 +103,7 @@ Similarly if your model requires a Certificate for authentication, you may use t
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Ollama",
@ -113,6 +118,7 @@ Similarly if your model requires a Certificate for authentication, you may use t
}
}
]
}
```
</TabItem>
</Tabs>

View file

@ -22,16 +22,17 @@ Ollama is the fastest way to get up and running with local language models. We r
3. Change your Continue config file like this:
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 8b
provider: ollama
model: llama3.1-8b
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 8b
provider: ollama
model: llama3.1-8b
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 8b",
@ -39,8 +40,9 @@ Ollama is the fastest way to get up and running with local language models. We r
"model": "llama3.1-8b"
}
]
```
</TabItem>
}
```
</TabItem>
</Tabs>
## Groq
@ -55,27 +57,29 @@ Groq provides the fastest available inference for open-source language models, i
2. Update your Continue config file like this:
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: Llama 3.3 70b Versatile
provider: groq
model: llama-3.3-70b-versatile
apiKey: <YOUR_GROQ_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Llama 3.3 70b Versatile",
"provider": "groq",
"model": "llama-3.3-70b-versatile",
"apiKey": "<YOUR_GROQ_API_KEY>"
}
]
```
</TabItem>
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: Llama 3.3 70b Versatile
provider: groq
model: llama-3.3-70b-versatile
apiKey: <YOUR_GROQ_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama 3.3 70b Versatile",
"provider": "groq",
"model": "llama-3.3-70b-versatile",
"apiKey": "<YOUR_GROQ_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
## Together AI
@ -87,27 +91,29 @@ Together AI provides fast and reliable inference of open-source models. You'll b
3. Update your Continue config file like this:
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 405b
provider: together
model: llama3.1-405b
apiKey: <YOUR_TOGETHER_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Llama 3.1 405b",
"provider": "together",
"model": "llama3.1-405b",
"apiKey": "<YOUR_TOGETHER_API_KEY>"
}
]
```
</TabItem>
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 405b
provider: together
model: llama3.1-405b
apiKey: <YOUR_TOGETHER_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 405b",
"provider": "together",
"model": "llama3.1-405b",
"apiKey": "<YOUR_TOGETHER_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
## Replicate
@ -118,27 +124,29 @@ Replicate makes it easy to host and run open-source AI with an API.
2. Change your Continue config file like this:
<Tabs groupId="config-example">
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 405b
provider: replicate
model: llama3.1-405b
apiKey: <YOUR_REPLICATE_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Llama 3.1 405b",
"provider": "replicate",
"model": "llama3.1-405b",
"apiKey": "<YOUR_REPLICATE_API_KEY>"
}
]
```
</TabItem>
<TabItem value="yaml" label="YAML">
```yaml title="Package or config.yaml"
models:
- name: Llama 3.1 405b
provider: replicate
model: llama3.1-405b
apiKey: <YOUR_REPLICATE_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "Llama 3.1 405b",
"provider": "replicate",
"model": "llama3.1-405b",
"apiKey": "<YOUR_REPLICATE_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
## SambaNova
@ -161,6 +169,7 @@ SambaNova Cloud provides world record Llama3.1 70B/405B serving.
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "SambaNova Llama 3.1 405B",
@ -169,6 +178,7 @@ SambaNova Cloud provides world record Llama3.1 70B/405B serving.
"apiKey": "<YOUR_SAMBA_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>
@ -193,14 +203,16 @@ Cerebras Inference uses specialized silicon to provides fast inference for the L
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Cerebras Llama 3.1 70B",
"provider": "cerebras",
"model": "llama3.1-70b",
"apiKey": "<YOUR_ANTHROPIC_API_KEY>"
}
]
{
"models": [
{
"title": "Cerebras Llama 3.1 70B",
"provider": "cerebras",
"model": "llama3.1-70b",
"apiKey": "<YOUR_ANTHROPIC_API_KEY>"
}
]
}
```
</TabItem>
</Tabs>

View file

@ -35,14 +35,15 @@ import TabItem from "@theme/TabItem";
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
"models": [
{
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest",
"apiKey": "<YOUR_CODESTRAL_API_KEY>",
"apiBase": "https://codestral.mistral.ai/v1"
}
"models": [
{
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest",
"apiKey": "<YOUR_CODESTRAL_API_KEY>",
"apiBase": "https://codestral.mistral.ai/v1"
}
],
"tabAutocompleteModel": {
"title": "Codestral",
@ -51,6 +52,7 @@ import TabItem from "@theme/TabItem";
"apiKey": "<YOUR_CODESTRAL_API_KEY>",
"apiBase": "https://codestral.mistral.ai/v1"
}
}
```
</TabItem>
</Tabs>

View file

@ -15,12 +15,12 @@ You can configure a particular model to be used for Edit:
Use model roles.
```yaml title="Package or config.yaml"
models:
- name: Claude 3.5 Sonnet
provider: anthropic
model: claude-3-5-sonnet-latest
roles:
- edit
apiKey: <YOUR_ANTHROPIC_API_KEY>
- name: Claude 3.5 Sonnet
provider: anthropic
model: claude-3-5-sonnet-latest
apiKey: <YOUR_ANTHROPIC_API_KEY>
roles:
- edit
```
</TabItem>
<TabItem value="json" label="JSON">

View file

@ -240,14 +240,16 @@ List of documentation sites to index.
Example
```json title="config.json"
"docs": [
{
"docs": [
{
"title": "Continue",
"startUrl": "https://docs.continue.dev/intro",
"rootUrl": "https://docs.continue.dev",
"faviconUrl": "https://docs.continue.dev/favicon.ico",
}
]
"title": "Continue",
"startUrl": "https://docs.continue.dev/intro",
"rootUrl": "https://docs.continue.dev",
"faviconUrl": "https://docs.continue.dev/favicon.ico"
}
]
}
```
### `slashCommands`

View file

@ -102,6 +102,7 @@ If you're seeing a `fetch failed` error and your network requires custom certifi
</TabItem>
<TabItem value="json" label="JSON">
```json title="config.json"
{
"models": [
{
"title": "My Model",
@ -111,7 +112,7 @@ If you're seeing a `fetch failed` error and your network requires custom certifi
}
}
],
...
}
```
</TabItem>
</Tabs>