wordcraft  by PAIR-code

AI-powered text editor for short story writing

Created 2 years ago
292 stars

Top 90.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 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.