Skip to content

pydantic/ollama-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ollama GitHub Action

CI

GitHub Action to install ollama, pull a model and run the ollama server.

Both the ollama install and the model are cached between runs.

Example usage:

      - uses: pydantic/ollama-action@v3
        with:
          model: qwen2:0.5b

We can then run tests and connect to http://localhost:11434 to make requests to ollama. Here we use the qwen2:0.5b model as it's very small and therefore quick to download.

This action is used by pydantic-ai.

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages