https://github.com/gptscript-ai/ollama-provider
https://github.com/gptscript-ai/ollama-provider
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gptscript-ai/ollama-provider
- Owner: gptscript-ai
- License: apache-2.0
- Created: 2024-09-12T18:28:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-11T20:14:32.000Z (over 1 year ago)
- Last Synced: 2025-07-02T05:05:13.499Z (11 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.MD
- License: LICENSE
Awesome Lists containing this project
README
# Ollama Provider
Assumes you have ollama running already, with the model you want to use configured.
## Usage
```
gptscript --default-model='llama3.1 from github.com/gptscript-ai/ollama-provider' examples/bob.gpt
```
## Development
Run using the following commands
```
python -m venv .venv
source ./.venv/bin/activate
pip install -r requirements.txt
DEBUG=true ./run.sh
```
```
gptscript --default-model='llama3.1 from http://127.0.0.1:8000/v1' examples/bob.gpt
```