Skip to content

Commit 81b8e52

Browse files
Merge branch 'main' of https://github.com/maxkb-dev/maxkb
2 parents 2433d4b + 35d553f commit 81b8e52

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ docker run -d --name=maxkb --restart=always -p 8080:8080 -v C:/maxkb:/var/lib/po
3737
# 密码: MaxKB@123..
3838
```
3939

40-
- 你也可以通过 [1Panel 应用商店](https://apps.fit2cloud.com/1panel) 快速部署 MaxKB + Ollama + Llama 3 / Qwen 2,快速上线基于本地大模型的 AI 知识库问答系统
40+
- 你也可以通过 [1Panel 应用商店](https://apps.fit2cloud.com/1panel) 快速部署 MaxKB;
4141
- 如果是内网环境,推荐使用 [离线安装包](https://community.fit2cloud.com/#/products/maxkb/downloads) 进行安装部署;
42-
- 你也可以在线体验:[DataEase 小助手](https://dataease.io/docs/v2/),它是基于 MaxKB 搭建的智能 AI 问答系统,已经嵌入到 DataEase 产品及在线文档中;
4342
- MaxKB 产品版本分为社区版和专业版,详情请参见:[MaxKB 产品版本对比](https://maxkb.cn/pricing.html)
4443

4544
如你有更多问题,可以查看使用手册,或者通过论坛与我们交流。
@@ -50,6 +49,15 @@ docker run -d --name=maxkb --restart=always -p 8080:8080 -v C:/maxkb:/var/lib/po
5049

5150
<image height="150px" width="150px" src="https://github.com/1Panel-dev/MaxKB/assets/52996290/a083d214-02be-4178-a1db-4f428124153a"/>
5251

52+
## 案例展示
53+
54+
MaxKB 自发布以来,日均安装下载超过 1000 次,被广泛应用于智能客服、企业内部知识库、学术研究与教育等场景。
55+
56+
- [华莱士智能客服](https://ai.cnhls.com/ui/chat/1fc0f6a9b5a6fb27)
57+
- [JumpServer 小助手](https://maxkb.fit2cloud.com/ui/chat/b4e27a6e72d349a3)
58+
- [信用深圳](https://www.szcredit.org.cn/#/index)
59+
- [重庆交通大学教务在线](http://jwc.anyquestion.cn/ui/chat/b75496390f7d935d)
60+
5361
## UI 展示
5462

5563
<table style="border-collapse: collapse; border: 1px solid black;">

apps/setting/models_provider/impl/xf_model_provider/model/llm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from typing import List, Optional, Any, Iterator, Dict
1010

1111
from langchain_community.chat_models.sparkllm import \
12-
ChatSparkLLM, _convert_message_to_dict, _convert_delta_to_message_chunk
12+
ChatSparkLLM, convert_message_to_dict, _convert_delta_to_message_chunk
1313
from langchain_core.callbacks import CallbackManagerForLLMRun
1414
from langchain_core.messages import BaseMessage, AIMessageChunk
1515
from langchain_core.outputs import ChatGenerationChunk
@@ -56,7 +56,7 @@ def _stream(
5656
default_chunk_class = AIMessageChunk
5757

5858
self.client.arun(
59-
[_convert_message_to_dict(m) for m in messages],
59+
[convert_message_to_dict(m) for m in messages],
6060
self.spark_user_id,
6161
self.model_kwargs,
6262
True,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ djangorestframework = "^3.15.2"
1212
drf-yasg = "1.21.7"
1313
django-filter = "23.2"
1414
langchain = "0.2.16"
15-
langchain_community = "0.2.4"
15+
langchain_community = "0.2.17"
1616
langchain-huggingface = "^0.0.3"
1717
psycopg2-binary = "2.9.7"
1818
jieba = "^0.42.1"

0 commit comments

Comments
 (0)