Merge branch 'main' into dev
This commit is contained in:
commit
ae8043cd7e
7 changed files with 28 additions and 23 deletions
|
|
@ -15,7 +15,7 @@ We recommend configuring **GPT-4o** as your chat model.
|
|||
"apiBase": "<YOUR_DEPLOYMENT_BASE>",
|
||||
"engine": "<YOUR_ENGINE>",
|
||||
"apiVersion": "<YOUR_API_VERSION>",
|
||||
"apiType": "openai",
|
||||
"apiType": "azure",
|
||||
"apiKey": "<MY_API_KEY>"
|
||||
}]
|
||||
```
|
||||
|
|
@ -32,7 +32,7 @@ We recommend configuring **Codestral** as your autocomplete model.
|
|||
"apiBase": "<YOUR_DEPLOYMENT_BASE>",
|
||||
"engine": "<YOUR_ENGINE>",
|
||||
"apiVersion": "<YOUR_API_VERSION>",
|
||||
"apiType": "openai",
|
||||
"apiType": "azure",
|
||||
"apiKey": "<MY_API_KEY>"
|
||||
}]
|
||||
```
|
||||
|
|
@ -48,7 +48,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
|
|||
"apiBase": "<YOUR_DEPLOYMENT_BASE>",
|
||||
"engine": "<YOUR_ENGINE>",
|
||||
"apiVersion": "<YOUR_API_VERSION>",
|
||||
"apiType": "openai",
|
||||
"apiType": "azure",
|
||||
"apiKey": "<MY_API_KEY>"
|
||||
}]
|
||||
```
|
||||
|
|
@ -75,9 +75,17 @@ Azure OpenAI requires a handful of additional parameters to be configured, such
|
|||
|
||||
To find this information in _Azure AI Studio_, first select the model that you would like to connect. Then visit _Endpoint_ > _Target URI_.
|
||||
|
||||
For example, a Target URI of `<https://just-an-example.openai.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2023-13-15-preview>` would map to the following:
|
||||
For example, a Target URI of `<https://just-an-example.openai.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2023-03-15-preview>` would map to the following:
|
||||
|
||||
- model = gpt-4o
|
||||
- engine = gpt-4o
|
||||
- apiVersion = 2023-13-15-preview
|
||||
- apiBase = just-an-example.openai.azure.com
|
||||
```json
|
||||
{
|
||||
"title": "GPT-4o Azure",
|
||||
"model": "gpt-4o",
|
||||
"provider": "azure",
|
||||
"apiBase": "https://just-an-example.openai.azure.com",
|
||||
"apiType": "azure",
|
||||
"engine": "gpt-4o",
|
||||
"apiVersion": "2023-03-15-preview",
|
||||
"apiKey": "<MY_API_KEY>"
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ An "embeddings model" is trained to convert a piece of text into a vector, which
|
|||
|
||||
In Continue, embeddings are generated during indexing and then used by [@codebase](../deep-dives/codebase.md) to perform similarity search over your codebase.
|
||||
|
||||
## Recommended reranking models
|
||||
## Recommended embedding models
|
||||
|
||||
If you have the ability to use any model, we recommend `voyage-code-2`, which is listed below along with the rest of the options for embeddings models.
|
||||
|
||||
|
|
@ -68,4 +68,4 @@ See [here](../model-providers/more/cohere.md#embeddings-model) for instructions
|
|||
|
||||
### Gemini
|
||||
|
||||
See [here](../model-providers/top-level/gemini.md#embeddings-model) for instructions on how to use Gemini for embeddings.
|
||||
See [here](../model-providers/top-level/gemini.md#embeddings-model) for instructions on how to use Gemini for embeddings.
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Voyage AI offers the best reranking model for code with their `rerank-1` model.
|
|||
"reranker": {
|
||||
"name": "voyage",
|
||||
"params": {
|
||||
"model": "rerank-lite-1",
|
||||
"model": "rerank-1",
|
||||
"apiKey": "<VOYAGE_API_KEY>"
|
||||
}
|
||||
}
|
||||
|
|
@ -89,4 +89,4 @@ Continue offers a free trial of Voyage AI's reranking model.
|
|||
"name": "free-trial"
|
||||
}
|
||||
}
|
||||
```
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Introduction
|
||||
description: The open-source AI code assistant for developers
|
||||
slug: /docs
|
||||
slug: /
|
||||
keywords:
|
||||
[
|
||||
continue,
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
id: index
|
||||
slug: /
|
||||
---
|
||||
|
||||
# Index
|
||||
|
||||
This index page should automatically redirect to [/docs](./docs/introduction.md)
|
||||
|
|
@ -82,7 +82,7 @@ const config = {
|
|||
sidebarId: "docsSidebar",
|
||||
position: "left",
|
||||
label: "Docs",
|
||||
href: "/docs",
|
||||
href: "/",
|
||||
},
|
||||
{
|
||||
type: "docSidebar",
|
||||
|
|
@ -181,6 +181,10 @@ const config = {
|
|||
to: "/docs/getting-started/install",
|
||||
from: ["/install/vscode", "/install/jetbrains"],
|
||||
},
|
||||
{
|
||||
to: "/customize/model-types",
|
||||
from: "/setup/overview",
|
||||
},
|
||||
{
|
||||
to: "/docs/getting-started/overview",
|
||||
from: [
|
||||
|
|
@ -294,7 +298,7 @@ const config = {
|
|||
from: "/walkthroughs/set-up-codestral",
|
||||
},
|
||||
{
|
||||
to: "/docs",
|
||||
to: "/",
|
||||
from: "/intro",
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
[[redirects]]
|
||||
from = "/"
|
||||
to = "/docs"
|
||||
status = 200
|
||||
force = true
|
||||
Loading…
Add table
Reference in a new issue