Skip to main content

Genkit Ollama Plugin

Project description

Ollama Plugin

This Genkit plugin provides a set of tools and utilities for working with Ollama.

Setup environment

uv venv
source .venv/bin/activate

Serving Ollama Locally

Ollama Service Installation

MacOS (brew)

brew install ollama

Debian/Ubuntu (apt installer)

curl -fsSL https://ollama.com/install.sh | sh

Other installation options may be found here

Start serving of Ollama locally

ollama serve

Ollama is served at http://127.0.0.1:11434 by default.

Installing Required Model

Once ollama service is serving - pull the required model version:

ollama pull <model-version>:<tag>

Check installed models

Installed models can be reviewed with following command:

ollama list

Examples

For examples check ./py/samples/ollama/README.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genkit_plugin_ollama-0.3.0.dev2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genkit_plugin_ollama-0.3.0.dev2-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file genkit_plugin_ollama-0.3.0.dev2.tar.gz.

File metadata

File hashes

Hashes for genkit_plugin_ollama-0.3.0.dev2.tar.gz
Algorithm Hash digest
SHA256 a976d356421c80a3c7c2047a1773622e0b01d0e2e353b8736f1c030836495816
MD5 fe91279339bd583a788799c1929ac78e
BLAKE2b-256 34f5e20176d03a47f6ef71b3e3621de1a4955ba32a0e29fedf533c3faa75dea2

See more details on using hashes here.

Provenance

The following attestation bundles were made for genkit_plugin_ollama-0.3.0.dev2.tar.gz:

Publisher: publish_python.yml on firebase/genkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file genkit_plugin_ollama-0.3.0.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for genkit_plugin_ollama-0.3.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 2248ba463554d2758145e10a92b695d31b573034cfa94b7944499f6eddc0d115
MD5 af8ead68405af7097d4c26f170a184fe
BLAKE2b-256 21274ea53ec618c0faa3238b04c0c33719a22b60cd609afa422a9161fdc60134

See more details on using hashes here.

Provenance

The following attestation bundles were made for genkit_plugin_ollama-0.3.0.dev2-py3-none-any.whl:

Publisher: publish_python.yml on firebase/genkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page