Elffuss BraidHub

kikocis/continue public

451a09bc4725 · 805 BRawPermalink
1import Tabs from "@theme/Tabs";
2import TabItem from "@theme/TabItem";
3
4# Llamafile
5
6A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contained binary that can run an open-source LLM. You can configure this provider in your config.json as follows:
7
8<Tabs groupId="config-example">
9 <TabItem value="yaml" label="YAML">
10 ```yaml title="config.yaml"
11 models:
12 - name: Llamafile
13 provider: llamafile
14 model: mistral-7b
15 ```
16 </TabItem>
17 <TabItem value="json" label="JSON">
18 ```json title="config.json"
19 {
20 "models": [
21 {
22 "title": "Llamafile",
23 "provider": "llamafile",
24 "model": "mistral-7b"
25 }
26 ]
27 }
28 ```
29 </TabItem>
30</Tabs>
31
32[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Llamafile.ts)