Skip to main content

Get a hand writing your content with AI super powers!

Project description

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
  • Work with multiple LLM providers including local models, OpenAI, Mistral, Claude and many others

https://user-images.githubusercontent.com/27112/223072938-8cb5ccff-4835-489a-8be4-cca85001885e.mp4

Requirements & Costs

Wagtail AI supports many different LLMs, with OpenAI models available by default.

To use these, you'll need an OpenAI 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
  • Django 4.2
  • Python 3.11

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail_ai-2.0.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

wagtail_ai-2.0.1-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file wagtail_ai-2.0.1.tar.gz.

File metadata

  • Download URL: wagtail_ai-2.0.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for wagtail_ai-2.0.1.tar.gz
Algorithm Hash digest
SHA256 50ed9e47522b07231852e563f6c13432a767c5f30810408d945d5a0b6a18ff4a
MD5 d9b486137b0e58673ace299500a3ca2a
BLAKE2b-256 806a6e889bfeb626b9252877eaad013c3b43f1da68cd9f4c9c34be5344f53ac2

See more details on using hashes here.

File details

Details for the file wagtail_ai-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: wagtail_ai-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for wagtail_ai-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ee873c6e364dcd3d8a1bb967444ed78d407089abac2250e44fa15dfaba6ac48
MD5 f36794a46ea8ec1f0c306f874d96edd3
BLAKE2b-256 59cb88e4a2e84b7eafc25d8fb2c2caa1189e1b10152bdcad3b20918624dc21a3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page