docs: change page heading to model providers (#1684)

This commit is contained in:
Priyash 2024-07-23 01:43:05 +05:30 • committed by GitHub
parent 447e1e686d
commit 5fc8c149af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 32 additions and 11 deletions

View file

@ -10,7 +10,7 @@ Continue can be deeply customized by editing `config.json` and `config.ts` on yo
Currently, you can customize the following:
- [Models](../setup/select-model.md) and [providers](../setup/select-provider.md)
- [Models](../setup/select-model.md) and [Model Providers](../setup/model-providers.md)
- [Context Providers](./context-providers.md)
- [Slash Commands](./slash-commands.md)
- [Other configuration options](../reference/config.mdx)

View file

@ -69,7 +69,7 @@ Groq provides lightning fast inference for open-source LLMs like Llama3, up to t
### ⏩ Other options
The above were only a few examples, but Continue can be used with any LLM or provider. You can find [a full list of providers here](../../setup/select-provider.md).
The above were only a few examples, but Continue can be used with any LLM or provider. You can find [a full list of model providers here](../../setup/model-providers.md).
## Sign in

View file

@ -295,7 +295,7 @@ You can find all existing templates for /edit in [`core/llm/templates/edit.ts`](
## Defining a Custom LLM Provider
If you are using an LLM API that isn't already [supported by Continue](./select-provider.md), and is not an OpenAI-compatible API, you'll need to define a `CustomLLM` object in `config.ts`. This object only requires one of (or both of) a `streamComplete` or `streamChat` function. Here is an example:
If you are using an LLM API that isn't already [supported by Continue](./model-providers.md), and is not an OpenAI-compatible API, you'll need to define a `CustomLLM` object in `config.ts`. This object only requires one of (or both of) a `streamComplete` or `streamChat` function. Here is an example:
```typescript title="~/.continue/config.ts"
export function modifyConfig(config: Config): Config {

View file

@ -1,12 +1,29 @@
---
title: Select providers
description: Configure LLM providers
keywords: [openai, anthropic, gemini, ollama, ggml]
title: Model Providers
description: Configure and integrate various LLM (Large Language Model) providers for chat, autocomplete, and embedding models, whether self-hosted, remote, or via SaaS.
keywords:
[
large language models,
LLM providers,
open-source LLM,
commercial LLM,
self-hosted LLM,
remote LLM,
SaaS LLM,
AI model configuration,
AI providers,
OpenAI,
Anthropic,
Gemini,
Ollama,
HuggingFace,
AWS Bedrock,
]
---
# Select providers
# Model Providers
Continue makes it easy to use different providers for serving your chat, autocomplete, and embeddings models.
Configure and integrate various LLM (Large Language Model) providers for chat, autocomplete, and embedding models, whether self-hosted, remote, or via SaaS.
To select the ones you want to use, add them to your `config.json`.

View file

@ -9,5 +9,5 @@ You will need to decide which models and providers you use for [chat](select-mod
Learn more:
- [Configuration](configuration.md)
- [Select providers](select-provider.md)
- [Model Providers](model-providers.md)
- [Select models](select-model.md)

View file

@ -87,4 +87,4 @@ We recommend the following embeddings models, which are used for codebase retrie
_You can also use other embeddings models by adding them to your `config.json`._
**In addition to selecting models, you will need to figure out [what providers to use](./select-provider.md).**
**In addition to selecting models, you will need to figure out [what model providers to use](./model-providers.md).**

View file

@ -185,6 +185,10 @@ const config = {
from: "/model-setup/configuration",
to: "/setup/configuration",
},
{
from: "/setup/select-provider",
to: "/setup/model-providers",
},
],
},
],

View file

@ -25,7 +25,7 @@ const sidebars = {
items: [
"setup/overview",
"setup/configuration",
"setup/select-provider",
"setup/model-providers",
"setup/select-model",
],
},