v0.18.0
infiniflow/ragflowv0.18.0Apr 23, 2025by KevinHuSh
AI Summary
Introduces MCP server access to RAGFlow knowledge bases, VLM-based PDF parsing, and Agent version control. Adds OpenAI-compatible APIs and user registration controls.
Key Highlights
- MCP server enables access to RAGFlow knowledge bases
- VLM model support for PDF layout recognition
- Agent version control with rollback via export
- Team collaboration features for Agents
- OpenAI-compatible APIs for Agents
- User registration control via environment variable
Breaking Changes
- Built-in re-rank models have been removed
New Features
- MCP Server/Client functionality
- VLM PDF parser
- Agent version control
- Team sharing capabilities
- OpenAI-compatible API
Full Release Notes
Release v0.18.0 created from 94181a990b957ed302952b4de17583d2b44f3099 at 2025-04-23 14:11:59+08:00 ## New features - MCP server: enables access to RAGFlow's knowledge bases via MCP. - DeepDoc supports adopting VLM model as a processing pipeline during document layout recognition, enabling in-depth analysis of images in PDFs. - Agent version control: all updates are continuously logged and can be rolled back to a previous version via export. - Team collaboration: Agents can be shared with team members. - OpenAI-compatible APIs: Agents can be called via OpenAI-compatible APIs. - User registration control: administrators can enable or disable user registration through an environment variable. ## Improvements - Enhanced answer referencing: Citation accuracy in generated responses is improved. - Enhanced question-answering experience: users can now manually stop streaming output during a conversation. ## Compatibility changes - From this release on wards, built-in re-rank models have been removed because they have minimal impact on retrieval rates but significantly increase retrieval time. ## What's Changed * Test: Added test cases for Download Documents HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6032 * Fix: optimize OCR garbage identification to reduce unnecessary filtering by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6027 * Fix: chat_completion answer data incorrect by @alen08266 in https://github.com/infiniflow/ragflow/pull/6041 * Improve API Documentation, Standardize Error Handling, and Enhance Comments by @PStarH in https://github.com/infiniflow/ragflow/pull/5990 * Fix: Reduce excessive IO operations by loading LLM factory configurations by @utopia2077 in https://github.com/infiniflow/ragflow/pull/6047 * Feat: Add deepseek to llm_factories by @c-goosen in https://github.com/infiniflow/ragflow/pull/6051 * Fix 6030 by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6070 * Fix: empty doc id validation. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6064 * Feat: Change “Document parser” to "PDF parser" #6072 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6073 * Feat: add token comsumption & speed to little lamp. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6077 * Refa: remove max toekns for image2txt models. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6078 * Fix: remove NaN output of components. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6079 * Fix executor name by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6080 * Fix: Prevent password boxes other than login passwords from displaying passwords saved in the browser's password manager by default. #6033 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6084 * Doc: update launch from source. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6074 * Fix: check the file name length. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6083 * Refa: enlarge default max request body size. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6088 * Fix: none parse_config updating. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6092 * Fix: Knowledge base page cannot upload folders #6062 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6096 * Fix: fix document concurrent upload issue by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6095 * Refa: enlarge http body size. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6100 * Fix: limit the depth of DFS by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6101 * Regards kb_id at ElasticSearch insert, update, delete. by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6105 * Fix: empty tag field issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6103 * Fix: Fixed the issue that events cannot be triggered after the shadcn-ui dialog is closed #3221. by @cike8899 in https://github.com/infiniflow/ragflow/pull/6108 * Introduced task priority by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6118 * Fix: update link of deploy_local_llm.mdx by @jingfelix in https://github.com/infiniflow/ragflow/pull/6110 * Test: Added test cases for Update Documents HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6106 * Doc: Update readme document by @zmxccxy in https://github.com/infiniflow/ragflow/pull/6052 * Test: update test cases per pr #6095 to fix issue #6039 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6143 * Feat: Limit view with more knowledge when list knowledge so many by @isthaison in https://github.com/infiniflow/ragflow/pull/6093 * Feat: add OCR's muti-gpus and parallel processing support by @debugdoctor in https://github.com/infiniflow/ragflow/pull/5972 * Fix: validation of readonly fields. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6144 * Fix: retrieval debug mode issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6150 * Refa: refine the error message. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6151 * Refa: fix re-rank scope. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6152 * Miscellaneous UI updates by @writinwaters in https://github.com/infiniflow/ragflow/pull/6094 * Test: fix expected value validation for list dataset endpoint by @asiroliu in https://github.com/infiniflow/ragflow/pull/6160 * Test: Added test cases for List Documents HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6158 * Fix: Correct parameter retrieval in thumbup api by @kuro5989 in https://github.com/infiniflow/ragflow/pull/6114 * Test: update test cases per pr #6144 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6166 * Refa: PARALLEL_DEVICES is a static parameter. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6168 * Refa: Improve ppt_parser better handle list by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/6162 * Test: Added test cases for Delete Documents HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6175 * Fix: none item while concating df. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6176 * Feat: Improve Recognizer.py performance by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/6185 * Fix: in case response.choices[0].message.content is None. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6190 * Fix: NaN data error. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6192 * Fix: doc deletion failure with invalid docid. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6194 * Docs: remove max tokens. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6198 * Docs: rm max token by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6202 * Fix: float transfer exception. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6197 * Fix: enable ollama api-key. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6205 * Fix: miss url path. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6211 * Feat: Add TreeView component #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6214 * Fix: add support for non-stream response with session.ask_without_stream by @Nalkey in https://github.com/infiniflow/ragflow/pull/6207 * Feat: add vision LLM PDF parser by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6173 * Fix: rank feat issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6225 * Feat: Alter TransferList props #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6226 * Feat: text file support position retaining. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6231 * Fix: empty retrieval kb ids. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6236 * Test: Added test cases for Parse Documents HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6235 * Fix: Nan issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6242 * Fix: #5719 Added type check for parser_config by @asiroliu in https://github.com/infiniflow/ragflow/pull/6243 * Miscellaneous updates by @writinwaters in https://github.com/infiniflow/ragflow/pull/6245 * Fix: read flow blank template strings from i18n file by @Womsxd in https://github.com/infiniflow/ragflow/pull/6240 * Fix: tag_feas deletion error. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6257 * Fix: type violations. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6262 * Fix: let parsing continue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6259 * Feat: add TTS support for SILICONFLOW. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6264 * Fix: Nan response for retrieval component. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6265 * Fix: remove dup ids for APIs. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6263 * Fix: long api key issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6267 * Feat: support agent version history. by @isthaison in https://github.com/infiniflow/ragflow/pull/6130 * Feat: Alter TreeView component #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6272 * Fix: switch follow interact issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6279 * Fix: Add a basic example when the example of content_tagging is empty by @zhoujy95 in https://github.com/infiniflow/ragflow/pull/6276 * Fix get_unacked_iterator by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6280 * Docs: Update accelerate_doc_indexing.mdx by @zangqianglei in https://github.com/infiniflow/ragflow/pull/6268 * Fix: In the Agent's workflow, the input content cannot be wrapped, and \n will not work, otherwise an error will be reported #6241 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6284 * Feat: add agent share team viewer by @isthaison in https://github.com/infiniflow/ragflow/pull/6222 * Feat: add VLM-boosted PDF parser by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6278 * Test: Added test cases for Stop Parse Documents HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6285 * UI updates by @writinwaters in https://github.com/infiniflow/ragflow/pull/6290 * Fix: optimize setting config initialization to resolve Minio initialization error by @lgphone in https://github.com/infiniflow/ragflow/pull/6282 * Feat: add fallback for PDF figure parser by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6305 * Feat: add VLM-boosted DocX parser by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6307 * Test: Skip unstable 'stop parse documents' test cases by @asiroliu in https://github.com/infiniflow/ragflow/pull/6310 * Fix: rerank with vllm issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6306 * Fix: adapt to old configurations. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6321 * Fix: Resolved a bug where sibling components in Canvas were not restricted to fetching data from the upstream when parallel components were present. by @Sci-fiBrain in https://github.com/infiniflow/ragflow/pull/6315 * Fix: type import by @isthaison in https://github.com/infiniflow/ragflow/pull/6328 * Fix(api): correct document parsing progress check logic by @hy89 in https://github.com/infiniflow/ragflow/pull/6318 * Fix update_progress by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6340 * Feat: Add the functionality to load environment variables from a .env file by @liwenju0 in https://github.com/infiniflow/ragflow/pull/6331 * Chore: unify Ruff config and enable async checks (ASYNC, TRIO) by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6351 * Call register_scripts on connecting redis by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6361 * Fix: Optimized the get_by_id method to resolve the issue of missing exceptions and improve query performance by @lgphone in https://github.com/infiniflow/ragflow/pull/6320 * Feat: Add user registration toggle feature by @liwenju0 in https://github.com/infiniflow/ragflow/pull/6327 * Fix: let quot stay. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6377 * Refa: refine template. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6381 * Refa: refine template. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6382 * Remove feature_request.md by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6383 * Fix: huggingface rerank model issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6385 * Refa: control the simi for entity resolution. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6386 * Fix broken discord invitation links by @yingfeng in https://github.com/infiniflow/ragflow/pull/6388 * Feat: Add Duplicate ID Check and Update Deletion Logic by @liwenju0 in https://github.com/infiniflow/ragflow/pull/6376 * Fix: add_chunk api, empty content issue by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6390 * Fix: flow list translate to zh by @andy1199 in https://github.com/infiniflow/ragflow/pull/6371 * Fix: the error of Ollama embeddings interface returning "500 Internal Server Error" by @zhoujy95 in https://github.com/infiniflow/ragflow/pull/6350 * Fix: change ollama default num_ctx. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6395 * UI updates. by @writinwaters in https://github.com/infiniflow/ragflow/pull/6398 * Fix: miss calculate of token number. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6401 * Feat: Adds hierarchical title path tracking for tables in DOCX documents to improve context association by @fansir in https://github.com/infiniflow/ragflow/pull/6374 * Feat: If the Transfer item is disabled, the item cannot be edited. #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6409 * Fix: add chunk, empty question issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6405 * Fix: multiple top-level packages error in Python project by @fansir in https://github.com/infiniflow/ragflow/pull/6370 * Test: Added test cases for Add Chunk HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6408 * Fix: Preserve quotes while handling variable substitution withTemplate component. by @theshyPika in https://github.com/infiniflow/ragflow/pull/6410 * Fix ratelimit errors during document parsing by @fansir in https://github.com/infiniflow/ragflow/pull/6413 * Feat: support pic base bullet for PPT by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/6406 * Fix: rerank with YoudaoRerank issue. by @zhoujy95 in https://github.com/infiniflow/ragflow/pull/6396 * Fix: point in tag issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6436 * Feat: Add background-core-standard to tailwind.css #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6437 * Test: Update test cases for PR #6194 #6259 #6376 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6444 * Refa: update Anthropic models. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6445 * Test: Update test case for #6081 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6446 * Feat: add basic Langfuse support for LLM module by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6443 * Feat: support api-key for Ollama. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6448 * Fix: NameError: free variable 'langfuse_generation' referenced before assignment in enclosing scope by @lizheng419 in https://github.com/infiniflow/ragflow/pull/6451 * Fix: Langfuse update model has no fields attribute by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6453 * Feat: add Langfuse APIs by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6460 * Feat: Add LangfuseCard component. #6155 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6468 * Feat: Improve "/convert" API's performance by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/6465 * Miscellaneous UI updates by @writinwaters in https://github.com/infiniflow/ragflow/pull/6471 * Fix: split process bug in graphrag extract by @utopia2077 in https://github.com/infiniflow/ragflow/pull/6423 * Test: Update test cases to reduce execution time by @asiroliu in https://github.com/infiniflow/ragflow/pull/6470 * Refa: enhancement: enhance the prompt of related_question API by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6463 * Feat: improve the performance for '/upload' API by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/6479 * Remove thinking block from keyword node's result by @Graf2242 in https://github.com/infiniflow/ragflow/pull/6474 * Test: Add list chunk checkpoint for the add chunk API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6482 * Feat: add project_id and project_name to Langfuse API by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6481 * Fix: claude max tokens. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6484 * Fix: Resolve FlowSetting not reading Title from .ts files by @Sci-fiBrain in https://github.com/infiniflow/ragflow/pull/6469 * Fix: remove doc status checking while creating an assistant. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6486 * Fix: api-key issue for xinference. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6490 * Fix: failed to acquire lock exception with retry mechanism for postgres and mysql by @liwenju0 in https://github.com/infiniflow/ragflow/pull/6483 * Fix: img_id errror. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6504 * Feat: improve '/mv' '/list' API performance by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/6502 * Test: Added test cases for List Chunks HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6514 * Fix: abnormal chunk id by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6506 * Fix: describe parameter error. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6519 * 0321 chunkmethods by @writinwaters in https://github.com/infiniflow/ragflow/pull/6520 * Fix: link to KB from filemanager. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6530 * Fix: Hunyuan model adding error. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6531 * Fix: Bedrock model invocation error. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6533 * Fix: image_id is None. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6538 * Optimize graphrag again by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6513 * Fix: uploading in chat box issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6547 * Test: Added test cases for Update Chunk HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6556 * Fix: python_api_reference.md update dataset bug by @zstar1003 in https://github.com/infiniflow/ragflow/pull/6527 * Feat: add "tools" to llm_factories.json by @BadwomanCraZY in https://github.com/infiniflow/ragflow/pull/6552 * Fix:flow DB Assistant module translate to zh by @andy1199 in https://github.com/infiniflow/ragflow/pull/6562 * AI search vs. chat by @writinwaters in https://github.com/infiniflow/ragflow/pull/6569 * Test: Update test cases for PR #6405 #6504 #6538 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6565 * Refa: change LLM chat output from full to delta (incremental) by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6534 * Update values.yaml image to infiniflow/infinity:v0.6.0-dev3 issue#5882 by @felix5572 in https://github.com/infiniflow/ragflow/pull/6568 * Rename graphrag task lock by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6576 * fix: Remove unnecessary minio initialization by @zanyatta in https://github.com/infiniflow/ragflow/pull/6544 * Fix: team doc deletion issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6589 * Fix: LmStudioChat issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6591 * EntityResolution batch. Close #6570 by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6602 * Fix: The rule of Categorize operator is adjusted. by @MichaelXcc in https://github.com/infiniflow/ragflow/pull/6599 * Introduced delete_knowledge_graph by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6605 * Refa: token similarity calculations. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6614 * Test: Added test cases for Delete Chunks HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6612 * Fix: When Excel is a formula, the parsed result is a formula, but cannot be correctly parsed as a value type by @donblack01 in https://github.com/infiniflow/ragflow/pull/6613 * Feat: Add RadioGroup component #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6622 * Fix: binlog_expire_logs_seconds by @adysec in https://github.com/infiniflow/ragflow/pull/6626 * Fix: HTTP API delete_chunks issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6621 * Dynamic Context Window Size for Ollama Chat by @MarcusYuan in https://github.com/infiniflow/ragflow/pull/6582 * Consolidate entrypoint to support broader deployment scenarios by @wanpdsantos in https://github.com/infiniflow/ragflow/pull/6566 * Fix entity_types. Close #6287 and #6608 by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6632 * Docs: fix retrieval docs. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6633 * Fix knowledge_graph_kwd on infinity. Close #6476 and #6624 by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6651 * Fix agent completion requiring calling twice with parameters in begin component by @notsyncing in https://github.com/infiniflow/ragflow/pull/6659 * Test: Added test cases for Retrieval Chunks HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6649 * Don't split and strip input in retrieval component. by @notsyncing in https://github.com/infiniflow/ragflow/pull/6662 * Fix table migration on non-exist-yet indexed columns. by @notsyncing in https://github.com/infiniflow/ragflow/pull/6666 * Update broken discord by @yingfeng in https://github.com/infiniflow/ragflow/pull/6678 * Added a guide on setting page rank. by @writinwaters in https://github.com/infiniflow/ragflow/pull/6645 * Refa: add meta data to retrieval. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6676 * add type canvas by @isthaison in https://github.com/infiniflow/ragflow/pull/6680 * Refa: remove default build-in rerank model. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6682 * Feat: support vision llm for gpustack by @alexcodelf in https://github.com/infiniflow/ragflow/pull/6636 * Feat: extend S3 storage compatibility and add knowledge base ID prefix by @RedBookOfMemory in https://github.com/infiniflow/ragflow/pull/6355 * Refa: docker/.env comment refinement. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6689 * fix: Resolve KnowledgeGraph entity resolution errors (#6653) by @Yue-Lyu123 in https://github.com/infiniflow/ragflow/pull/6691 * fix: correct [AttributeError: 'set' object has no attribute 'nodes' T… by @Yue-Lyu123 in https://github.com/infiniflow/ragflow/pull/6699 * Fix: `Email` error. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6701 * Feat: add qwq-plus-latest by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6702 * Feat: Allows users to search for models in the model selection drop-down box #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6708 * Hotfix ece5903 by @Yue-Lyu123 in https://github.com/infiniflow/ragflow/pull/6705 * Test: Refactor test fixtures and test cases by @asiroliu in https://github.com/infiniflow/ragflow/pull/6709 * Fix infinite recursion in RagTokenizer when processing repetitive characters by @zky001 in https://github.com/infiniflow/ragflow/pull/6109 * Feat: Interrupt streaming #6515 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6723 * Miscellaneous doc updates and refactored team management doc. by @writinwaters in https://github.com/infiniflow/ragflow/pull/6730 * Feat: Add a notification logic to the team member invite feature #6610 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6729 * Test: Skip test case for PR 6643 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6724 * Feat: Support deleting knowledge graph #6747 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6748 * Updated max_tokens descriptions by @writinwaters in https://github.com/infiniflow/ragflow/pull/6751 * Fix: Using the Enter key does not send a complete message #6754 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6755 * Fix: The file upload prompt indicates "No authorization." #6516 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6756 * Fix: Change the field name of the document ID from "documents" to "do… by @liwenju0 in https://github.com/infiniflow/ragflow/pull/6753 * Fix: Issue with Markdown Code Blocks Breaking Frontend Layout #5789 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6758 * Log llm response on exception by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6750 * Docs(api): align default values in create chat assistant HTTP API dos with implementation by @asiroliu in https://github.com/infiniflow/ragflow/pull/6764 * Test: Added test cases for Create Chat Assistant HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6763 * Fix: Handle the case of deleting empty blocks. Update the relevant message by @liwenju0 in https://github.com/infiniflow/ragflow/pull/6643 * Test: Update test cases for PR #6643 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6766 * Docs: Fix for issue #6713 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6775 * Feat: add gemini-2.5-pro-exp-03-25 by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6774 * Fix set_graph on non-existing edge by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6777 * Refa: copywriting refinement. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6779 * Feat: Clarify the use of OpenAI-API-compatible #6782 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6783 * Feat: add OpenAI compatible API for agent by @isthaison in https://github.com/infiniflow/ragflow/pull/6329 * Fix: missing redis pvc storageclass in helm by @Fruneng in https://github.com/infiniflow/ragflow/pull/6788 * Test: Added test cases for List Chat Assistants HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6792 * Fix: update chunk, empty question issue. by @asiroliu in https://github.com/infiniflow/ragflow/pull/6800 * Feat: Load the dialog page, prohibit calling the dialog/get interface #6798 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6799 * Refa: trival. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6802 * Test: Update test cases for #6800 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6804 * update some setting to README_zh.md by @WKRZY in https://github.com/infiniflow/ragflow/pull/6737 * Miscellaneous editorial updates by @writinwaters in https://github.com/infiniflow/ragflow/pull/6805 * Fix: improve Dockerfile build for China by @zonefile in https://github.com/infiniflow/ragflow/pull/6812 * Update broken discord link by @yingfeng in https://github.com/infiniflow/ragflow/pull/6841 * Fix:When parsing documents with graph, an error occurred:[ERROR][Exception]: 'method' by @caiming100 in https://github.com/infiniflow/ragflow/pull/6836 * Fix: docx image exceptions. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6839 * Test: Added test cases for Update Chat Assistant HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6843 * Fix: Error message is incorrect when updating chat name #6850 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6851 * fix: add exception handling for get_by_id method by @caiming100 in https://github.com/infiniflow/ragflow/pull/6861 * Feat: add primitive support for function calls by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6840 * Test: Added test cases for Delete Chat Assistants HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6879 * Fix: handle waiting tasks when upstream is switch/categorize/relevant and normal path fails by @Sci-fiBrain in https://github.com/infiniflow/ragflow/pull/6874 * Feat: Install sonner library #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6898 * fix Conversation roles must alternate user/assistant/user/assistant/... bug by @YanWuHao in https://github.com/infiniflow/ragflow/pull/6880 * Test: Added test cases for Create Session With Chat Assistant HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6902 * Fix delete duplicate assistant by @liwenju0 in https://github.com/infiniflow/ragflow/pull/6888 * Added a guide on setting chat variables by @writinwaters in https://github.com/infiniflow/ragflow/pull/6904 * Fix: local variable referenced before assignment by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6909 * Test: Update test cases for PR 6888 ISSUE 6876 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6907 * Fix: assistant deleteion issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6906 * Test: Update test cases for PR 6906 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6929 * Test: Added test cases for List Sessions With Chat Assistant HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6938 * Fix: remove deprecated `permission` field by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6912 * Added similarity scores in reference chunks by @xintoteai in https://github.com/infiniflow/ragflow/pull/6918 * Feat: Add translation text to the prompt word of the generate operator to distinguish it from the prompt word of the knowledge base #6934 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6935 * Miscellaneous UI updates by @writinwaters in https://github.com/infiniflow/ragflow/pull/6947 * Fix: incorrect total chunks count in retrieval function after similarity filtering (#6741) by @Yue-Lyu123 in https://github.com/infiniflow/ragflow/pull/6932 * Fix: In the dark night theme, the message input box is not displayed correctly. #6950 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6951 * fix bug [ERROR][Exception]: 8 vs. 9 by @YanWuHao in https://github.com/infiniflow/ragflow/pull/6955 * Fix: Delete unused pages by @cike8899 in https://github.com/infiniflow/ragflow/pull/6973 * Test: Update test cases for PR 6906 ISSUE 6875 by @asiroliu in https://github.com/infiniflow/ragflow/pull/6971 * Test: Added test cases for Update Session With Chat Assistant HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/6968 * Fix: KB update_time changed whenever system relaunched by @yongtenglei in https://github.com/infiniflow/ragflow/pull/6959 * Fix: Ensure lock is released in update_progress using context manager by @benni82 in https://github.com/infiniflow/ragflow/pull/6975 * fix RAGFlowPdfParser AttributeError: 'PdfReader' object has no attribute 'close' err by @gsmini in https://github.com/infiniflow/ragflow/pull/6859 * docs: update Docker build commands to specify platform as linux/amd64 by @wanpdsantos in https://github.com/infiniflow/ragflow/pull/6977 * Make error messages during PPT processing clearer. by @YanWuHao in https://github.com/infiniflow/ragflow/pull/6980 * Fix: Fix api page translation issue. #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/6993 * Fix update_progress issue by @yuzhichang in https://github.com/infiniflow/ragflow/pull/6992 * Fix: abnormal cell mergeing. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/6991 * Fix: The selected state of the TreeView node cannot be seen on Mac #7000 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7001 * Docs: readme updating. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/7002 * Feat: Remove the rotation state of the button that parses the document #7008 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7009 * Refa: update llms by @yongtenglei in https://github.com/infiniflow/ragflow/pull/7007 * Fix Helm Ingress template by @FranckKe in https://github.com/infiniflow/ragflow/pull/7018 * Fix: add fallback for bad citation output by @yongtenglei in https://github.com/infiniflow/ragflow/pull/7014 * Refa. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/7022 * Fix: when remove document do not delete the file in storage if the source is not knowledge base by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/7005 * Test: Added test cases for Delete Sessions With Chat Assistant HTTP API by @asiroliu in https://github.com/infiniflow/ragflow/pull/7025 * Docs: updates. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/7042 * Docs: Change DELETE to POST in Related Questions curl example by @asiroliu in https://github.com/infiniflow/ragflow/pull/7054 * Miscellaneous editorial updates. by @writinwaters in https://github.com/infiniflow/ragflow/pull/7047 * Fix: Files being parsed are not allowed to be deleted in batches #7065 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7066 * Fix: pymysql.err.InterfaceError: (0, '') during long time streaming chat responses (#6548) by @Yue-Lyu123 in https://github.com/infiniflow/ragflow/pull/7057 * Fix: Error in sending placeholder words in Chinese and Chinese-Traditional by @good-ideal in https://github.com/infiniflow/ragflow/pull/7094 * Fix: knowledge graph resolution with infinity raise error tokenizing in specific situations by @alkscr in https://github.com/infiniflow/ragflow/pull/7048 * Update utils.py by @BUJIQI in https://github.com/infiniflow/ragflow/pull/7091 * Fix: wrong “available” property when list chunk by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/7093 * Feat: Retrieval test #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7121 * Fix: handle sometimes graph index will miss explanation by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/7127 * fix bug chunking:expected string or bytes-like object by @QuintinTao in https://github.com/infiniflow/ragflow/pull/7116 * Feat: Rendering a search test list with real data #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7138 * fix(nursery): Fix Closure Trap Issues in Trio Concurrent Tasks by @aniaan in https://github.com/infiniflow/ragflow/pull/7106 * Fix: cite disfunction for G component. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/7117 * feat: Recover pending tasks while pod restart. by @liuzhenghua in https://github.com/infiniflow/ragflow/pull/7073 * Docs: MCP server by @yongtenglei in https://github.com/infiniflow/ragflow/pull/7141 * Feat: mcp server by @yongtenglei in https://github.com/infiniflow/ragflow/pull/7084 * Fix: don't modify S3 file name when not using prefix_path by @notsyncing in https://github.com/infiniflow/ragflow/pull/7152 * Docs: add mcp self-host mode by @yongtenglei in https://github.com/infiniflow/ragflow/pull/7163 * Feat: add mcp self-host mode by @yongtenglei in https://github.com/infiniflow/ragflow/pull/7157 * Feat: Rename a dataset #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7162 * Refa: Optimize pptx shape extraction to reduce content loss by @zhudongwork in https://github.com/infiniflow/ragflow/pull/6703 * Fix: KG search issue. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/7186 * refactor: Update Redis configuration to use StatefulSet instead of deployment with pvc by @wanpdsantos in https://github.com/infiniflow/ragflow/pull/7187 * Feat: Filter the knowledge base list using owner #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7191 * Feat: Move langfuse configuration to api page #6155 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7196 * Put the knowledge base list related hooks into use-knowledge-request.ts #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7197 * Fix: fix retrieval tesing wrong pagination by @yongtenglei in https://github.com/infiniflow/ragflow/pull/7174 * Fix: Knowledge Graph Extraction Conflict Between Dataset-Level and File-Specific Configurations #7198 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7199 * Feat: Even if the knowledge base has slices, the chunk method can be changed #7115 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7201 * Feat: Show the owner of this knowledge base on the list card. #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7204 * [BREAKING CHANGE] GET to POST: enhance kb list capability by @yongtenglei in https://github.com/infiniflow/ragflow/pull/7205 * Added a RAPTOR guide by @writinwaters in https://github.com/infiniflow/ragflow/pull/7211 * Feat: Upload document #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/7209 * v0.18.0 release notes by @writinwaters in https://github.com/infiniflow/ragflow/pull/7185 * Updated v0.18.0 release notes by @writinwaters in https://github.com/infiniflow/ragflow/pull/7221 * Docs: update for v0.18.0 by @asiroliu in https://github.com/infiniflow/ragflow/pull/7223 * Refa: knowledge_graph chunk method is deprecated by @yongtenglei in https://github.com/infiniflow/ragflow/pull/7220 ## New Contributors * @PStarH made their first contribution in https://github.com/infiniflow/ragflow/pull/5990 * @utopia2077 made their first contribution in https://github.com/infiniflow/ragflow/pull/6047 * @c-goosen made their first contribution in https://github.com/infiniflow/ragflow/pull/6051 * @jingfelix made their first contribution in https://github.com/infiniflow/ragflow/pull/6110 * @zmxccxy made their first contribution in https://github.com/infiniflow/ragflow/pull/6052 * @Woody-Hu made their first contribution in https://github.com/infiniflow/ragflow/pull/6162 * @Nalkey made their first contribution in https://github.com/infiniflow/ragflow/pull/6207 * @Womsxd made their first contribution in https://github.com/infiniflow/ragflow/pull/6240 * @zhoujy95 made their first contribution in https://github.com/infiniflow/ragflow/pull/6276 * @zangqianglei made their first contribution in https://github.com/infiniflow/ragflow/pull/6268 * @lgphone made their first contribution in https://github.com/infiniflow/ragflow/pull/6282 * @Sci-fiBrain made their first contribution in https://github.com/infiniflow/ragflow/pull/6315 * @andy1199 made their first contribution in https://github.com/infiniflow/ragflow/pull/6371 * @fansir made their first contribution in https://github.com/infiniflow/ragflow/pull/6374 * @theshyPika made their first contribution in https://github.com/infiniflow/ragflow/pull/6410 * @Graf2242 made their first contribution in https://github.com/infiniflow/ragflow/pull/6474 * @zstar1003 made their first contribution in https://github.com/infiniflow/ragflow/pull/6527 * @BadwomanCraZY made their first contribution in https://github.com/infiniflow/ragflow/pull/6552 * @felix5572 made their first contribution in https://github.com/infiniflow/ragflow/pull/6568 * @MichaelXcc made their first contribution in https://github.com/infiniflow/ragflow/pull/6599 * @adysec made their first contribution in https://github.com/infiniflow/ragflow/pull/6626 * @MarcusYuan made their first contribution in https://github.com/infiniflow/ragflow/pull/6582 * @wanpdsantos made their first contribution in https://github.com/infiniflow/ragflow/pull/6566 * @notsyncing made their first contribution in https://github.com/infiniflow/ragflow/pull/6659 * @RedBookOfMemory made their first contribution in https://github.com/infiniflow/ragflow/pull/6355 * @Yue-Lyu123 made their first contribution in https://github.com/infiniflow/ragflow/pull/6691 * @Fruneng made their first contribution in https://github.com/infiniflow/ragflow/pull/6788 * @WKRZY made their first contribution in https://github.com/infiniflow/ragflow/pull/6737 * @zonefile made their first contribution in https://github.com/infiniflow/ragflow/pull/6812 * @caiming100 made their first contribution in https://github.com/infiniflow/ragflow/pull/6836 * @YanWuHao made their first contribution in https://github.com/infiniflow/ragflow/pull/6880 * @xintoteai made their first contribution in https://github.com/infiniflow/ragflow/pull/6918 * @benni82 made their first contribution in https://github.com/infiniflow/ragflow/pull/6975 * @gsmini made their first contribution in https://github.com/infiniflow/ragflow/pull/6859 * @FranckKe made their first contribution in https://github.com/infiniflow/ragflow/pull/7018 * @good-ideal made their first contribution in https://github.com/infiniflow/ragflow/pull/7094 * @alkscr made their first contribution in https://github.com/infiniflow/ragflow/pull/7048 * @BUJIQI made their first contribution in https://github.com/infiniflow/ragflow/pull/7091 * @QuintinTao made their first contribution in https://github.com/infiniflow/ragflow/pull/7116 * @aniaan made their first contribution in https://github.com/infiniflow/ragflow/pull/7106 * @liuzhenghua made their first contribution in https://github.com/infiniflow/ragflow/pull/7073 * @zhudongwork made their first contribution in https://github.com/infiniflow/ragflow/pull/6703 **Full Changelog**: https://github.com/infiniflow/ragflow/compare/v0.17.2...v0.18.0