Files
DB-GPT/docs/docs/installation/integrations/oracle_install.md
alanchen c655f55ab4 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
2025-05-16 19:01:23 +08:00

1.1 KiB

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.


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.

Then run the following command to start the webserver:


uv run dbgpt start webserver --config configs/dbgpt-proxy-openai.toml

Optionally, you can also use the following command to start the webserver:


uv run python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py --config configs/dbgpt-proxy-openai.toml

Oracle Configuration