# config

created_at: 2025-07-09 12:00:39
updated_at: 2025-07-13 11:17:24.548976
data:
  {
      "version": 0,
      "ui": {
          "enable_signup": false,
          "default_user_role": "pending",
          "enable_community_sharing": false,
          "enable_message_rating": false,
          "enable_user_webhooks": false,
          "pending_user_overlay_title": "",
          "pending_user_overlay_content": "",
          "watermark": "",
          "prompt_suggestions": [],
          "banners": [],
          "default_models": "openai",
          "model_order_list": [
              "deepseek-reasoning",
              "grok",
              "openai",
              "openai-fast",
              "openai-large",
              "qwen-coder",
              "bidara",
              "mistral",
              "phi"
          ]
      },
      "auth": {
          "admin": {
              "show": false
          },
          "api_key": {
              "enable": false,
              "endpoint_restrictions": false,
              "allowed_endpoints": ""
          },
          "jwt_expiry": "-1"
      },
      "channels": {
          "enable": false
      },
      "notes": {
          "enable": false
      },
      "ldap": {
          "enable": false
      },
      "evaluation": {
          "arena": {
              "enable": false,
              "models": []
          }
      },
      "user": {
          "permissions": {
              "workspace": {
                  "models": false,
                  "knowledge": false,
                  "prompts": false,
                  "tools": false
              },
              "sharing": {
                  "public_models": false,
                  "public_knowledge": false,
                  "public_prompts": false,
                  "public_tools": false
              },
              "chat": {
                  "controls": true,
                  "system_prompt": true,
                  "file_upload": true,
                  "delete": true,
                  "edit": true,
                  "share": false,
                  "export": false,
                  "stt": false,
                  "tts": false,
                  "call": false,
                  "multiple_models": false,
                  "temporary": true,
                  "temporary_enforced": true
              },
              "features": {
                  "direct_tool_servers": false,
                  "web_search": false,
                  "image_generation": false,
                  "code_interpreter": true,
                  "notes": false
              }
          }
      },
      "direct": {
          "enable": false
      },
      "models": {
          "base_models_cache": false
      },
      "ollama": {
          "enable": false,
          "base_urls": [
              "http://host.docker.internal:11434"
          ],
          "api_configs": {}
      },
      "task": {
          "model": {
              "default": "",
              "external": ""
          },
          "title": {
              "enable": false,
              "prompt_template": ""
          },
          "follow_up": {
              "enable": false,
              "prompt_template": ""
          },
          "image": {
              "prompt_template": ""
          },
          "autocomplete": {
              "enable": false,
              "input_max_length": -1
          },
          "tags": {
              "enable": false,
              "prompt_template": ""
          },
          "query": {
              "search": {
                  "enable": false
              },
              "retrieval": {
                  "enable": false
              },
              "prompt_template": ""
          },
          "tools": {
              "prompt_template": ""
          }
      },
      "rag": {
          "embedding_engine": "",
          "embedding_model": "sentence-transformers/all-MiniLM-L6-v2",
          "template": "### Task:\nRespond to the user query using the provided context, incorporating inline citations in the format [id] **only when the <source> tag includes an explicit id attribute** (e.g., <source id=\"1\">).\n\n### Guidelines:\n- If you don't know the answer, clearly state that.\n- If uncertain, ask the user for clarification.\n- Respond in the same language as the user's query.\n- If the context is unreadable or of poor quality, inform the user and provide the best possible answer.\n- If the answer isn't present in the context but you possess the knowledge, explain this to the user and provide the answer using your own understanding.\n- **Only include inline citations using [id] (e.g., [1], [2]) when the <source> tag includes an id attribute.**\n- Do not cite if the <source> tag does not contain an id attribute.\n- Do not use XML tags in your response.\n- Ensure citations are concise and directly related to the information provided.\n\n### Example of Citation:\nIf the user asks about a specific topic and the information is found in a source with a provided id attribute, the response should include the citation like in the following example:\n* \"According to the study, the proposed method increases efficiency by 20% [1].\"\n\n### Output:\nProvide a clear and direct response to the user's query, including inline citations in the format [id] only when the <source> tag with id attribute is present in the context.\n\n<context>\n{{CONTEXT}}\n</context>\n\n<user_query>\n{{QUERY}}\n</user_query>",
          "top_k": 3,
          "bypass_embedding_and_retrieval": true,
          "full_context": true,
          "enable_hybrid_search": true,
          "top_k_reranker": 3,
          "relevance_threshold": 0.0,
          "hybrid_bm25_weight": 0.5,
          "CONTENT_EXTRACTION_ENGINE": "",
          "pdf_extract_images": true,
          "datalab_marker_api_key": "",
          "datalab_marker_langs": "",
          "datalab_marker_skip_cache": false,
          "datalab_marker_force_ocr": false,
          "datalab_marker_paginate": false,
          "datalab_marker_strip_existing_ocr": false,
          "datalab_marker_disable_image_extraction": false,
          "datalab_marker_output_format": "markdown",
          "DATALAB_MARKER_USE_LLM": false,
          "external_document_loader_url": "",
          "external_document_loader_api_key": "",
          "tika_server_url": "http://tika:9998",
          "docling_server_url": "http://docling:5001",
          "docling_ocr_engine": "tesseract",
          "docling_ocr_lang": "eng,fra,deu,spa",
          "docling_do_picture_description": false,
          "docling_picture_description_mode": "",
          "docling_picture_description_local": {},
          "docling_picture_description_api": {},
          "document_intelligence_endpoint": "",
          "document_intelligence_key": "",
          "mistral_ocr_api_key": "",
          "reranking_engine": "",
          "external_reranker_url": "",
          "external_reranker_api_key": "",
          "reranking_model": "",
          "text_splitter": "",
          "chunk_size": 1000,
          "chunk_overlap": 100,
          "file": {
              "max_size": null,
              "max_count": null,
              "allowed_extensions": []
          },
          "web": {
              "search": {
                  "enable": false,
                  "engine": "",
                  "trust_env": false,
                  "result_count": 3,
                  "concurrent_requests": 10,
                  "domain": {
                      "filter_list": []
                  },
                  "bypass_embedding_and_retrieval": false,
                  "bypass_web_loader": false,
                  "searxng_query_url": "",
                  "yacy_query_url": "",
                  "yacy_username": "",
                  "yacy_password": "",
                  "google_pse_api_key": "",
                  "google_pse_engine_id": "",
                  "brave_search_api_key": "",
                  "kagi_search_api_key": "",
                  "mojeek_search_api_key": "",
                  "bocha_search_api_key": "",
                  "serpstack_api_key": "",
                  "serpstack_https": true,
                  "serper_api_key": "",
                  "serply_api_key": "",
                  "tavily_api_key": "",
                  "searchapi_api_key": "",
                  "searchapi_engine": "",
                  "serpapi_api_key": "",
                  "serpapi_engine": "",
                  "jina_api_key": "",
                  "bing_search_v7_endpoint": "https://api.bing.microsoft.com/v7.0/search",
                  "bing_search_v7_subscription_key": "",
                  "exa_api_key": "",
                  "perplexity_api_key": "",
                  "perplexity_model": "sonar",
                  "perplexity_search_context_usage": "medium",
                  "sougou_api_sid": "",
                  "sougou_api_sk": "",
                  "external_web_search_url": "",
                  "external_web_search_api_key": "",
                  "tavily_extract_depth": "basic"
              },
              "loader": {
                  "engine": "",
                  "ssl_verification": true,
                  "playwright_ws_url": "",
                  "playwright_timeout": 10000,
                  "firecrawl_api_key": "",
                  "firecrawl_api_url": "https://api.firecrawl.dev",
                  "external_web_loader_url": "",
                  "external_web_loader_api_key": ""
              }
          },
          "youtube_loader_language": [
              "en"
          ],
          "youtube_loader_proxy_url": ""
      },
      "file": {
          "image_compression_width": null,
          "image_compression_height": null
      },
      "google_drive": {
          "enable": false
      },
      "onedrive": {
          "enable": false
      },
      "code_execution": {
          "enable": true,
          "engine": "pyodide",
          "jupyter": {
              "url": "",
              "auth": "",
              "auth_token": "",
              "auth_password": "",
              "timeout": 60
          }
      },
      "code_interpreter": {
          "enable": true,
          "engine": "pyodide",
          "prompt_template": "",
          "jupyter": {
              "url": "",
              "auth": "",
              "auth_token": "",
              "auth_password": "",
              "timeout": 60
          }
      },
      "audio": {
          "tts": {
              "openai": {
                  "api_base_url": "https://api.openai.com/v1",
                  "api_key": ""
              },
              "api_key": "",
              "engine": "",
              "model": "",
              "voice": "",
              "split_on": "none",
              "azure": {
                  "speech_region": "",
                  "speech_base_url": "",
                  "speech_output_format": "audio-24khz-160kbitrate-mono-mp3"
              }
          },
          "stt": {
              "openai": {
                  "api_base_url": "https://api.openai.com/v1",
                  "api_key": ""
              },
              "engine": "web",
              "model": "",
              "supported_content_types": [
                  ""
              ],
              "whisper_model": "base",
              "deepgram": {
                  "api_key": ""
              },
              "azure": {
                  "api_key": "",
                  "region": "",
                  "locales": "",
                  "base_url": "",
                  "max_speakers": ""
              }
          }
      }
  }


