diff --git a/docs/docs/customize/model-providers/top-level/azure.md b/docs/docs/customize/model-providers/top-level/azure.md index 2c511a279..295b7cdc8 100644 --- a/docs/docs/customize/model-providers/top-level/azure.md +++ b/docs/docs/customize/model-providers/top-level/azure.md @@ -15,7 +15,7 @@ We recommend configuring **GPT-4o** as your chat model. "apiBase": "", "engine": "", "apiVersion": "", - "apiType": "openai", + "apiType": "azure", "apiKey": "" }] ``` @@ -32,7 +32,7 @@ We recommend configuring **Codestral** as your autocomplete model. "apiBase": "", "engine": "", "apiVersion": "", - "apiType": "openai", + "apiType": "azure", "apiKey": "" }] ``` @@ -48,7 +48,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model. "apiBase": "", "engine": "", "apiVersion": "", - "apiType": "openai", + "apiType": "azure", "apiKey": "" }] ``` @@ -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 `` would map to the following: +For example, a Target URI of `` 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": "" +} +``` diff --git a/docs/docs/customize/model-types/embeddings.md b/docs/docs/customize/model-types/embeddings.md index f93e31ac2..2960dcbfd 100644 --- a/docs/docs/customize/model-types/embeddings.md +++ b/docs/docs/customize/model-types/embeddings.md @@ -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. \ No newline at end of file +See [here](../model-providers/top-level/gemini.md#embeddings-model) for instructions on how to use Gemini for embeddings. diff --git a/docs/docs/customize/model-types/reranking.md b/docs/docs/customize/model-types/reranking.md index 363f1e7e4..af6c99932 100644 --- a/docs/docs/customize/model-types/reranking.md +++ b/docs/docs/customize/model-types/reranking.md @@ -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": "" } } @@ -89,4 +89,4 @@ Continue offers a free trial of Voyage AI's reranking model. "name": "free-trial" } } -``` \ No newline at end of file +``` diff --git a/docs/docs/docs/introduction.md b/docs/docs/docs/introduction.md index fceccc72e..946c4807c 100644 --- a/docs/docs/docs/introduction.md +++ b/docs/docs/docs/introduction.md @@ -1,7 +1,7 @@ --- title: Introduction description: The open-source AI code assistant for developers -slug: /docs +slug: / keywords: [ continue, diff --git a/docs/docs/index.md b/docs/docs/index.md deleted file mode 100644 index 815b3b805..000000000 --- a/docs/docs/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -id: index -slug: / ---- - -# Index - -This index page should automatically redirect to [/docs](./docs/introduction.md) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 60bc28f5f..4fd0b2830 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -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", }, { diff --git a/docs/netlify.toml b/docs/netlify.toml index 3a462445a..684b4c29d 100644 --- a/docs/netlify.toml +++ b/docs/netlify.toml @@ -1,4 +1,5 @@ [[redirects]] from = "/" to = "/docs" + status = 200 force = true \ No newline at end of file