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.dev1.tar.gz (10.4 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.dev1-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for genkit_plugin_ollama-0.3.0.dev1.tar.gz
Algorithm Hash digest
SHA256 915789785c259bbf1b8817dae95ef5dd3febf7172f4a560038f08bc5e0dec7a6
MD5 d7cfdcbb198c79a97c38c3cefa624856
BLAKE2b-256 e51a1fb5f34d52d8e5ec546bca07f91ec3ecdcb6cf164259380266f94b1d8408

See more details on using hashes here.

Provenance

The following attestation bundles were made for genkit_plugin_ollama-0.3.0.dev1.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.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for genkit_plugin_ollama-0.3.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 063b36e6ba74e4b6ded8c8020cf9682adce83a347c9ddb68c9455f990a50ee5f
MD5 6c9d426b31da95f87040d5ae870f0082
BLAKE2b-256 3726d6e75da8ec7d2d9c38964e87c02c6bbb0741da236c61cef677b461409649

See more details on using hashes here.

Provenance

The following attestation bundles were made for genkit_plugin_ollama-0.3.0.dev1-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