Experimental plugin to integrate Ollama in Kate.
Write a text that starts with // AI: [your prompt]
.
senza.titolo.mp4
Ctrl + /
: prints// AI:
Ctrl + ;
: execute Ollama with thegenerate
endpoint, so doesn't have memory of what was already executedCtrl + Shift + ;
: execute Ollama with thegenerate
endpoint, but with the whole content injected before the prompt
Build and install:
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -G Ninja ../
ninja
ninja install
If you are developing a symlink as root can simplify the loading of the latest plugin build:
ln -s /your-folder/build/plugins/kf6/ktexteditor/kateollama.so /usr/lib/x86_64-linux-gnu/qt6/plugins/kf6/ktexteditor/kateollama.so