| 1 | --- |
| 2 | title: "NVIDIA" |
| 3 | description: "Configure NVIDIA AI models with Continue, including setup for Nemotron-4-340B-Instruct for chat and NVIDIA Retrieval QA Mistral 7B for embeddings" |
| 4 | --- |
| 5 | |
| 6 | <Info> |
| 7 | [View the |
| 8 | docs](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#option-1-from-api-catalog) |
| 9 | to learn how to get an API key. |
| 10 | </Info> |
| 11 | |
| 12 | ## Chat model |
| 13 | |
| 14 | We recommend configuring **Nemotron-4-340B-Instruct** as your chat model. |
| 15 | |
| 16 | <Tabs> |
| 17 | <Tab title="YAML"> |
| 18 | ```yaml title="config.yaml" |
| 19 | models: |
| 20 | - name: Nemotron-4-340B-Instruct |
| 21 | provider: nvidia |
| 22 | model: nvidia-nemotron-4-340b-instruct |
| 23 | apiKey: <YOUR_NVIDIA_API_KEY> |
| 24 | ``` |
| 25 | </Tab> |
| 26 | <Tab title="JSON"> |
| 27 | ```json title="config.json" |
| 28 | { |
| 29 | "models": [ |
| 30 | { |
| 31 | "title": "Nemotron-4-340B-Instruct", |
| 32 | "provider": "nvidia", |
| 33 | "model": "nvidia-nemotron-4-340b-instruct", |
| 34 | "apiKey": "<YOUR_NVIDIA_API_KEY>" |
| 35 | } |
| 36 | ] |
| 37 | } |
| 38 | ``` |
| 39 | </Tab> |
| 40 | </Tabs> |
| 41 | |
| 42 | ## Autocomplete model |
| 43 | |
| 44 | NVIDIA currently does not offer any autocomplete models. |
| 45 | |
| 46 | [Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers. |
| 47 | |
| 48 | ## Embeddings model |
| 49 | |
| 50 | We recommend configuring **NVIDIA Retrieval QA Mistral 7B** as your embeddings model. |
| 51 | |
| 52 | <Tabs> |
| 53 | <Tab title="YAML"> |
| 54 | ```yaml title="config.yaml" |
| 55 | models: |
| 56 | - name: Nvidia Embedder |
| 57 | provider: nvidia |
| 58 | model: nvidia/nv-embedqa-mistral-7b-v2 |
| 59 | apiKey: <YOUR_NVIDIA_API_KEY> |
| 60 | roles: |
| 61 | - embed |
| 62 | ``` |
| 63 | </Tab> |
| 64 | <Tab title="JSON"> |
| 65 | ```json title="config.json" |
| 66 | { |
| 67 | "embeddingsProvider": { |
| 68 | "provider": "nvidia", |
| 69 | "model": "nvidia/nv-embedqa-mistral-7b-v2", |
| 70 | "apiKey": "<YOUR_NVIDIA_API_KEY>" |
| 71 | } |
| 72 | } |
| 73 | ``` |
| 74 | </Tab> |
| 75 | </Tabs> |
| 76 | |
| 77 | ## Reranking model |
| 78 | |
| 79 | NVIDIA currently does not offer any reranking models. |
| 80 | |
| 81 | [Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers. |