System Requirements
To run Documind, your system should meet the following requirements:- Node.js: Version 16 or higher
- npm: For package management
- Ghostscript: Required for PDF processing
- GraphicsMagick: For image processing
Install the Package
To install Documind, run the following command:Set Up Environment Variables
Create a.env file and configure your environment variables based on the model you want to use. Here’s a list of supported models:
| Provider | Models | Variable |
|---|---|---|
| OpenAI | gpt-4o-minigpt-4o | OPENAI_API_KEY |
gemini-2.0-flash-001gemini-2.0-flash-lite-preview-02-05gemini-1.5-flashgemini-1.5-flash-8bgemini-1.5-pro | GEMINI_API_KEY | |
| Ollama | llama3.2-vision | BASE_URL |
Usage
Here’s an example of how to use Documind: If you don’t set a model,
gpt-4o-mini will be used by default.