DAFTAR AI User Guide

Table of Contents

1. Introduction

DAFTAR AI is a comprehensive document management system designed to streamline office workflow with powerful features including OCR processing, letter generation, and efficient document organization. This guide will help you understand and utilize all the features of DAFTAR AI effectively.

2. Interface Overview

The DAFTAR AI interface is designed to be intuitive and user-friendly. Here's a breakdown of the main components:

Main Dashboard

The main dashboard provides quick access to all major functions:

3. Dairy Register Management

Adding New Dairy Entries

To add a new dairy entry:

  1. Click the New Dairy button on the main dashboard
  2. Fill in the required fields:
    • Dairy Number - Automatically generated based on your settings
    • Date - Date of receipt (defaults to current date)
    • From - Sender's name/organization
    • Subject - Brief description of the document
    • Category - Select from predefined categories or add a new one
    • File - Attach the document file (PDF, image, etc.)
  3. If you attach a file, you can use the OCR button to extract text
  4. The extracted text can be used to automatically fill in fields or for reference
  5. Add any additional notes in the Remarks field
  6. Click Save to add the entry to the dairy register

Viewing and Managing Dairy Entries

To view and manage dairy entries:

  1. Click the View Dairy button on the main dashboard
  2. The dairy register will be displayed in a grid format
  3. Use the search box to find specific entries
  4. Click on column headers to sort the data
  5. Right-click on an entry to access additional options:
    • Open File - Open the attached document
    • Edit - Modify the entry details
    • Delete - Remove the entry (requires confirmation)
    • Reply - Generate a reply letter
    • Dispatch - Create a related dispatch entry
    • Summary - View a summary of the document
  6. Use the Export button to export the register to Excel or PDF

4. Dispatch Register Management

Adding New Dispatch Entries

To add a new dispatch entry:

  1. Click the New Dispatch button on the main dashboard
  2. Fill in the required fields:
    • Dispatch Number - Automatically generated based on your settings
    • Date - Date of dispatch (defaults to current date)
    • To - Recipient's name/organization
    • Subject - Brief description of the document
    • Category - Select from predefined categories or add a new one
    • File - Attach the document file (PDF, letter generated, etc.)
    • Reply To - Link to a dairy entry if this is a reply (optional)
  3. Add any additional notes in the Remarks field
  4. Click Save to add the entry to the dispatch register

Viewing and Managing Dispatch Entries

To view and manage dispatch entries:

  1. Click the View Dispatch button on the main dashboard
  2. The dispatch register will be displayed in a grid format
  3. Use the search box to find specific entries
  4. Click on column headers to sort the data
  5. Right-click on an entry to access additional options:
    • Open File - Open the attached document
    • Edit - Modify the entry details
    • Delete - Remove the entry (requires confirmation)
  6. Use the Export button to export the register to Excel or PDF

5. OCR Functionality

DAFTAR AI includes powerful OCR (Optical Character Recognition) capabilities to extract text from documents and images.

English OCR

To use English OCR:

  1. When adding a new dairy entry, attach a document file
  2. Click the OCR button
  3. Ensure English is selected in the OCR language dropdown
  4. Click Process to extract text
  5. The extracted text will appear in the OCR Results panel
  6. You can copy this text or use it to automatically fill in fields

Tip: For best results, use clear, high-resolution scans or images. Proper lighting and contrast significantly improve OCR accuracy.

Hindi OCR

To use Hindi OCR:

  1. When adding a new dairy entry, attach a document file
  2. Click the OCR button
  3. Select Hindi in the OCR language dropdown
  4. Click Process to extract text
  5. The extracted Hindi text will appear in the OCR Results panel
  6. You can copy this text or use it for reference

Note: Hindi OCR requires the Hindi language data files to be installed with Tesseract OCR. If you didn't select Hindi during Tesseract installation, you may need to reinstall it with Hindi support.

6. Letter Generation

DAFTAR AI's letter generation feature uses AI to help you create professional correspondence quickly and efficiently.

To generate a letter:

  1. You can access letter generation in several ways:
    • Click the Letter Generation button on the main dashboard
    • Click the Reply option when viewing a dairy entry
  2. In the letter generation form:
    • If replying to a dairy entry, relevant information will be pre-filled
    • Fill in the To, From, and Subject fields
    • Select a Letter Type from the dropdown (e.g., Official, Reminder, Request)
    • Enter key points in the Content Points field
    • Adjust the Tone slider (Formal to Casual)
  3. Click Generate Letter to create the letter
  4. Review the generated letter in the preview panel
  5. Make any necessary edits directly in the editor
  6. Click Save as Draft to save for later, or Finalize to complete
  7. You can then:
    • Print the letter
    • Export as PDF for digital sharing
    • Add to Dispatch to create a dispatch entry

7. System Prompt Optimization

The system prompt is a powerful feature that allows you to customize how the AI generates letters and processes information. By optimizing your system prompts, you can significantly improve the quality and relevance of AI-generated content.

Accessing System Prompt Settings

  1. Go to Settings from the main dashboard
  2. Select the AI Settings tab
  3. Locate the System Prompt section

Understanding System Prompts

The system prompt acts as instructions for the AI model. It defines:

Default System Prompt

You are an expert assistant for government and official correspondence. Your task is to draft professional letters based on the provided information. Follow these guidelines: 1. Use formal language appropriate for official communication 2. Structure the letter with proper salutation, body, and closing 3. Be concise and clear in conveying the message 4. Include all key points provided by the user 5. Maintain a respectful and professional tone 6. Format the letter according to standard official letter formats 7. Do not include any fictional information 8. If writing in Hindi, use proper formal Hindi

Customizing System Prompts

To customize the system prompt for better results:

  1. Specify the exact format you want for letters
  2. Include any standard phrases or terminology specific to your organization
  3. Define the level of formality required
  4. Specify any legal or compliance requirements
  5. Include examples of preferred phrasing

Tip: Be specific about what you want. The more detailed your system prompt, the better the AI can tailor its output to your needs.

Example of an Enhanced System Prompt

You are an expert assistant for government correspondence in the Indian administrative context. Draft official letters following these specific guidelines: 1. Begin with proper reference numbers in the format: F.No.XX-XX/YYYY-DEPT 2. Use formal salutations: "Respected Sir/Madam" or appropriate designation 3. First paragraph should reference any previous correspondence 4. Body should be organized in numbered paragraphs for clarity 5. Use standard Indian government terminology and phrasing 6. Closing should include "Yours faithfully," followed by sender designation 7. Include standard footer with office address and contact information 8. For Hindi letters, use शासकीय Hindi with proper honorifics 9. Maintain brevity while ensuring all points are addressed 10. For legal matters, include relevant sections of applicable laws/rules Example phrases to include when appropriate: - "With reference to your letter dated..." - "In this regard, it is informed that..." - "The matter has been examined and..." - "You are requested to kindly..."

8. Settings and Configuration

DAFTAR AI offers various settings to customize the application according to your needs.

General Settings

To access general settings:

  1. Click the Settings button on the main dashboard
  2. In the General tab, you can configure:
    • Data Storage Location - Where your registers and files are stored
    • Default OCR Language - English, Hindi, or both
    • Auto-save Interval - How often data is automatically saved
    • Check for Updates - Enable/disable automatic update checks
  3. Click Save to apply changes

Numbering Settings

To configure custom numbering for dairy and dispatch entries:

  1. In the Settings window, select the Numbering tab
  2. For Dairy Register:
    • Set the Starting Number for dairy entries
    • Configure Prefix (e.g., "D/", "Dairy/")
    • Set Year Format (e.g., "/YYYY", "-YY")
    • Manage Categories with custom suffix codes
  3. For Dispatch Register:
    • Set the Starting Number for dispatch entries
    • Configure Prefix (e.g., "Disp/", "Out/")
    • Set Year Format (e.g., "/YYYY", "-YY")
    • Manage Categories with custom suffix codes
  4. Click Save to apply changes

Note: Changes to numbering settings will only affect new entries, not existing ones.

AI Settings

To configure AI-related settings:

  1. In the Settings window, select the AI Settings tab
  2. Enter your Gemini API Key
  3. Select the Gemini Model to use (default: gemini-2.0-flash)
  4. Customize the System Prompt for letter generation
  5. Adjust Temperature and other AI parameters if needed
  6. Click Save to apply changes

9. Tips and Best Practices

OCR Best Practices

Letter Generation Tips

Organization Tips

Performance Optimization

Installation and Updates

Tip: If you have trouble extracting the ZIP file, try using a dedicated extraction tool like 7-Zip or WinRAR.

Need Help? If you encounter any issues or have questions not covered in this guide, please contact our support team at [email protected].