Skip to content

Commit

Permalink
Feat/0.3.2 (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
zgqgit committed Jun 28, 2024
2 parents e0f810a + b9b581a commit 488bf66
Show file tree
Hide file tree
Showing 61 changed files with 1,983 additions and 111 deletions.
48 changes: 1 addition & 47 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,7 @@

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2022 Dataelement Technologies, Inc
Copyright © 2024 Dataelement Technologies, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -199,38 +188,3 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


The Bisheng is licensed under the Apache License 2.0, with the following additional conditions:

1. Bisheng is permitted to be used for commercialization. You can use Bisheng as a "backend-as-a-service" for your other applications, or deliver it to enterprises as an application development platform. However, when the following conditions are met, you must contact the producer to obtain a commercial license:

a. Multi-tenant SaaS service: Unless explicitly authorized by Bisheng in writing, you may not use the Bisheng source code to operate a multi-tenant SaaS service that is similar to the Bisheng.
b. LOGO and copyright information: In the process of using Bisheng, you may not remove or replace the LOGO or copyright information in the Bisheng console.

Please contact hanfeng@dataelem.com by email to inquire about licensing matters.

2. As a contributor, you should agree that your contributed code:

a. The producer can adjust the open-source agreement to be more strict or relaxed.
b. Can be used for commercial purposes, such as Bisheng's cloud business.

Apart from this, all other rights and restrictions follow the Apache License 2.0. If you need more detailed information, you can refer to the full version of Apache License 2.0.

The interactive design of this product is protected by an appearance patent.

© 2023 Bisheng.

---

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Bisheng 基于 [Apache 2.0 License](https://github.com/dataelement/bisheng/blob/
- 📃 合同审核报告生成
- 🏦 信贷调查报告生成
- 📈 招股书分析报告生成
- 💼 智能投顾报告生成
- 💼 智能投资顾问报告生成
- 👀 文档摘要生成


Expand Down
5 changes: 5 additions & 0 deletions src/backend/bisheng/api/errcode/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ class UserNotPasswordError(BaseErrorCode):
class UserPasswordError(BaseErrorCode):
Code: int = 10603
Msg: str = '当前密码错误'


class UserGroupNotDeleteError(BaseErrorCode):
Code: int = 10610
Msg: str = '用户组内还有用户,不能删除'
3 changes: 2 additions & 1 deletion src/backend/bisheng/api/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from bisheng.api.v1 import (assistant_router, chat_router, component_router, endpoints_router,
finetune_router, flows_router, group_router, knowledge_router,
qa_router, report_router, server_router, skillcenter_router,
user_router, validate_router, variable_router, audit_router)
user_router, validate_router, variable_router, audit_router, evaluation_router)
from bisheng.api.v2 import chat_router_rpc, knowledge_router_rpc, rpc_router_rpc, flow_router
from fastapi import APIRouter

Expand All @@ -23,6 +23,7 @@
router.include_router(assistant_router)
router.include_router(group_router)
router.include_router(audit_router)
router.include_router(evaluation_router)

router_rpc = APIRouter(prefix='/api/v2', )
router_rpc.include_router(knowledge_router_rpc)
Expand Down
Loading

0 comments on commit 488bf66

Please sign in to comment.