TextCraft is your ultimate AI-powered companion for Microsoft® Word®, seamlessly blending tools like text generation and proofreading directly into your workspace. No internet? No problem. Built for offline use, TextCraft puts cutting-edge AI at your fingertips while keeping your privacy front and center—a smarter, sleeker alternative to Microsoft® Copilot™️.
To install this application, ensure your system meets the following requirements:
Here's how to install TextCraft, the Office® Add-In with powerful AI tools:
ollama pull qwen2.5:1.5b
ollama pull all-minilm
TextCraft_x32.zip
.TextCraft_x64.zip
.setup.exe
: This will install any required dependencies for TextCraft, including .NET Framework® 4.8.1 and Visual Studio® 2010 Tools for Office Runtime.OfficeAddInSetup.msi
to install TextCraft.This add-in is designed to work effortlessly with OpenAI-compatible API endpoints, supporting providers like OpenAI, Ollama, and others such as vLLM. If your provider follows the OpenAI API standard, it should integrate seamlessly. See the table below for more details:
Provider | Support |
---|---|
OpenAI | Fully supported |
Ollama | Fully supported |
Others | Generally supported; check provider details |
The add-in is fully compatible with all display languages supported by Office (except Quechua (Peru) due to compatibility reasons), ensuring a seamless experience for users across different language preferences. For a complete list of supported languages, visit Microsoft's support page.
Here’s a list of user environment variables you can adjust to tailor the settings to your needs.
Environment Key | Example Value | Description |
---|---|---|
TEXTCRAFT_OPENAI_ENDPOINT |
https://api.openai.com/v1 |
Specifies the API endpoint for TextCraft. Defaults to Ollama (http://localhost:11434/v1 ) if not specified. |
TEXTCRAFT_API_KEY |
dummy_key |
Sets the API key to authenticate with the API endpoint. |
TEXTCRAFT_EMBED_MODEL |
all-minilm:latest |
Specifies the embedding model to use in TextCraft. |
TEXTCRAFT_GENERATE_PROMPT |
You are an AI assistant... |
Allows you to customize the system prompt for the Generate feature, tailoring it to your needs. |
TEXTCRAFT_REVIEW_PROMPT |
You are an expert writing assistant... |
Lets you override the system prompt for the Review feature, ensuring it aligns with your goals. |
TEXTCRAFT_PROOFREAD_PROMPT |
You are a proofreading assistant... |
Provides the flexibility to define your own system prompt for the Proofread feature. |
TEXTCRAFT_REWRITE_PROMPT |
You are an advanced language model... |
Enables you to set a personalized system prompt for the Rewrite feature. |
TEXTCRAFT_COMMENT_PROMPT |
You are an AI assistant... |
Controls the system prompt for AI mentions in comments. |
Click the "Generate" button to open a task pane with a text box and a "Generate" button. Simply type your prompt in the text box (plaintext only) and press CTRL+Enter or click the button to generate a response. The AI will use any available RAG context and the contents of your Word document to craft its reply. Once the response is ready, it will be seamlessly converted from markdown into Word formatting.
Expand the "Writing Tools" menu to choose from three options: Review, Proofread, and Rewrite.
Use the RAG Control to enhance the AI’s understanding by adding PDFs with relevant context. This additional context is applied when using the Generate and Review features.
Ask questions directly within your document by tagging the AI in a Word comment using "@". It’s intuitive and integrates seamlessly with Word’s modern comments feature, making collaboration and guidance easier than ever. For example, if you’ve selected the Qwen2.5:1.5b model in the dropdown, simply type "@qwen2.5:1.5b" in a comment, and the AI will reply right there, streamlining your workflow.
To customize and develop this Software, follow these steps:
Note: For more information on VSTO (Visual Studio® Tools for Office®) development, you can refer to the official Microsoft® documentation.