Skip to content
Joël Deffner edited this page Sep 5, 2026 · 2 revisions

ai-form-fill wiki

This is the entry point of the guides: what the library does, and where every topic lives.

ai-form-fill fills any HTML form from text or speech. The user pastes a paragraph or talks, the library reads the form, builds a JSON schema from it, asks a model, and writes the answer back through native setters. It runs against local Ollama with no key and no backend, or against any OpenAI-compatible API, and it has zero runtime dependencies.

The shortest working page

<form id="contact">
  <input name="name" type="text" />
  <input name="email" type="email" />
</form>
<ai-form-fill for="#contact"></ai-form-fill>
<script src="https://cdn.jsdelivr.net/npm/ai-form-fill@2/dist/ai-form-fill.browser.js"></script>

Install Ollama and run ollama pull gemma3:4b once, then open the page. See Getting Started for the same thing with npm, and for the controller and class paths.

Use it

Configure

Understand

Contribute

Elsewhere

Clone this wiki locally