Commit Graph

2437 Commits

Author SHA1 Message Date
FangYin Cheng
4ffd054a2a fix(model): Fix benchmarks bugs 2023-11-18 17:15:26 +08:00
FangYin Cheng
1f22459fbe feat(model): Add LL benchmarks code 2023-11-18 05:16:55 +08:00
FangYin Cheng
3d7481d369 feat(model): Usage infos with vLLM 2023-11-17 17:05:33 +08:00
FangYin Cheng
b45360441d feat(model): New metrics param to model API 2023-11-17 17:05:01 +08:00
Aries-ckt
1240352e54
feat(model): Support model cache and new Agentic Workflow Expression Language(AWEL) (#803)
**Model cache**
- Cache model output in memory.
- Cache model output in local rocksdb.

**Agentic Workflow Expression Language(AWEL)**
- Common workflow Operators
- Implements LocalWorkflowRunner
- Integrate model serving and model result cache with AWEL in
`base_chat.py`

**Note**:

DB-GPT uses local disk cache by default. You need to install related
dependencies by command:
```bash
pip install -e ".[cache]"
```
If there are no dependencies of disk cache, DB-GPT will uses memory
cache.

Closes #788
2023-11-17 13:08:14 +08:00
Aries-ckt
50b3f350ec
fix: compile OpenAI 1.x.x version (#805) 2023-11-17 11:40:12 +08:00
FangYin Cheng
5109c89daa feat(cache): Not cache the failed model output 2023-11-17 11:06:36 +08:00
luchun
ddabd019e3
Update chatgpt.py 2023-11-17 11:00:47 +08:00
luchun
5eccf73f24
Update chatgpt.py 2023-11-17 10:55:26 +08:00
Aries-ckt
1ad09c896f
fix(Model): Compatible with openai 1.x.x, compatible with AzureOpeai (#804)
Update chatgpt.py
2023-11-17 00:02:38 +08:00
luchun
2ff9625d3f
Update chatgpt.py 2023-11-16 22:50:03 +08:00
luchun
1b615aedd2
Update chatgpt.py 2023-11-16 22:39:18 +08:00
luchun
e198cd34ae
Update chatgpt.py 2023-11-16 22:32:14 +08:00
FangYin Cheng
995772077c feat(cache): Support configures the model cache in .env 2023-11-16 18:46:00 +08:00
FangYin Cheng
1150adbe6a feat(model): Support BranchOperator 2023-11-16 18:13:16 +08:00
FangYin Cheng
6db8c49d87 feat(model): Support model cache and first version of Agentic Workflow Expression Language(AWEL) 2023-11-16 04:06:07 +08:00
Aries-ckt
8eaf3693f0
docs: update overview (#795) 2023-11-14 22:15:35 +08:00
csunny
116fcf786f chore: remove in-action file 2023-11-14 22:07:35 +08:00
csunny
75540a1527 docs: rewrite descibe of dbgpt 2023-11-14 21:44:58 +08:00
csunny
d82884f9f3 docs: readme features 2023-11-14 21:41:19 +08:00
csunny
a1d5323f8e docs: update overview 2023-11-14 18:03:26 +08:00
Aries-ckt
6149b9b05d
chore: update wechat QRcode (#794) 2023-11-13 23:43:57 +08:00
csunny
db7e002222 fix: wechat QRcode 2023-11-13 23:36:14 +08:00
csunny
badb82c920 chore: update wechat QRcode 2023-11-13 14:09:46 +08:00
Aries-ckt
8b1c73f6c5
env param doc bugfix & typos fix (#664)
![2561697080859_
pic](https://github.com/eosphoros-ai/DB-GPT/assets/39079736/d659db30-04be-4c1d-adba-9be67951dec6)
2023-11-09 15:10:14 +08:00
JohnSaxon
c4ae0fd981 typos fix 2023-11-09 14:50:18 +08:00
oushu1zhangxiangxuan1
4806e16d5f env param doc bugfix 2023-11-09 13:57:12 +08:00
Aries-ckt
2fe8ca451e
Fix(ChatData):ClickHouse connection testing problem. (#784)
1. group_concat() not supported in clickhouse, use
arrayStringConcat+groupArray instead
2. escaped quotes
2023-11-08 13:43:45 +08:00
dulin
f8cb208dc4 1. group_concat() not supported in clickhouse, use arrayStringConcat+groupArray instead 2023-11-07 16:56:23 +08:00
FangYin Cheng
6da082bc62
Fix typo in base_chat.py: histroy => history (#780) 2023-11-07 09:09:34 +08:00
Aries-ckt
64bc4a9899
feat(core): Support custom trace storage (#782)
- Support custom trace storage
- Modify install documents
2023-11-06 20:04:53 +08:00
FangYin Cheng
d62048ef1e chore: Format code 2023-11-06 19:55:57 +08:00
FangYin Cheng
b380761571 docs: Modify install document 2023-11-06 19:55:14 +08:00
FangYin Cheng
5accaa44be feat(core): Support custom trace storage 2023-11-06 19:55:14 +08:00
明天
47b1d0dad4
bugfix(ChatExcel): Tongyi proxyllm response with 'InvalidParameter:User and assistant need to appear alternately in the message' (#781)
Try to fix #756
2023-11-06 18:02:59 +08:00
Alpha Hinex
352867dc71 Fix 'InvalidParameter:User and assistant need to appear alternately in the message' issue 2023-11-06 15:13:55 +08:00
Alpha Hinex
73bf6453ac Fix typo in base_chat.py 2023-11-06 14:38:10 +08:00
FangYin Cheng
84054a419b
doc:hide use cases (#778) 2023-11-06 14:11:28 +08:00
aries_ckt
8ad723c098 chore:wechat update 2023-11-06 13:54:20 +08:00
aries_ckt
0210c1c925 doc:hide use cases 2023-11-05 13:24:01 +08:00
Aries-ckt
1d2b054372
feat(core): More trace records for DB-GPT (#775)
- More trace record for DB-GPT
- Support pass span id to threadpool
2023-11-04 18:15:53 +08:00
FangYin Cheng
a7dd328e1b
doc: update readme (#774) 2023-11-04 18:11:46 +08:00
FangYin Cheng
59ac4ee548 feat(core): Support pass span id to threadpool 2023-11-04 18:08:28 +08:00
aries_ckt
8764d4e2e4 doc:llm rest api 2023-11-04 15:56:50 +08:00
FangYin Cheng
23347d52a9 feat(core): More trace record for DB-GPT 2023-11-04 09:32:43 +08:00
FangYin Cheng
d685f834ba
feat(ChatKnowledge):Add knowledge Reference && Deploy Document Refactor (#773)
1.Add knowledge Reference
2.Deploy Document Refactor
3.Fix Web timeout bug
2023-11-04 09:31:52 +08:00
aries_ckt
76975d95ac feat:knowledge refernce 2023-11-04 00:42:19 +08:00
aries_ckt
463b97fa17 doc:css 2023-11-03 18:04:36 +08:00
aries_ckt
3ea85a6d59 feat:web add reference 2023-11-03 17:50:01 +08:00
aries_ckt
3111760c82 doc:update document 2023-11-03 15:45:45 +08:00