ollama-holes-plugin: A typed-hole plugin that uses LLMs via Ollama to generate valid hole-fits
This package provides a GHC plugin that uses LLMs via Ollama to generate valid hole-fits. . The following flags are available: . To specify the model to use: . > -fplugin-opt=GHC.Plugin.OllamaHoles:model=model_name . To specify how many fits to generate (passed to the model) . > -fplugin-opt=GHC.Plugin.OllamaHoles:n=5 . To enable debug output: . > -fplugin-opt=GHC.Plugin.OllamaHoles:debug=True . Before using this plugin, make sure you have the Ollama CLI installed and the model you want to use is available. You can install the Ollama CLI by following the instructions at <a href="https://ollama.com/download">https://ollama.com/download</a>, and you can install the default model (gemma3:27b) by running `ollama pull gemma3:27b`. . Note that the speed and quality of the hole-fits generated by the plugin depends on the model you use, and the default model requires a GPU to run efficiently. For a smaller model, we suggest `gemma3:4b-it-qat`, or `deepcoder:1.5b`.
[Skip to Readme]
Downloads
- ollama-holes-plugin-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.18.2.1 && <4.19), ghc (>=9.6 && <9.7), ollama-haskell (>=0.1 && <0.2), text (>=2.1 && <2.2) [details] |
Tested with | ghc >=9.6 && <9.7 |
License | MIT |
Copyright | 2025- Matthias Pall Gissurarson |
Author | Matthias Pall Gissurarson <mpg@mpg.is> |
Maintainer | Matthias Pall Gissurarson <mpg@mpg.is> |
Category | Development, Compiler Plugin |
Home page | https://github.com/Tritlo/OllamaHoles |
Source repo | head: git clone git://github.com/Tritlo/OllamaHoles.git |
Uploaded | by tritlo at 2025-04-25T09:57:02Z |
Distributions | |
Downloads | 2 total (2 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |