wordcraft  by PAIR-code

AI-powered text editor for short story writing

created 2 years ago
292 stars

Top 91.4% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Wordcraft is an AI-powered text editor designed for short story writers, offering a user-friendly interface to leverage state-of-the-art generative language models like Gemini. It aims to simplify prompt engineering, empowering writers to utilize advanced AI capabilities for creative text generation.

How It Works

Wordcraft utilizes a prompt engineering approach, where carefully crafted input prompts guide large language models (LLMs) like Gemini to perform specific writing tasks. The application's architecture is designed for flexibility, allowing customization of few-shot examples in /app/context to influence the AI's writing style and genre. Operations and controls for interacting with the LLM are managed in /app/core/operations, while model interactions and output parsing occur in /app/models.

Quick Start & Requirements

  • Install dependencies: npm i
  • Run development server: npm run dev
  • Requires a Gemini API key, obtainable from ai.google.dev/tutorials/setup.
  • API key should be placed in a .env file: API_KEY="<INSERT_API_KEY>".

Highlighted Details

  • LLM-powered text editor focused on short story writing.
  • Built by Google PAIR researchers.
  • Leverages Gemini models and in-context learning.
  • Customizable through editing few-shot examples in /app/context/json.
  • Extensible architecture for adding new controls and operations.

Maintenance & Community

This project is not an officially supported Google product. No specific community channels or roadmap information are provided in the README.

Licensing & Compatibility

The README does not explicitly state a license. Given its origin and lack of explicit licensing, commercial use or integration into closed-source projects may require clarification from the authors.

Limitations & Caveats

The application stores API keys client-side for development ease, which is not recommended for production. The project is not an officially supported Google product, implying potential for unannounced changes or deprecation.

Health Check
Last commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
6 stars in the last 90 days

Explore Similar Projects

Starred by Jared Palmer Jared Palmer(Ex-VP of AI at Vercel; Founder of Turborepo; Author of Formik, TSDX), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
1 more.

promptable by cfortuner

0%
2k
TS/JS library for building full-stack AI apps
created 2 years ago
updated 2 years ago
Feedback? Help us improve.