mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-12 20:53:48 +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:
@@ -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!"
|
||||
)
|
||||
|
Reference in New Issue
Block a user