From 80eef2042297978d2d5125bc8b0d27af7b38152f Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Sat, 29 Mar 2025 11:10:16 +0800 Subject: [PATCH] fix: some typos using typos Signed-off-by: yihong0618 --- docker/base/Dockerfile | 2 +- docs/docs/application/advanced_tutorial/api.md | 2 +- docs/docs/application/fine_tuning_manual/text_to_sql.md | 4 ++-- docs/docs/faq/kbqa.md | 2 +- .../src/dbgpt_app/knowledge/_cli/knowledge_client.py | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile index bc37ecc3d..3d818b2a5 100644 --- a/docker/base/Dockerfile +++ b/docker/base/Dockerfile @@ -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 . . diff --git a/docs/docs/application/advanced_tutorial/api.md b/docs/docs/application/advanced_tutorial/api.md index 463507f47..53cc524ab 100644 --- a/docs/docs/application/advanced_tutorial/api.md +++ b/docs/docs/application/advanced_tutorial/api.md @@ -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 diff --git a/docs/docs/application/fine_tuning_manual/text_to_sql.md b/docs/docs/application/fine_tuning_manual/text_to_sql.md index 1f3397686..055b55bb4 100644 --- a/docs/docs/application/fine_tuning_manual/text_to_sql.md +++ b/docs/docs/application/fine_tuning_manual/text_to_sql.md @@ -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) diff --git a/docs/docs/faq/kbqa.md b/docs/docs/faq/kbqa.md index 7b3a79bf6..0ed3afee4 100644 --- a/docs/docs/faq/kbqa.md +++ b/docs/docs/faq/kbqa.md @@ -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 ``` diff --git a/packages/dbgpt-app/src/dbgpt_app/knowledge/_cli/knowledge_client.py b/packages/dbgpt-app/src/dbgpt_app/knowledge/_cli/knowledge_client.py index 452a49623..2cc1c2282 100644 --- a/packages/dbgpt-app/src/dbgpt_app/knowledge/_cli/knowledge_client.py +++ b/packages/dbgpt-app/src/dbgpt_app/knowledge/_cli/knowledge_client.py @@ -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!" )