Commit Graph

3287 Commits

Author SHA1 Message Date
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
wxg0103 0401c01c93 refactor: user add role setting 2025-05-08 10:51:01 +08:00
CaptainB 3010fa835f feat: implement File API for file upload and retrieval with new endpoints 2025-05-08 10:42:00 +08:00
CaptainB 06d5c10ac6 chore: reformat code 2025-05-08 10:00:58 +08:00
CaptainB 906407a15b feat: update Problem API to batch process request data in post method
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-07 18:51:26 +08:00
wxg0103 a90f6c89cb refactor: email setting 2025-05-07 18:09:45 +08:00
CaptainB a09d0d5171 feat: add ProblemParagraphAPI for retrieving associated paragraphs and update routing 2025-05-07 17:37:34 +08:00
CaptainB 6cdd5b4508 feat: implement Problem API for delete and modify operations with new Operate endpoint 2025-05-07 17:17:41 +08:00
CaptainB a6c74024b0 feat: implement pagination support for Problem API with new Page endpoint 2025-05-07 17:06:27 +08:00
CaptainB 4995721399 feat: implement Problem API for CRUD operations and batch processing 2025-05-07 16:28:56 +08:00
wangdan-fit2cloud fd7fd36626 feat: model 2025-05-07 15:58:55 +08:00
CaptainB ecc25796a6 feat: update document and paragraph batch operations to use PUT method and rename classes for clarity 2025-05-07 14:49:32 +08:00
CaptainB a04c2efa41 feat: add pagination support for paragraph retrieval in Paragraph API 2025-05-07 14:06:27 +08:00
CaptainB 36da813eea feat: implement Paragraph API for CRUD operations and batch deletion 2025-05-07 13:53:04 +08:00