mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-23 20:26:15 +00:00
docs(datasource): integration oracle doc (#2701)
# Description Add Oracle datasource documentation examples and update duplicate command of start webserver # How Has This Been Tested? # Snapshots: Include snapshots for easier review. # Checklist: - [ ] My code follows the style guidelines of this project - [x] I have already rebased the commits and make the commit message conform to the project standard. - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] Any dependent changes have been merged and published in downstream modules
This commit is contained in:
parent
11c2ec1fc5
commit
c655f55ab4
@ -10,16 +10,16 @@ Integration Packages
|
||||
|
||||
| Provider | Supported | Install Packages |
|
||||
|-------------|-----------|----------------------|
|
||||
| MySQL | ✅ | --extra datasource_mysql |
|
||||
| OceanBase | ✅ | |
|
||||
| ClickHouse | ✅ | --extra datasource_clickhouse |
|
||||
| Hive | ✅ | --extra datasource_hive |
|
||||
| MSSQL | ✅ | --extra datasource_mssql |
|
||||
| PostgreSQL | ✅ | --extra datasource_postgres |
|
||||
| ApacheDoris | ✅ | |
|
||||
| StarRocks | ✅ | --extra datasource_starroks |
|
||||
| Spark | ✅ | --extra datasource_spark |
|
||||
| Oracle | ❌ | |
|
||||
| MySQL | ✅ | --extra datasource_mysql |
|
||||
| OceanBase | ✅ | |
|
||||
| ClickHouse | ✅ | --extra datasource_clickhouse |
|
||||
| Hive | ✅ | --extra datasource_hive |
|
||||
| MSSQL | ✅ | --extra datasource_mssql |
|
||||
| PostgreSQL | ✅ | --extra datasource_postgres |
|
||||
| ApacheDoris | ✅ | |
|
||||
| StarRocks | ✅ | --extra datasource_starroks |
|
||||
| Spark | ✅ | --extra datasource_spark |
|
||||
| Oracle | ✅ | --extra datasource_oracle |
|
||||
|
||||
|
||||
# RAG Storage Providers
|
||||
|
@ -21,7 +21,7 @@ Prepare ClickHouse database service, reference-[ClickHouse Installation](https:/
|
||||
|
||||
Then run the following command to start the webserver:
|
||||
```bash
|
||||
uv run python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py --config configs/dbgpt-proxy-openai.toml
|
||||
uv run dbgpt start webserver --config configs/dbgpt-proxy-openai.toml
|
||||
```
|
||||
|
||||
Optionally, you can also use the following command to start the webserver:
|
||||
|
@ -25,7 +25,7 @@ Prepare DuckDB database service, reference-[DuckDB Installation](https://duckdb.
|
||||
Then run the following command to start the webserver:
|
||||
```bash
|
||||
|
||||
uv run python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py --config configs/dbgpt-proxy-openai.toml
|
||||
uv run dbgpt start webserver --config configs/dbgpt-proxy-openai.toml
|
||||
|
||||
```
|
||||
|
||||
|
@ -23,7 +23,7 @@ Prepare MSSQL database service, reference-[MSSQL Installation](https://docs.micr
|
||||
Then run the following command to start the webserver:
|
||||
```bash
|
||||
|
||||
uv run python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py --config configs/dbgpt-proxy-openai.toml
|
||||
uv run dbgpt start webserver --config configs/dbgpt-proxy-openai.toml
|
||||
```
|
||||
|
||||
Optionally, you can also use the following command to start the webserver:
|
||||
|
38
docs/docs/installation/integrations/oracle_install.md
Normal file
38
docs/docs/installation/integrations/oracle_install.md
Normal file
@ -0,0 +1,38 @@
|
||||
# Oracle
|
||||
|
||||
In this example, we will show how to use the Oracle as in DB-GPT Datasource. Using Oracle to implement Datasource can, to some extent, alleviate the uncertainty and interpretability issues brought about by vector database retrieval.
|
||||
|
||||
### Install Dependencies
|
||||
|
||||
First, you need to install the `dbgpt oracle datasource` library.
|
||||
|
||||
```bash
|
||||
|
||||
uv sync --all-packages \
|
||||
--extra "base" \
|
||||
--extra "datasource_oracle" \
|
||||
--extra "rag" \
|
||||
--extra "storage_chromadb" \
|
||||
--extra "dbgpts"
|
||||
```
|
||||
|
||||
### Prepare Oracle
|
||||
|
||||
Prepare Oracle database service, reference-[Oracle Installation](https://docs.oracle.com/en/database/oracle/oracle-database/index.html).
|
||||
|
||||
Then run the following command to start the webserver:
|
||||
```bash
|
||||
|
||||
uv run dbgpt start webserver --config configs/dbgpt-proxy-openai.toml
|
||||
```
|
||||
|
||||
Optionally, you can also use the following command to start the webserver:
|
||||
```bash
|
||||
|
||||
uv run python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py --config configs/dbgpt-proxy-openai.toml
|
||||
```
|
||||
|
||||
### Oracle Configuration
|
||||
<p align="left">
|
||||
<img src={'https://github.com/user-attachments/assets/c285f8c3-9e99-4fab-bd39-ae34206ec54f'} width="1000px"/>
|
||||
</p>
|
@ -25,7 +25,7 @@ Prepare Postgres database service, reference-[Postgres Installation](https://www
|
||||
Then run the following command to start the webserver:
|
||||
```bash
|
||||
|
||||
uv run python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py --config configs/dbgpt-proxy-openai.toml
|
||||
uv run dbgpt start webserver --config configs/dbgpt-proxy-openai.toml
|
||||
```
|
||||
|
||||
Optionally, you can also use the following command to start the webserver:
|
||||
|
@ -93,6 +93,10 @@ const sidebars = {
|
||||
type: "doc",
|
||||
id: "installation/integrations/mssql_install"
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "installation/integrations/oracle_install"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user