Elffuss BraidHub

kikocis/continue public

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