Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature auth 20231127 #939

Merged
merged 255 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
2f82f98
feat:knowledge rag graph
Aries-ckt Oct 13, 2023
37bcbff
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Oct 15, 2023
71c31c3
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Oct 16, 2023
b63fa2d
feat:rag graph
Aries-ckt Oct 16, 2023
68c9010
feat:rag graph
Aries-ckt Oct 16, 2023
f93af98
feat:rag graph
Aries-ckt Oct 17, 2023
f6694d9
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Oct 18, 2023
aff0553
style:fmt
Aries-ckt Oct 19, 2023
39219a4
feat:rag_graph
Aries-ckt Oct 19, 2023
93de9c7
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Oct 19, 2023
ba85901
feat(ChatData): ChatData Strean response
yhjun1026 Oct 20, 2023
bb882a8
Merge branch 'main' into Agent_Hub_Dev
yhjun1026 Oct 20, 2023
6cc194b
doc:update readme
Aries-ckt Oct 20, 2023
8db497f
Merge remote-tracking branch 'origin/Agent_Hub_Dev' into Agent_Hub_Dev
Aries-ckt Oct 20, 2023
b0a9fb7
style:fmt
Aries-ckt Oct 20, 2023
93a1ae5
internlm-20b的仓库名称为internlm-chat-20b
xiaoxidashen Oct 21, 2023
318979a
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Oct 22, 2023
bf75af5
feat(ChatData): ChatData Strean response
yhjun1026 Oct 23, 2023
de42ae1
Merge remote-tracking branch 'origin/Agent_Hub_Dev' into Agent_Hub_Dev
yhjun1026 Oct 23, 2023
afb5fd1
Merge branch 'main' into Agent_Hub_Dev
yhjun1026 Oct 23, 2023
48cd2d6
feat(core): Enhance server request processing performance
fangyinc Oct 24, 2023
e5e4f54
fix(core): Fix chat chat tracer no spans bug
fangyinc Oct 24, 2023
96a4867
feat(core): Enhance server request processing performance (#722)
Aries-ckt Oct 24, 2023
d1cf79e
chore:wechat expire
Aries-ckt Oct 25, 2023
0960c85
chore:wechat expire (#725)
yhjun1026 Oct 25, 2023
724456d
feat:extract summary
Aries-ckt Oct 25, 2023
1c5ed28
feat(ChatData): ChatData Strean response
yhjun1026 Oct 26, 2023
8698f07
doc:proxy api
Aries-ckt Oct 26, 2023
e3b6242
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Oct 26, 2023
c0421d0
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Oct 26, 2023
02de3d4
doc:add how to use proxy api (#731)
csunny Oct 26, 2023
2ba610c
bugfix(ChatExcel): ChatExcel Language confusion bug (#732)
yhjun1026 Oct 26, 2023
031848c
doc:proxy api
Aries-ckt Oct 26, 2023
de35178
doc:proxy api
Aries-ckt Oct 26, 2023
3742af9
doc:proxy api
Aries-ckt Oct 26, 2023
62f8002
doc:proxy api
Aries-ckt Oct 26, 2023
4d02286
doc:update how to use proxy api (#733)
fangyinc Oct 26, 2023
5500590
internlm-20b的仓库名称为internlm-chat-20b (#713)
fangyinc Oct 26, 2023
343c9e8
fix(model): Fix some model missing stop tokens bug
fangyinc Oct 26, 2023
791a774
fix(model): Fix some model missing stop tokens bug (#734)
Aries-ckt Oct 26, 2023
7a35bf2
fix(ChatKnowledge):text limit bug
Aries-ckt Oct 26, 2023
0d310e1
fix(ChatKnowledge):text limit bug (#738)
fangyinc Oct 26, 2023
c31b226
docs: add prompt management
cm-liushaodong Oct 26, 2023
6422601
docs: add prompt management
cm-liushaodong Oct 26, 2023
da3f795
docs: add prompt management (#740)
fangyinc Oct 26, 2023
0e0d34d
feat(core): Support configuration metadata database name in .env file
fangyinc Oct 27, 2023
fbcc91a
docs: Add metadata FAQ
fangyinc Oct 27, 2023
b23919a
feat(model): New APP ID parameter for proxy LLM
fangyinc Oct 27, 2023
0e273c6
chore: Modify proxy_api_app_id to optional
fangyinc Oct 27, 2023
f6a89ad
feat(core): Support configuration metadata database name in .env file…
Aries-ckt Oct 27, 2023
e4c96e3
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Oct 28, 2023
8040ea4
docs: Update README.md
eltociear Oct 29, 2023
f971fdb
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Oct 30, 2023
52d6095
docs: Update README.md (#746)
csunny Oct 30, 2023
02681df
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Oct 30, 2023
eab1993
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Oct 30, 2023
3dbf0cf
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Oct 30, 2023
95d3f52
feat(model): Support AquilaChat2-34B
fangyinc Oct 30, 2023
70464c7
feat(model): Support AquilaChat2-34B (#747)
Aries-ckt Oct 30, 2023
b3d3716
docs: corrected all grammatical errors in README.md
alienishi Oct 30, 2023
7619a16
support DB-GPT-Hub sft codellama
wangzaistone Oct 30, 2023
53b1fc4
feat:document summary
Aries-ckt Oct 30, 2023
d4d231a
chore:discord expire
Aries-ckt Oct 30, 2023
21770a4
chore:discord expire (#750)
fangyinc Oct 30, 2023
7bdb220
docs: corrected all grammatical errors in README.md (#749)
fangyinc Oct 30, 2023
6841050
fix typo
Oct 30, 2023
e74e37f
Added CODE_OF_CONDUCT file
Abhishekgupta204 Oct 30, 2023
29dac02
Update and rename knownledge.md to knowledge.md
chinmay7016 Oct 30, 2023
edd6a22
Update and rename knownledge.md to knowledge.md (#755)
fangyinc Oct 31, 2023
f19b600
fix typo (#751)
csunny Oct 31, 2023
07ad8fa
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Oct 31, 2023
dca3ddb
feat:add summary
Aries-ckt Oct 31, 2023
16dd8e3
feat:document summary
Aries-ckt Oct 31, 2023
523838f
feat:document summary
Aries-ckt Oct 31, 2023
7dcfa19
feat:document summary
Aries-ckt Oct 31, 2023
b3dbf31
feat:document summary
Aries-ckt Oct 31, 2023
40eed54
chore:discord expire
Aries-ckt Oct 31, 2023
04dcd90
feat:document summary
Aries-ckt Oct 31, 2023
48539d7
codellama bug fix
wangzaistone Oct 31, 2023
a670e5c
add other codellama models
wangzaistone Oct 31, 2023
17e21a3
keep as origin default param
wangzaistone Oct 31, 2023
3233e26
add conv judge
wangzaistone Oct 31, 2023
7359616
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Oct 31, 2023
852cf67
feat(model) Support the DB-GPT-Hub trained mode (#760)
fangyinc Oct 31, 2023
de90244
feat:document summary
Aries-ckt Oct 31, 2023
67f4155
feat:mapreduce summary
Aries-ckt Oct 31, 2023
be1e1cb
feat:document summary set max iteration
Aries-ckt Oct 31, 2023
d319470
Update README.md
0xrahul6 Oct 31, 2023
eb3ddcc
fixed typos
nobunagaaa Oct 31, 2023
6a0982d
fixed typos (#761)
csunny Oct 31, 2023
c3e37f4
docs: fix README typos (#762)
fangyinc Oct 31, 2023
e3fc451
Added CODE_OF_CONDUCT file (#752)
fangyinc Nov 1, 2023
606d384
feat:add knowledge reference
Aries-ckt Nov 1, 2023
41ad69c
chores: update wechat
csunny Nov 2, 2023
c7cad04
chores: update wechat (#765)
Aries-ckt Nov 2, 2023
61f39a1
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Nov 2, 2023
2c9c539
feat(model): Support OpenAI-Compatible RESTful APIs
fangyinc Nov 2, 2023
9e08886
docs: Add document for OpenAI-Compatible RESTful APIs
fangyinc Nov 2, 2023
7f5bd8d
feat(model): Support OpenAI-Compatible RESTful APIs (#768)
Aries-ckt Nov 3, 2023
9cc6386
doc:update deploy doc
Aries-ckt Nov 3, 2023
6fe7bfd
feat:merge main branch
Aries-ckt Nov 3, 2023
0874fa2
doc:update deploy doc
Aries-ckt Nov 3, 2023
3111760
doc:update document
Aries-ckt Nov 3, 2023
3ea85a6
feat:web add reference
Aries-ckt Nov 3, 2023
463b97f
doc:css
Aries-ckt Nov 3, 2023
76975d9
feat:knowledge refernce
Aries-ckt Nov 3, 2023
d685f83
feat(ChatKnowledge):Add knowledge Reference && Deploy Document Refact…
fangyinc Nov 4, 2023
23347d5
feat(core): More trace record for DB-GPT
fangyinc Nov 3, 2023
8764d4e
doc:llm rest api
Aries-ckt Nov 4, 2023
59ac4ee
feat(core): Support pass span id to threadpool
fangyinc Nov 4, 2023
a7dd328
doc: update readme (#774)
fangyinc Nov 4, 2023
1d2b054
feat(core): More trace records for DB-GPT (#775)
Aries-ckt Nov 4, 2023
0210c1c
doc:hide use cases
Aries-ckt Nov 5, 2023
8ad723c
chore:wechat update
Aries-ckt Nov 6, 2023
84054a4
doc:hide use cases (#778)
fangyinc Nov 6, 2023
73bf645
Fix typo in base_chat.py
AlphaHinex Nov 6, 2023
352867d
Fix 'InvalidParameter:User and assistant need to appear alternately i…
AlphaHinex Nov 6, 2023
47b1d0d
bugfix(ChatExcel): Tongyi proxyllm response with 'InvalidParameter:Us…
yhjun1026 Nov 6, 2023
5accaa4
feat(core): Support custom trace storage
fangyinc Nov 6, 2023
b380761
docs: Modify install document
fangyinc Nov 6, 2023
d62048e
chore: Format code
fangyinc Nov 6, 2023
64bc4a9
feat(core): Support custom trace storage (#782)
Aries-ckt Nov 6, 2023
6da082b
Fix typo in base_chat.py: histroy => history (#780)
fangyinc Nov 7, 2023
4a52d1d
chore:fmt
Aries-ckt Nov 7, 2023
f8cb208
1. group_concat() not supported in clickhouse, use arrayStringConcat+…
dl-sdu Nov 7, 2023
2fe8ca4
Fix(ChatData):ClickHouse connection testing problem. (#784)
Aries-ckt Nov 8, 2023
d609ccc
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Nov 8, 2023
4806e16
env param doc bugfix
oushu1zhangxiangxuan1 Oct 12, 2023
c4ae0fd
typos fix
oushu1zhangxiangxuan1 Oct 17, 2023
2b948c3
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Nov 9, 2023
8b1c73f
env param doc bugfix & typos fix (#664)
Aries-ckt Nov 9, 2023
1b8a678
feat:add document summary
Aries-ckt Nov 9, 2023
f223460
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Nov 9, 2023
5924f34
bugfix(ChatExcel): ChatExcel Language confusion bug
yhjun1026 Nov 9, 2023
baeaf19
bugfix(ChatData): ChatData Use AntV Table
yhjun1026 Nov 9, 2023
ad7964f
bugfix(ChatData): ChatData Use AntV Table
yhjun1026 Nov 10, 2023
74a3f6e
bugfix(ChatData): ChatData Use AntV Table
yhjun1026 Nov 10, 2023
440a3e9
bugfix(ChatData): ChatData Use AntV Table
yhjun1026 Nov 10, 2023
940edcd
bugfix(ChatData): ChatData Use AntV Table
yhjun1026 Nov 10, 2023
8df671c
bugfix(ChatData): ChatData Use AntV Table
yhjun1026 Nov 10, 2023
9b4b935
feat(ChatExcel): ChatExcel Use AntV Chart
yhjun1026 Nov 10, 2023
bd7b6fc
feat(ChatExcel): ChatExcel Use AntV Chart
yhjun1026 Nov 10, 2023
7a8c343
Merge remote-tracking branch 'origin/Agent_Hub_Dev' into feat_rag_graph
Aries-ckt Nov 10, 2023
4c2a033
feat(ChatExcel): ChatExcel Use AntV Chart
yhjun1026 Nov 10, 2023
d7f677a
feat:add document summary
Aries-ckt Nov 11, 2023
badb82c
chore: update wechat QRcode
csunny Nov 13, 2023
f735b12
feat(ChatDB): ChatDB Use fintune model
yhjun1026 Nov 13, 2023
479dbff
feat(ChatDB): ChatDB Use fintune model
yhjun1026 Nov 13, 2023
db7e002
fix: wechat QRcode
csunny Nov 13, 2023
6ea9c17
fix:reference bug
Aries-ckt Nov 13, 2023
6149b9b
chore: update wechat QRcode (#794)
Aries-ckt Nov 13, 2023
5b4e2ca
feat:web update
Aries-ckt Nov 13, 2023
80ee2fb
Recover accidentally deleted files
yhjun1026 Nov 14, 2023
401010d
style:fmt and solve conflict
Aries-ckt Nov 14, 2023
18883ec
feat(ChatDB): ChatDB Use fintune model
yhjun1026 Nov 14, 2023
99fb07a
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Nov 14, 2023
a1d5323
docs: update overview
csunny Nov 14, 2023
aaddde8
feat(ChatDB): ChatDB Use fintune model
yhjun1026 Nov 14, 2023
a88484d
Merge branch 'main' into Agent_Hub_Dev
yhjun1026 Nov 14, 2023
1acc8b0
feat(ChatDB): ChatDB Use fintune model
yhjun1026 Nov 14, 2023
d82884f
docs: readme features
csunny Nov 14, 2023
75540a1
docs: rewrite descibe of dbgpt
csunny Nov 14, 2023
116fcf7
chore: remove in-action file
csunny Nov 14, 2023
8eaf369
docs: update overview (#795)
Aries-ckt Nov 14, 2023
85da219
feat:add summary label
Aries-ckt Nov 14, 2023
6281910
feat:add summary label
Aries-ckt Nov 14, 2023
cdcfe7f
feat:add doc summary
Aries-ckt Nov 15, 2023
8be43c5
feat:add summary
Aries-ckt Nov 15, 2023
6253d3b
feat:summary update output
Aries-ckt Nov 15, 2023
6db8c49
feat(model): Support model cache and first version of Agentic Workflo…
fangyinc Nov 15, 2023
fa06ba5
feat(ChatDB): ChatDB Use fintune model
yhjun1026 Nov 16, 2023
343d646
feat(ChatDB): ChatDB Use fintune model
yhjun1026 Nov 16, 2023
1150adb
feat(model): Support BranchOperator
fangyinc Nov 16, 2023
9957720
feat(cache): Support configures the model cache in .env
fangyinc Nov 16, 2023
3e56009
feat:update scene param
Aries-ckt Nov 16, 2023
e198cd3
Update chatgpt.py
zhanghy-sketchzh Nov 16, 2023
1b615ae
Update chatgpt.py
zhanghy-sketchzh Nov 16, 2023
2ff9625
Update chatgpt.py
zhanghy-sketchzh Nov 16, 2023
16a9951
fix:milvus metadata bug
Aries-ckt Nov 16, 2023
1ad09c8
fix(Model): Compatible with openai 1.x.x, compatible with AzureOpeai …
Aries-ckt Nov 16, 2023
4049f52
feat:summary web
Aries-ckt Nov 16, 2023
b0dd2e7
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Nov 16, 2023
5eccf73
Update chatgpt.py
zhanghy-sketchzh Nov 17, 2023
ddabd01
Update chatgpt.py
zhanghy-sketchzh Nov 17, 2023
5109c89
feat(cache): Not cache the failed model output
fangyinc Nov 17, 2023
50b3f35
fix: compile OpenAI 1.x.x version (#805)
Aries-ckt Nov 17, 2023
870aeb0
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Nov 17, 2023
1240352
feat(model): Support model cache and new Agentic Workflow Expression …
Aries-ckt Nov 17, 2023
a4c8aca
feat:summary update and merge main branch
Aries-ckt Nov 17, 2023
ea363a4
feat(ChatDB): ChatDB Use fintune model
yhjun1026 Nov 17, 2023
b453604
feat(model): New metrics param to model API
fangyinc Nov 17, 2023
3d7481d
feat(model): Usage infos with vLLM
fangyinc Nov 17, 2023
439cd90
feat:update summary prompt
Aries-ckt Nov 17, 2023
1f22459
feat(model): Add LL benchmarks code
fangyinc Nov 17, 2023
4ffd054
fix(model): Fix benchmarks bugs
fangyinc Nov 18, 2023
d6318c2
chore: Modify benchmarks for less times
fangyinc Nov 18, 2023
236cf95
feat:add model_enabe_cache in playload in basechat.py
Aries-ckt Nov 19, 2023
00bfa32
feat:0.4.2 web module
Aries-ckt Nov 19, 2023
dba0a33
Refinement of grammar issues in README.md
qidanrui Nov 19, 2023
29ca172
Refinement of grammar issues in README.md (#807)
csunny Nov 20, 2023
d38c9c7
feat(ChatDB): ChatDB English Prompt fix
yhjun1026 Nov 20, 2023
8708a11
feat(ChatDB): ChatDB English Prompt fix
yhjun1026 Nov 20, 2023
fb2d5a2
feat:update v0.4.2 web module
Aries-ckt Nov 20, 2023
0fff10b
chore: fix code lint
fangyinc Nov 20, 2023
ecc5d5d
feat(model): Add LLM benchmarks code (#808)
Aries-ckt Nov 20, 2023
c755a6b
Merge remote-tracking branch 'origin/main' into feat_rag_graph
Aries-ckt Nov 20, 2023
8fb13a9
style:delete unusual assets
Aries-ckt Nov 20, 2023
70607f8
feat(ChatDB): ChatDB English Prompt fix
yhjun1026 Nov 20, 2023
90b7e63
Merge branch 'main' into Agent_Hub_Dev
yhjun1026 Nov 20, 2023
7b3682a
refactor:merge Agent_Hub branch
Aries-ckt Nov 20, 2023
fec82a7
style:delete milvus_store.py unusual code
Aries-ckt Nov 20, 2023
689f6bf
refactor:update v0.4.2 web
Aries-ckt Nov 20, 2023
de1ccd8
style:delete unusual code
Aries-ckt Nov 20, 2023
5216d23
style:fmt
Aries-ckt Nov 20, 2023
b8916a5
feat(ChatDB): ChatExcel Prompt optimization
yhjun1026 Nov 20, 2023
10dc225
Merge remote-tracking branch 'origin/Agent_Hub_Dev' into feat_rag_graph
Aries-ckt Nov 20, 2023
dcd5583
feat(ChatDB): ChatDB change name to ChatData
yhjun1026 Nov 20, 2023
8e606df
feat(ChatDB): ChatDB change name to ChatData
yhjun1026 Nov 20, 2023
a6dd04f
feat(ChatDB): ChatDB change name to ChatData
yhjun1026 Nov 20, 2023
0da65cd
feat(ChatDB): ChatDB change name to ChatData
yhjun1026 Nov 20, 2023
2b14382
feat:update v0.4.2 web module
Aries-ckt Nov 20, 2023
d63b2d1
Merge remote-tracking branch 'origin/Agent_Hub_Dev' into feat_rag_graph
Aries-ckt Nov 20, 2023
fd21a3a
feat(ChatData): ChatData change describe
yhjun1026 Nov 20, 2023
aad063b
Merge remote-tracking branch 'origin/Agent_Hub_Dev' into feat_rag_graph
Aries-ckt Nov 20, 2023
41430ef
feat(ChatKnowledge): Add document summary and Integrate ant-v (#809)
csunny Nov 20, 2023
dba7c2a
chores: extra code clean
csunny Nov 21, 2023
2e70111
chores: clean extra datasets
csunny Nov 21, 2023
620cb95
bugfix(ChatData): code merge bug fix
yhjun1026 Nov 21, 2023
dfe1370
bugfix(ChatData): code merge bug fix (#810)
yhjun1026 Nov 21, 2023
cfc4d38
chores: wechat QRcode update
csunny Nov 21, 2023
d54dc61
lint: code and datasets clean (#811)
Aries-ckt Nov 21, 2023
db65c25
fix:Milvus create collection bug
Aries-ckt Nov 21, 2023
c2fc67a
bugfix(ChatData): code merge bug fix
yhjun1026 Nov 21, 2023
3d33dd1
bugfix(ChatData): code merge bug fix (#814)
csunny Nov 21, 2023
35c1221
fix(ChatKnowledge):Milvus create collection bug (#813)
fangyinc Nov 21, 2023
e67d62a
feat(awel): AWEL supports http trigger
fangyinc Nov 20, 2023
1801138
feat(awel): New AWEL RAG example
fangyinc Nov 21, 2023
2ce7751
feat(awel): AWEL supports http trigger and add some AWEL examples (#…
Aries-ckt Nov 21, 2023
64165b2
feat(awel): Modify AWEL http trigger route function (#817)
fangyinc Nov 22, 2023
460fdb6
feat(usage): add tests cases for dashboard (#818)
csunny Nov 22, 2023
e4c91d1
chore:update readme (#822)
Aries-ckt Nov 22, 2023
89dcccc
feat(model): Add more support model list and modify LLM benchmarks (#…
fangyinc Nov 23, 2023
5075668
chores: update contact QR code (#824)
csunny Nov 23, 2023
a92f340
feat(model): Support Yi-34B-Chat (#837)
fangyinc Nov 24, 2023
dd2385a
update dbgpt online version
xuyuan23 Nov 27, 2023
930a981
fix chat completions api
xuyuan23 Nov 27, 2023
058d0b3
add user_id in upload file interface
xuyuan23 Nov 30, 2023
c4d23d8
update show db strategy
xuyuan23 Dec 1, 2023
62ede7d
optimize db connection and knowledge QA
xuyuan23 Dec 1, 2023
4c6d56e
support dialogue share.
xuyuan23 Dec 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ WEB_SERVER_PORT=7860
#*******************************************************************#
# LLM_MODEL, see /pilot/configs/model_config.LLM_MODEL_CONFIG
LLM_MODEL=vicuna-13b-v1.5
## LLM model path, by default, DB-GPT will read the model path from LLM_MODEL_CONFIG based on the LLM_MODEL.
## Of course you can specify your model path according to LLM_MODEL_PATH
## In DB-GPT, the priority from high to low to read model path:
## 1. environment variable with key: {LLM_MODEL}_MODEL_PATH (Avoid multi-model conflicts)
## 2. environment variable with key: MODEL_PATH
## 3. environment variable with key: LLM_MODEL_PATH
## 4. the config in /pilot/configs/model_config.LLM_MODEL_CONFIG
# LLM_MODEL_PATH=/app/models/vicuna-13b-v1.5
# LLM_PROMPT_TEMPLATE=vicuna_v1.1
MODEL_SERVER=http://127.0.0.1:8000
LIMIT_MODEL_CONCURRENCY=5
MAX_POSITION_EMBEDDINGS=4096
Expand All @@ -46,6 +55,17 @@ QUANTIZE_8bit=True
## Model path
# llama_cpp_model_path=/data/models/TheBloke/vicuna-13B-v1.5-GGUF/vicuna-13b-v1.5.Q4_K_M.gguf

### LLM cache
## Enable Model cache
# MODEL_CACHE_ENABLE=True
## The storage type of model cache, now supports: memory, disk
# MODEL_CACHE_STORAGE_TYPE=disk
## The max cache data in memory, we always store cache data in memory fist for high speed.
# MODEL_CACHE_MAX_MEMORY_MB=256
## The dir to save cache data, this configuration is only valid when MODEL_CACHE_STORAGE_TYPE=disk
## The default dir is pilot/data/model_cache
# MODEL_CACHE_STORAGE_DISK_DIR=

#*******************************************************************#
#** EMBEDDING SETTINGS **#
#*******************************************************************#
Expand Down Expand Up @@ -84,6 +104,7 @@ LOCAL_DB_TYPE=sqlite
# LOCAL_DB_PASSWORD=aa12345678
# LOCAL_DB_HOST=127.0.0.1
# LOCAL_DB_PORT=3306
# LOCAL_DB_NAME=dbgpt
### This option determines the storage location of conversation records. The default is not configured to the old version of duckdb. It can be optionally db or file (if the value is db, the database configured by LOCAL_DB will be used)
#CHAT_HISTORY_STORE_TYPE=db

Expand Down
126 changes: 126 additions & 0 deletions CODE_OF_CONDUCT
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[INSERT CONTACT METHOD].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

*Community Impact*: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

*Consequence*: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

*Community Impact*: A violation through a single incident or series of
actions.

*Consequence*: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

*Community Impact*: A serious violation of community standards, including
sustained inappropriate behavior.

*Consequence*: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

*Community Impact*: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

*Consequence*: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].
Loading