Commit Graph

3300 Commits

Author SHA1 Message Date
wxg0103 0a1d5c4fbf refactor: permission constants
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-16 18:23:27 +08:00
CaptainB fc0599fe01 chore: update langchain-mcp-adapters version to 0.1.0
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-16 12:02:10 +08:00
dependabot[bot] e56a0481e0 build(deps): bump the python-dependencies group with 10 updates
Updates the requirements on [psycopg](https://github.com/psycopg/psycopg), [langchain-openai](https://github.com/langchain-ai/langchain), [langchain-anthropic](https://github.com/langchain-ai/langchain), [langchain-community](https://github.com/langchain-ai/langchain), [langgraph](https://github.com/langchain-ai/langgraph), [boto3](https://github.com/boto/boto3), [tencentcloud-sdk-python](https://github.com/TencentCloud/tencentcloud-sdk-python), [dashscope](https://dashscope.aliyun.com/), [django-celery-beat](https://github.com/celery/django-celery-beat) and [pypdf](https://github.com/py-pdf/pypdf) to permit the latest version.

Updates `psycopg` to 3.2.9
- [Changelog](https://github.com/psycopg/psycopg/blob/3.2.9/docs/news.rst)
- [Commits](https://github.com/psycopg/psycopg/compare/3.2.7...3.2.9)

Updates `langchain-openai` to 0.3.17
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-openai==0.3.16...langchain-openai==0.3.17)

Updates `langchain-anthropic` to 0.3.13
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-anthropic==0.3.12...langchain-anthropic==0.3.13)

Updates `langchain-community` to 0.3.24
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain==0.3.23...langchain==0.3.24)

Updates `langgraph` to 0.4.5
- [Release notes](https://github.com/langchain-ai/langgraph/releases)
- [Commits](https://github.com/langchain-ai/langgraph/compare/0.4.3...0.4.5)

Updates `boto3` to 1.38.16
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.38.11...1.38.16)

Updates `tencentcloud-sdk-python` to 3.0.1379
- [Changelog](https://github.com/TencentCloud/tencentcloud-sdk-python/blob/master/SERVICE_CHANGELOG.md)
- [Commits](https://github.com/TencentCloud/tencentcloud-sdk-python/compare/3.0.1374...3.0.1379)

Updates `dashscope` to 1.23.3

Updates `django-celery-beat` to 2.8.1
- [Release notes](https://github.com/celery/django-celery-beat/releases)
- [Changelog](https://github.com/celery/django-celery-beat/blob/main/Changelog)
- [Commits](https://github.com/celery/django-celery-beat/compare/v2.8.0...v2.8.1)

Updates `pypdf` to 5.5.0
- [Release notes](https://github.com/py-pdf/pypdf/releases)
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/py-pdf/pypdf/compare/5.4.0...5.5.0)

---
updated-dependencies:
- dependency-name: psycopg
  dependency-version: 3.2.9
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: langchain-openai
  dependency-version: 0.3.17
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: langchain-anthropic
  dependency-version: 0.3.13
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: langchain-community
  dependency-version: 0.3.24
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: langgraph
  dependency-version: 0.4.5
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: boto3
  dependency-version: 1.38.16
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: tencentcloud-sdk-python
  dependency-version: 3.0.1379
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: dashscope
  dependency-version: 1.23.3
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: django-celery-beat
  dependency-version: 2.8.1
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: pypdf
  dependency-version: 5.5.0
  dependency-type: direct:production
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 10:24:09 +08:00
wangdan-fit2cloud e50b5cc051 feat: tool
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-15 18:21:38 +08:00
CaptainB aa7bc349ab feat: add request handling to UnAssociation and Association API endpoints 2025-05-15 13:48:26 +08:00
wxg0103 8fb8c06e0b refactor: user 2025-05-15 12:07:07 +08:00
CaptainB e24f211674 feat: add optional user_id parameter to tool queries and serializers 2025-05-15 11:04:54 +08:00
CaptainB 74fac81c7b feat: enhance knowledge pagination to include child folders in response 2025-05-15 10:49:47 +08:00
CaptainB 7780d89c55 feat: add pagination method for tools with folder data in tool.py 2025-05-15 10:40:29 +08:00
wangdan-fit2cloud d7b61c61e6 feat: tool 2025-05-15 10:25:14 +08:00
CaptainB b13799d584 feat: add Pylint API for code checking and integrate with tool operations 2025-05-14 14:35:13 +08:00
CaptainB d85d20694d fix: include desc field in editable fields for folder validation
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-14 12:12:16 +08:00
CaptainB 25da46d13f fix: make desc field optional in KnowledgeFolder and ToolFolder models 2025-05-14 11:31:54 +08:00
CaptainB 6b41d8cff1 chore: remove unused CompareConstants import from document.py 2025-05-14 10:12:52 +08:00
wangdan-fit2cloud e6dc404867 feat: model 2025-05-13 19:18:27 +08:00
wangdan-fit2cloud d14b47373a feat: model 2025-05-13 16:19:35 +08:00
wxg0103 4eed42b6a0 refactor: user add default password
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-13 14:39:47 +08:00
CaptainB c3581be9bd fix: rename image_name to file_name in zip_split_handle and remove workspace_id assignment in document 2025-05-13 12:47:59 +08:00
CaptainB bd71ca9eb4 fix: update is_valid method to use dynamic file size limit from Knowledge model 2025-05-13 11:50:08 +08:00
CaptainB d24532d679 fix: update is_valid method to accept instance parameter for file validation 2025-05-13 11:28:15 +08:00
CaptainB 554b81b59a fix: update has_permissions decorator formatting for knowledge document endpoints 2025-05-13 11:22:06 +08:00
CaptainB 680475cb97 feat: add new permission constants for knowledge documents, paragraphs, and problems 2025-05-13 10:58:56 +08:00
CaptainB 5ca3151e90 fix: update permission constants for document operations and adjust serializer field options 2025-05-12 18:34:15 +08:00
wangdan-fit2cloud b11e3398da feat: knowledge 2025-05-12 18:28:58 +08:00
wangdan-fit2cloud 796eff7759 feat: tool 2025-05-12 18:19:43 +08:00
CaptainB f21d301140 fix: change HTTP methods from PUT to GET for association and unassociation endpoints 2025-05-12 17:13:57 +08:00
CaptainB 6f81d80389 fix: change HTTP methods from GET to PUT for disassociation and related questions endpoints 2025-05-12 16:24:01 +08:00
CaptainB a5fb2e15c6 feat: add initial SQL migration for tool data and integrate file content retrieval 2025-05-12 11:22:12 +08:00
CaptainB f5fc51cb12 fix: update langchain-mcp-adapters version to 0.0.11
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-12 10:34:52 +08:00
CaptainB cb2fb496b4 fix: update ForeignKey on_delete behavior for ApplicationKnowledgeMapping 2025-05-12 10:30:13 +08:00
shaohuzhang1 5ebfe9b5dd
feat: workflow init (#3072)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-09 18:55:53 +08:00
CaptainB f6ccc95240 feat: implement source type retrieval and enhance folder deletion logic 2025-05-09 18:31:08 +08:00
CaptainB 1f8907e1cb feat: add GetModelAPI for retrieving model information in knowledge base 2025-05-09 17:50:15 +08:00
CaptainB 1e80a6136a chore: i18n 2025-05-09 17:20:31 +08:00
wangdan-fit2cloud 53048774ee feat: tree
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-09 14:43:01 +08:00
wxg0103 deb7268be1 refactor: i18n 2025-05-09 14:37:14 +08:00
CaptainB 40d9954c3b chore: i18n 2025-05-09 11:49:07 +08:00
CaptainB 94c5c4197c fix: add type ignore comments for operation_id and tags in various API schemas 2025-05-09 11:29:05 +08:00
dependabot[bot] 1a34c67d46 build(deps): bump the python-dependencies group with 10 updates
Updates the requirements on [django](https://github.com/django/django), [django-db-connection-pool](https://github.com/altairbow/django-db-connection-pool), [langchain-openai](https://github.com/langchain-ai/langchain), langchain-mcp-adapters, [langchain-huggingface](https://github.com/langchain-ai/langchain), [langgraph](https://github.com/langchain-ai/langgraph), [boto3](https://github.com/boto/boto3), [tencentcloud-sdk-python](https://github.com/TencentCloud/tencentcloud-sdk-python), [anthropic](https://github.com/anthropics/anthropic-sdk-python) and [pylint](https://github.com/pylint-dev/pylint) to permit the latest version.

Updates `django` to 5.2.1
- [Commits](https://github.com/django/django/compare/5.2...5.2.1)

Updates `django-db-connection-pool` to 1.2.6
- [Release notes](https://github.com/altairbow/django-db-connection-pool/releases)
- [Commits](https://github.com/altairbow/django-db-connection-pool/compare/1.2.5...1.2.6)

Updates `langchain-openai` to 0.3.16
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-openai==0.3.15...langchain-openai==0.3.16)

Updates `langchain-mcp-adapters` to 0.0.10

Updates `langchain-huggingface` to 0.2.0
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-huggingface==0.1.2...langchain-huggingface==0.2.0)

Updates `langgraph` to 0.4.3
- [Release notes](https://github.com/langchain-ai/langgraph/releases)
- [Commits](https://github.com/langchain-ai/langgraph/compare/0.4.1...0.4.3)

Updates `boto3` to 1.38.11
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.38.6...1.38.11)

Updates `tencentcloud-sdk-python` to 3.0.1374
- [Changelog](https://github.com/TencentCloud/tencentcloud-sdk-python/blob/master/SERVICE_CHANGELOG.md)
- [Commits](https://github.com/TencentCloud/tencentcloud-sdk-python/compare/3.0.1372...3.0.1374)

Updates `anthropic` to 0.51.0
- [Release notes](https://github.com/anthropics/anthropic-sdk-python/releases)
- [Changelog](https://github.com/anthropics/anthropic-sdk-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/anthropics/anthropic-sdk-python/compare/v0.50.0...v0.51.0)

Updates `pylint` to 3.3.7
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.3.6...v3.3.7)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 5.2.1
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: django-db-connection-pool
  dependency-version: 1.2.6
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: langchain-openai
  dependency-version: 0.3.16
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: langchain-mcp-adapters
  dependency-version: 0.0.10
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: langchain-huggingface
  dependency-version: 0.2.0
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: langgraph
  dependency-version: 0.4.3
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: boto3
  dependency-version: 1.38.11
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: tencentcloud-sdk-python
  dependency-version: 3.0.1374
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: anthropic
  dependency-version: 0.51.0
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: pylint
  dependency-version: 3.3.7
  dependency-type: direct:production
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-09 10:57:31 +08:00
CaptainB 6f209d740d feat: add request and response handling for SyncWeb, Embedding, and GenerateRelated APIs 2025-05-09 10:56:11 +08:00
CaptainB a75501737f feat: add BatchGenerateRelated API for batch processing of related paragraphs 2025-05-08 19:28:58 +08:00
CaptainB ac698e0c4c feat: add BatchRefresh and BatchGenerateRelated APIs for document processing 2025-05-08 19:16:45 +08:00
CaptainB 54836d549c feat: add Embedding API for re-vectorization of knowledge objects 2025-05-08 17:17:09 +08:00
CaptainB b6f5a8378a feat: add HitTest API for knowledge base query testing and update SyncWeb API to use knowledge_id 2025-05-08 16:49:12 +08:00
CaptainB 7dcd1a71e8 feat: add SyncWeb and GenerateRelated APIs for knowledge base synchronization and related generation 2025-05-08 16:49:12 +08:00
wangdan-fit2cloud 0ae489a50b feat: layout 2025-05-08 16:23:13 +08:00
CaptainB 9f004defd9 feat: add SHA256 hash attribute to knowledge object on save
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-08 12:34:51 +08:00
CaptainB ab479c422c feat: add delete method to File API for file removal 2025-05-08 12:15:00 +08:00
CaptainB 4d44637ae5 feat: add file size attribute to knowledge object on save 2025-05-08 11:31:16 +08:00
CaptainB 4b30b5b1b5 fix: correct tag casing in File API documentation 2025-05-08 10:55:26 +08:00