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.4.0.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.4.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file genkit_plugin_ollama-0.4.0.tar.gz.

File metadata

  • Download URL: genkit_plugin_ollama-0.4.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for genkit_plugin_ollama-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e4be1a61dda4ce180a7b145607613b7938d05efa6edd8d1a01dff721d41cd653
MD5 b55b5c32aa38029a5928c64e173a0c53
BLAKE2b-256 fa97774b90360496c33eb6f2bcec451990f787ab28b1852ae7860d55e3c4c497

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for genkit_plugin_ollama-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 265144424e455fcf8c8de178ac3ce65b770bc5da4601d003a4a133ac01d10d70
MD5 d3d00a49559ff13b0ffadf5c1cd64933
BLAKE2b-256 211ee1d0bc5bac4d76be2819d0af25c80169e919ea6d09a96a54309d3884041b

See more details on using hashes here.

Provenance

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