ollama/examples/README.md

22 lines
515 B
Markdown
Raw Normal View History

2023-07-19 04:11:56 +08:00
# Examples
2023-08-10 02:49:22 +08:00
This directory contains different examples of using Ollama
2023-07-19 04:11:56 +08:00
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.
2023-07-19 04:11:56 +08:00
To create a model:
```
ollama create example -f <example file>
```
To run a model:
```
ollama run example
```