README.md 515 Bytes
Newer Older
1
2
# Examples

Jeffrey Morgan's avatar
Jeffrey Morgan committed
3
This directory contains different examples of using Ollama
4

5
6
7
8
9
10
Folders that start with `base-` are the simplest examples of using Ollama. They are meant to be used as a starting point for your own models.

Folders that start with `langchain-` or `llamaindex-` use those tools to integrate Ollama with other tools.

Folders with `python` in the name use Python. Other languages are also used.

11
12
13
14
15
16
17
18
19
20
21
To create a model:

```
ollama create example -f <example file>
```

To run a model:

```
ollama run example
```