Commit Graph

703 Commits

Author SHA1 Message Date
xuyuan23
de9d8742fd docs(openai proxy): Fix the name of the OpenAI proxy model in the llms.md document.
This command modifies the LLM_MODEL variable in your code from "proxy_llm" to "proxyllm".
2023-06-16 10:57:09 +08:00
xuyuan23
a91a7e1c62 Fix the document by changing 'LLM_MODEL=proxy_llm' to 'LLM_MODEL=proxyllm'. 2023-06-15 17:15:27 +08:00
Aries-ckt
f4bc71ad97 - add Weaviate database (#222)
The contribution aims to enhance the functionality of the DBGPT
repository by integrating support for the Weaviate database. Weaviate is
a vector database that provides advanced indexing and search
capabilities for textual data. By incorporating Weaviate into the DBGPT
repository, users will have access to efficient storage, retrieval, and
similarity search features for their text-based data.

Proposed Changes:
1. Implement WeaviateStore Class:
- Create a new class, "WeaviateStore," that extends the existing vector
store functionality in the DBGPT repository.
- The WeaviateStore class will serve as a wrapper around the Weaviate
database and provide methods for data loading, searching, and
vectorization.
- The class will utilize the Weaviate Python client library for seamless
integration with the Weaviate database.

2. Schema Definition:
- Define the schema for the Weaviate database to support the required
data structure in the DBGPT repository.
- The schema will include a "Document" class with properties for
metadata and text.
- The "metadata" property will store the metadata associated with each
document.
- The "text" property will store the textual content of each document.

3. Data Loading:
- Implement a method within the WeaviateStore class to load documents
into the Weaviate database.
- Iterate through the documents in the DBGPT repository and extract the
necessary metadata and text.
- Use the Weaviate Python client to add each document to the Weaviate
database, mapping the metadata and text to the corresponding properties
defined in the schema.

4. Similar Search:
- Implement a method within the WeaviateStore class to perform a similar
search in the Weaviate database based on a given text query.
- Utilize Weaviate's vector-based search capabilities to find documents
similar to the provided text query.
- Return the relevant documents along with additional information such
as distance or relevance scores.

5. Vector Name Existence:
- Implement a method within the WeaviateStore class to check if a vector
name exists for a given class in the Weaviate database.
- The method will query the Weaviate database's schema and determine if
the vector name exists for the specified class.
2023-06-15 09:44:56 +08:00
Younis Bashir
3a41904a32 - add Weaviate database 2023-06-15 02:51:36 +03:00
Aries-ckt
aae46ec191 docs: fix gpt4all and add llm usage documents (#221)
llm usage documents
fix gpt4all problem
2023-06-14 22:53:31 +08:00
magic.chen
f19b92af02 Update llmserver.py 2023-06-14 22:52:26 +08:00
csunny
bb9724cbc1 docs: update llms usage 2023-06-14 22:37:45 +08:00
csunny
c522f4f0ba Merge branch 'main' into llm_fxp 2023-06-14 22:32:17 +08:00
magic.chen
c32e2f8617 sql generation doc (#219)
fix:sql generation doc
2023-06-14 22:28:16 +08:00
aries-ckt
d07d103db9 fix:format 2023-06-14 22:22:27 +08:00
aries-ckt
51d5517cb5 fix:doc sql generation 2023-06-14 22:12:23 +08:00
aries-ckt
74337f6e70 Merge remote-tracking branch 'origin/main' into dbgpt_doc 2023-06-14 22:10:34 +08:00
csunny
2c22b09692 add: ignore zip file 2023-06-14 22:08:58 +08:00
csunny
321f1c36c4 Merge branch 'dbgpt_doc' of https://github.com/csunny/DB-GPT into llm_fxp 2023-06-14 22:04:35 +08:00
csunny
d0b270cb95 fix: async output 2023-06-14 22:02:23 +08:00
明天
60c9eb3174 Async auto load native plugins; (#218)
1.Async auto load native plugins;
2.Add Config control if auto load plugins, default open, if wan't close,
change in .env
2023-06-14 22:00:15 +08:00
yhjun1026
04335465df async auto load plugin 2023-06-14 21:56:38 +08:00
yhjun1026
88d1709905 async auto load plugin 2023-06-14 21:54:43 +08:00
yhjun1026
ddd8e7a8c5 Merge branch 'dbgpt_doc' into ty_test
# Conflicts:
#	pilot/common/plugins.py
2023-06-14 21:53:08 +08:00
yhjun1026
6b1f00f7c3 async auto load plugin 2023-06-14 21:51:05 +08:00
yhjun1026
8ba409f305 async auto load plugin 2023-06-14 21:46:30 +08:00
csunny
9a1424fc86 docs: update readme and llms (#138) 2023-06-14 21:40:48 +08:00
yhjun1026
d784e7e00a close auto load plugin 2023-06-14 21:40:08 +08:00
yhjun1026
b2ec087322 close auto load plugin 2023-06-14 21:28:06 +08:00
magic.chen
b4c01cc299 dbgpt_doc->main (#217)
merge dbgpt_doc->main
2023-06-14 18:03:50 +08:00
magic.chen
6adc63aea7 doc:db-gpt tutorial doc (#213)
1.fix tutorial doc
2023-06-14 18:01:15 +08:00
magic.chen
a7aad450a1 fix: install add text-chinses-large model (#215)
quick start add rely model, text-chinses-large model
2023-06-14 18:00:43 +08:00
magic.chen
1c2eb2895a Feature xuyuan openai proxy (#216) 2023-06-14 18:00:27 +08:00
magic.chen
6ffc2f4196 doc:db_gpt doc (#214)
1.dbgpt doc
2.chart plugin
3. dbchat
2023-06-14 17:59:34 +08:00
xuyuan23
6a5b0170ba Merge branch 'dbgpt_doc' into feature-xuyuan-openai-proxy 2023-06-14 17:55:32 +08:00
xuyuan23
381c7cdbac Add Chinese documentation. 2023-06-14 17:54:21 +08:00
aries-ckt
0e3a259ba0 fix:format 2023-06-14 17:53:25 +08:00
aries-ckt
169630957d conflict:wechat.jpg 2023-06-14 17:44:08 +08:00
xuyuan23
7b77360286 add use cases: tool_use_with_plugin, and how to write a plugin. 2023-06-14 17:24:31 +08:00
aries-ckt
0405b61bc3 doc:db-gpt tutorial doc 2023-06-14 17:22:14 +08:00
csunny
4ff949064f fix: install add text-chinses-large model 2023-06-14 17:16:32 +08:00
magic.chen
27a8391e23 update docs latest version (#212)
docs latest version set to v0.2.2,  align with code.
2023-06-14 15:51:43 +08:00
csunny
31761cd481 docs: w 2023-06-14 15:47:51 +08:00
magic.chen
1c48976177 doc:db-gpt doc (#211)
1.db-gpt doc include tutorial, llm, knowledge and connections module
2023-06-14 15:34:53 +08:00
aries-ckt
0c8b424b04 doc:db-gpt doc 2023-06-14 15:31:11 +08:00
magic.chen
a68d48306b fix:default chunk size (#210)
1.default chunksize:100
2. webserver radio name DB chat
2023-06-14 12:43:06 +08:00
aries-ckt
333aad7bc4 fix:default chunk size 2023-06-14 12:37:45 +08:00
magic.chen
e3f91e98b4 add llm support for gpt4all (#209)
add llm support for gpt4all #178 #138
2023-06-14 11:35:42 +08:00
csunny
14dc2e4ce9 Merge branch 'dbgpt_doc' of https://github.com/csunny/DB-GPT into llm_fxp 2023-06-14 10:25:07 +08:00
magic.chen
713bdb77db Multi gpu (#207)
support multi gpus
2023-06-14 10:22:09 +08:00
csunny
4f82cfde63 pylint: multi model for gp4all (#138) 2023-06-14 10:17:53 +08:00
csunny
0f4569e5c8 Merge branch 'dbgpt_doc' into llm_fxp 2023-06-14 10:14:13 +08:00
magic.chen
63d86361a9 update readm_zh (#206) 2023-06-14 00:46:46 +08:00
zhanghy-sketchzh
00d24101f3 support multi gpus 2023-06-14 00:22:02 +08:00
zhanghy-sketchzh
2f13b9da4c update readm_zh 2023-06-14 00:00:25 +08:00