diff --git a/docs/docs/customize/deep-dives/docs.mdx b/docs/docs/customize/deep-dives/docs.mdx index cc371804e..93248c5ea 100644 --- a/docs/docs/customize/deep-dives/docs.mdx +++ b/docs/docs/customize/deep-dives/docs.mdx @@ -121,7 +121,7 @@ Indexing will re-sync upon saving the configuration file. ### Using Your Embeddings Provider -If you have set up an [embeddings provider](../model-types/embeddings.md), @docs will use your embeddings provider. Switching embeddings providers will trigger a re-index of all documentation sites in your configuration. +If you have set up an [embeddings provider](../model-types/embeddings.mdx), @docs will use your embeddings provider. Switching embeddings providers will trigger a re-index of all documentation sites in your configuration. ### Reranking @@ -276,7 +276,7 @@ The following configuration example works out of the box for VS Code. This uses ### Jetbrains minimal setup -Here is the equivalent minimal example for Jetbrains, which requires setting up an [embeddings provider](../model-types/embeddings.md). Pre-indexed docs will _not_ be accessible. +Here is the equivalent minimal example for Jetbrains, which requires setting up an [embeddings provider](../model-types/embeddings.mdx). Pre-indexed docs will _not_ be accessible. diff --git a/docs/docs/customize/model-providers/top-level/xAI.md b/docs/docs/customize/model-providers/top-level/xAI.md deleted file mode 100644 index 550cc0641..000000000 --- a/docs/docs/customize/model-providers/top-level/xAI.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: xAI -slug: ../xai ---- - -:::info - -You can get an API key from the [xAI console](https://console.x.ai/) - -::: - -## Chat model - -We recommend configuring **grok-2-latest** as your chat model. For information on other available models, visit [xAI Documentation](https://docs.x.ai/docs/models). - -```json title="config.json" -{ - "models": [ - { - "title": "Grok 2", - "provider": "xAI", - "model": "grok-2-latest", - "apiKey": "[API_KEY]" - } - ] -} -``` - -## Autocomplete model - -xAI currently does not offer any autocomplete models. - -[Click here](../../model-types/autocomplete.md) to see a list of autocomplete model providers. - -## Embeddings model - -xAI currently does not offer any embeddings models. - -[Click here](../../model-types/embeddings.md) to see a list of embeddings model providers. - -## Reranking model - -xAI currently does not offer any reranking models. - -[Click here](../../model-types/reranking.md) to see a list of reranking model providers. - -## Legacy Completions - -To force usage of `chat/completions` instead of `completions` endpoint you can set - -```json -"useLegacyCompletionsEndpoint": false -```