> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moorcheh.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# v1.4.0

> Direct AI Mode & Enhanced API Flexibility - Empty namespace support for direct AI calls and improved error handling

<Update label="Version 1.4.0" description="Released September 13, 2025">
  ### Direct AI Mode

  #### Empty Namespace Support

  * New **Direct AI Mode** when passing empty string `""` as namespace
  * Direct AI model calls without searching your data for general-purpose AI interactions
  * Perfect for general AI assistance, creative writing, coding help, and educational content
  * Maintains all AI model capabilities while bypassing data search functionality

  #### API Flexibility

  * Two distinct modes: **Search Mode** (with namespace) and **Direct AI Mode** (empty namespace)
  * Search Mode: Full data search and retrieval capabilities
  * Direct AI Mode: Pure AI model interaction without data constraints
  * Seamless switching between modes based on namespace parameter

  ### Enhanced Error Handling

  #### Field Validation

  * Specific error messages for field validation based on namespace mode
  * Empty namespace with invalid fields: `"Bad Request: namespace, query, temperature, chatHistory, footerPrompt, headerPrompt, aiModel are the only allowed fields with empty namespace."`
  * Provided namespace with invalid fields: `"Bad Request: namespace, query, top_k, threshold, type, kiosk_mode, aiModel, chatHistory, headerPrompt, footerPrompt, temperature are the only allowed fields with provided namespace."`
  * Improved developer experience with clear guidance on correct field usage
</Update>
