{ "version": 0, "ui": { "enable_signup": false }, "rag": { "template": "### Task:\nRespond to the user query using the provided context, incorporating inline citations in the format [id] **only when the tag includes an explicit id attribute** (e.g., ).\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 tag includes an id attribute.**\n- Do not cite if the 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 tag with id attribute is present in the context.\n\n\n{{CONTEXT}}\n\n", "top_k": 10, "bypass_embedding_and_retrieval": false, "full_context": false, "enable_hybrid_search": false, "enable_hybrid_search_enriched_texts": false, "top_k_reranker": 3, "relevance_threshold": 0, "hybrid_bm25_weight": 0.5, "CONTENT_EXTRACTION_ENGINE": "", "pdf_extract_images": false, "datalab_marker_api_key": "", "datalab_marker_api_base_url": "", "datalab_marker_additional_config": "", "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_format_lines": 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_api_key": "", "docling_params": {}, "document_intelligence_endpoint": "", "document_intelligence_key": "", "document_intelligence_model": "prebuilt-layout", "MISTRAL_OCR_API_BASE_URL": "https://api.mistral.ai/v1", "mistral_ocr_api_key": "", "mineru_api_mode": "local", "mineru_api_url": "http://localhost:8000", "mineru_api_key": "", "mineru_api_timeout": "300", "mineru_params": {}, "reranking_engine": "", "external_reranker_url": "", "external_reranker_api_key": "", "external_reranker_timeout": "", "reranking_model": "jinaai/jina-reranker-v2-base-multilingual", "text_splitter": "", "chunk_size": 1200, "chunk_min_size_target": 300, "chunk_overlap": 200, "file": { "max_size": null, "max_count": null, "allowed_extensions": [] }, "web": { "search": { "enable": true, "engine": "perplexity_search", "trust_env": false, "result_count": 3, "concurrent_requests": 0, "domain": { "filter_list": [] }, "bypass_embedding_and_retrieval": false, "bypass_web_loader": false, "ollama_cloud_api_key": "", "searxng_query_url": "http://100.87.1.24:8888/search?q=&format=json&categories=general,news,science", "searxng_language": "all", "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": "", "ddgs_backend": "auto", "tavily_api_key": "", "searchapi_api_key": "", "searchapi_engine": "", "serpapi_api_key": "", "serpapi_engine": "", "jina_api_key": "", "jina_api_base_url": "", "bing_search_v7_endpoint": "https://api.bing.microsoft.com/v7.0/search", "bing_search_v7_subscription_key": "", "exa_api_key": "", "perplexity_api_key": "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", "perplexity_model": "sonar", "perplexity_search_context_usage": "medium", "perplexity_search_api_url": "https://api.perplexity.ai/search", "sougou_api_sid": "", "sougou_api_sk": "", "external_web_search_url": "", "external_web_search_api_key": "", "tavily_extract_depth": "basic", "yandex_web_search_url": "", "yandex_web_search_api_key": "", "yandex_web_search_config": "" }, "loader": { "concurrent_requests": 10, "engine": "", "timeout": "", "ssl_verification": true, "playwright_ws_url": "", "playwright_timeout": 10000, "firecrawl_api_key": "", "firecrawl_api_url": "https://api.firecrawl.dev", "firecrawl_timeout": "", "external_web_loader_url": "", "external_web_loader_api_key": "" } }, "youtube_loader_language": [ "en" ], "youtube_loader_proxy_url": "", "embedding_engine": "ollama", "embedding_model": "nomic-embed-text", "embedding_batch_size": 4, "enable_async_embedding": false, "pdf_loader_mode": "page", "enable_markdown_header_text_splitter": true, "openai_api_base_url": "https://api.openai.com/v1", "openai_api_key": "", "ollama": { "url": "http://100.87.1.24:11434", "key": "" }, "azure_openai": { "base_url": "", "api_key": "", "api_version": "" } }, "file": { "image_compression_width": null, "image_compression_height": null }, "google_drive": { "enable": false }, "onedrive": { "enable": false } }