mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-21 11:29:15 +00:00
fix: some typos using typos (#2552)
# Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. This path fix some of typos using typos just an example using tools https://github.com/crate-ci/typos # How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration # Snapshots: Include snapshots for easier review. # Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have already rebased the commits and make the commit message conform to the project standard. - [ ] 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:
commit
c68332be4c
@ -111,7 +111,7 @@ RUN if [ "$USE_TSINGHUA_UBUNTU" = "true" ]; then \
|
||||
|
||||
WORKDIR /app
|
||||
# Copy the virtual environment from the previous stage
|
||||
# Use antoher name to avoid conflict when mounting user's local .venv
|
||||
# Use another name to avoid conflict when mounting user's local .venv
|
||||
ENV FINAL_VENV_NAME="/opt/.uv.venv"
|
||||
COPY --from=builder /app/.venv ${FINAL_VENV_NAME}
|
||||
COPY . .
|
||||
|
@ -7,7 +7,7 @@ Model API mainly means that DB-GPT adapts to various models and is uniformly pac
|
||||
## Model API
|
||||
|
||||
In the DB-GPT project, we defined a service-oriented multi-model management framework (SMMF). Through the capabilities of SMMF, we can deploy multiple models, and these models provide external services through services. In order to allow clients to achieve seamless switching, we uniformly support the OpenAI SDK standards.
|
||||
- Detail useage tutorial: [OpenAI SDK calls local multi-model ](../../installation/advanced_usage/OpenAI_SDK_call.md)
|
||||
- Detail usage tutorial: [OpenAI SDK calls local multi-model ](../../installation/advanced_usage/OpenAI_SDK_call.md)
|
||||
|
||||
**Example:** The following is an example of calling through openai sdk
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Text2SQL Fine-Tuning
|
||||
We have split the Text2SQL-related fine-tuning code into the `DB-GPT-Hub `sub-project, and you can also view the source code directly.
|
||||
|
||||
## Fine-tune pipline
|
||||
## Fine-tune pipeline
|
||||
|
||||
Text2SQL pipline mainly includes the following processes:
|
||||
Text2SQL pipeline mainly includes the following processes:
|
||||
- [Build environment](#build-environment)
|
||||
- [Data processing](#data-processing)
|
||||
- [Model train](#model-train)
|
||||
|
@ -26,7 +26,7 @@ If you want to use OceanBase, please first start a docker container via the foll
|
||||
docker run --name=ob433 -e MODE=slim -p 2881:2881 -d quay.io/oceanbase/oceanbase-ce:4.3.3.0-100000142024101215
|
||||
```
|
||||
|
||||
Donwload the partner package:
|
||||
Download the partner package:
|
||||
```shell
|
||||
pip install --upgrade --quiet pyobvector
|
||||
```
|
||||
|
@ -383,7 +383,7 @@ def knowledge_delete(
|
||||
# Confirm by user
|
||||
user_input = (
|
||||
input(
|
||||
f"Are you sure you want to delete the doucment {doc_name} in "
|
||||
f"Are you sure you want to delete the document {doc_name} in "
|
||||
f"knowledge space {space_name}? Type 'yes' to confirm: "
|
||||
)
|
||||
.strip()
|
||||
@ -394,6 +394,6 @@ def knowledge_delete(
|
||||
return
|
||||
client.document_delete(space_name, KnowledgeDocumentRequest(doc_name=doc_name))
|
||||
logger.info(
|
||||
f"Delete the doucment {doc_name} in knowledge space {space_name} "
|
||||
f"Delete the document {doc_name} in knowledge space {space_name} "
|
||||
f"successfully!"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user