You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,46 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.6.2] - 2025-04-06
9
+
10
+
### Added
11
+
12
+
- 🌍 **Improved Global Language Support**: Expanded and refined translations across multiple languages to enhance clarity and consistency for international users.
13
+
14
+
### Fixed
15
+
16
+
- 🛠️ **Accurate Tool Descriptions from OpenAPI Servers**: External tools now use full endpoint descriptions instead of summaries when generating tool specifications—helping AI models understand tool purpose more precisely and choose the right tool more accurately in tool workflows.
17
+
- 🔧 **Precise Web Results Source Attribution**: Fixed a key issue where all web search results showed the same source ID—now each result gets its correct and distinct source, ensuring accurate citations and traceability.
18
+
- 🔍 **Clean Web Search Retrieval**: Web search now retains only results from URLs where real content was successfully fetched—improving accuracy and removing empty or broken links from citations.
19
+
- 🎵 **Audio File Upload Response Restored**: Resolved an issue where uploading audio files did not return valid responses, restoring smooth file handling for transcription and audio-based workflows.
20
+
21
+
### Changed
22
+
23
+
- 🧰 **General Backend Refactoring**: Multiple behind-the-scenes improvements streamline backend performance, reduce complexity, and ensure a more stable, maintainable system overall—making everything smoother without changing your workflow.
24
+
25
+
## [0.6.1] - 2025-04-05
26
+
27
+
### Added
28
+
29
+
- 🛠️ **Global Tool Servers Configuration**: Admins can now centrally configure global external tool servers from Admin Settings > Tools, allowing seamless sharing of tool integrations across all users without manual setup per user.
30
+
- 🔐 **Direct Tool Usage Permission for Users**: Introduced a new user-level permission toggle that grants non-admin users access to direct external tools, empowering broader team collaboration while maintaining control.
31
+
- 🧠 **Mistral OCR Content Extraction Support**: Added native support for Mistral OCR as a high-accuracy document loader, drastically improving text extraction from scanned documents in RAG workflows.
32
+
- 🖼️ **Tools Indicator UI Redesign**: Enhanced message input now smartly displays both built-in and external tools via a unified dropdown, making it simpler and more intuitive to activate tools during conversations.
33
+
- 📄 **RAG Prompt Improved and More Coherent**: Default RAG system prompt has been revised to be more clear and citation-focused—admins can leave the template field empty to use this new gold-standard prompt.
34
+
- 🧰 **Performance & Developer Improvements**: Major internal restructuring of several tool-related components, simplifying styling and merging external/internal handling logic, resulting in better maintainability and performance.
35
+
- 🌍 **Improved Translations**: Updated translations for Tibetan, Polish, Chinese (Simplified & Traditional), Arabic, Russian, Ukrainian, Dutch, Finnish, and French to improve clarity and consistency across the interface.
36
+
37
+
### Fixed
38
+
39
+
- 🔑 **External Tool Server API Key Bug Resolved**: Fixed a critical issue where authentication headers were not being sent when calling tools from external OpenAPI tool servers, ensuring full security and smooth tool operations.
40
+
- 🚫 **Conditional Export Button Visibility**: UI now gracefully hides export buttons when there's nothing to export in models, prompts, tools, or functions, improving visual clarity and reducing confusion.
41
+
- 🧪 **Hybrid Search Failure Recovery**: Resolved edge case in parallel hybrid search where empty or unindexed collections caused backend crashes—these are now cleanly skipped to ensure system stability.
42
+
- 📂 **Admin Folder Deletion Fix**: Addressed an issue where folders created in the admin workspace couldn't be deleted, restoring full organizational flexibility for admins.
43
+
- 🔐 **Improved Generic Error Feedback on Login**: Authentication errors now show simplified, non-revealing messages for privacy and improved UX, especially with federated logins.
44
+
- 📝 **Tool Message with Images Improved**: Enhanced how tool-generated messages with image outputs are shown in chat, making them more readable and consistent with the overall UI design.
45
+
- ⚙️ **Auto-Exclusion for Broken RAG Collections**: Auto-skips document collections that fail to fetch data or return "None", preventing silent errors and streamlining retrieval workflows.
46
+
- 📝 **Docling Text File Handling Fix**: Fixed file parsing inconsistency that broke docling-based RAG functionality for certain plain text files, ensuring wider file compatibility.
@@ -1727,6 +1747,11 @@ class BannerModel(BaseModel):
1727
1747
os.getenv("DOCUMENT_INTELLIGENCE_KEY", ""),
1728
1748
)
1729
1749
1750
+
MISTRAL_OCR_API_KEY=PersistentConfig(
1751
+
"MISTRAL_OCR_API_KEY",
1752
+
"rag.mistral_ocr_api_key",
1753
+
os.getenv("MISTRAL_OCR_API_KEY", ""),
1754
+
)
1730
1755
1731
1756
BYPASS_EMBEDDING_AND_RETRIEVAL=PersistentConfig(
1732
1757
"BYPASS_EMBEDDING_AND_RETRIEVAL",
@@ -1875,26 +1900,25 @@ class BannerModel(BaseModel):
1875
1900
)
1876
1901
1877
1902
DEFAULT_RAG_TEMPLATE="""### Task:
1878
-
Respond to the user query using the provided context, incorporating inline citations in the format [source_id] **only when the <source_id> tag is explicitly provided** in the context.
1903
+
Respond 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">).
1879
1904
1880
1905
### Guidelines:
1881
1906
- If you don't know the answer, clearly state that.
1882
1907
- If uncertain, ask the user for clarification.
1883
1908
- Respond in the same language as the user's query.
1884
1909
- If the context is unreadable or of poor quality, inform the user and provide the best possible answer.
1885
1910
- 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.
1886
-
- **Only include inline citations using [source_id] (e.g., [1], [2]) when a `<source_id>` tag is explicitly provided in the context.**
1887
-
- Do not cite if the <source_id> tag is not provided in the context.
1911
+
- **Only include inline citations using [id] (e.g., [1], [2]) when the <source> tag includes an id attribute.**
1912
+
- Do not cite if the <source> tag does not contain an id attribute.
1888
1913
- Do not use XML tags in your response.
1889
1914
- Ensure citations are concise and directly related to the information provided.
1890
1915
1891
1916
### Example of Citation:
1892
-
If the user asks about a specific topic and the information is found in "whitepaper.pdf" with a provided <source_id>, the response should include the citation like so:
1893
-
* "According to the study, the proposed method increases efficiency by 20% [whitepaper.pdf]."
1894
-
If no <source_id> is present, the response should omit the citation.
1917
+
If 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:
1918
+
* "According to the study, the proposed method increases efficiency by 20% [1]."
1895
1919
1896
1920
### Output:
1897
-
Provide a clear and direct response to the user's query, including inline citations in the format [source_id] only when the <source_id> tag is present in the context.
1921
+
Provide 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.
0 commit comments