CoolFace
Apppublic

ngxson/ollama_template_test

sourceHugging Facemitupdated 2y agoView on Hugging Face
12likes
App README

Ollama Go Template Web Demo

This is a web-based demonstration tool for testing Ollama chat templates using Go's template engine compiled to WebAssembly.

Features

  • Live preview of chat template formatting
  • WebAssembly-powered Go template engine
  • Simple and intuitive web interface

Usage

  1. 1.Enter your conversation JSON in the first text area
  2. 2.Modify the Ollama template in the second text area
  3. 3.Click "Apply chat template" to see the results

How to build it

sh
# Make sure to install golang
# Clone the repo
./build.sh
# Enjoy

License

MIT License