jams2 / wagtail-ai

Get help with your Wagtail content using AI superpowers.

Home Page:https://wagtail-ai.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wagtail-ai

Wagtail AI

Get help with your content using AI superpowers.

License: MIT PyPI version ai CI

Wagtail AI integrates Wagtail with AI's APIs (think ChatGPT) to help you write and correct your content.

Right now, it can:

  • Finish what you've started - write some text and tell Wagtail AI to finish it off for you
  • Correct your spelling/grammar
  • Let you add your own custom prompts
WagtailAIDemo.mp4

Requirements & Costs

You'll need a paid OpenAI or Anthropic account and an API key. There'll also be some cost involved. For the OpenAI API used here, OpenAI charges $0.002 for 1,000 tokens (a word is about 1.3 tokens). Every token sent to the API, and every token we get back counts, so you can expect using 'correction' on 1,000 word paragraph to cost roughly:

  • (1,000 * 1.3) + (35 * 1.3) (for the initial prompt) tokens sent to the API
  • + (1,000 * 1.3) tokens received from the API
  • = 2,645 tokens = $0.0053

Links

Supported Versions

  • Wagtail 5.2

About

Get help with your Wagtail content using AI superpowers.

https://wagtail-ai.readthedocs.io/en/latest/

License:MIT License


Languages

Language:Python 81.7%Language:TypeScript 12.8%Language:JavaScript 3.3%Language:CSS 1.9%Language:HTML 0.2%