Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

pupba
Copy link
Contributor

@pupba pupba commented May 7, 2025

Author Checklist

  • PR Title Format: I have confirmed that the PR title follows the correct format. (e.g., [N-2] 07-Text Splitter / 07-RecursiveCharacterTextSplitter)

  • Committed Files: I have ensured that no unnecessary files (e.g., .bin, .gitignore, poetry.lock, pyproject.toml) are included. These files are not allowed.

  • (Optional) Related Issue: If this PR is linked to an issue, I have referenced the issue number in the PR message. (e.g., Fixes Update 01-PromptTemplate.ipynb #123)

  • ❌ Do not include unnecessary files (e.g., .bin, .gitignore, poetry.lock, pyproject.toml) or other people's code. If included, close the PR and create a new PR.

Review Template (Intial PR)

🖥️ OS: Win/Mac/Linux   
✅ Checklist      
 - [ ] **Template**: Tutorials follows the required template. 
 - [ ] **Table of Contents(TOC) Links**: All Table of Contents links work. (Yes/No)
 - [ ] **Image**: Image filenames follow guidelines.
 - [ ] **Imports**: All import statements use the latest versions. Ensure "langchain-teddynote" is not used. 
 - [ ] **Code Execution**: Code runs without errors.
 - Comments: {Write freely, 한국어 기술 가능}     

If no one reviews your PR within a few days, please @-mention one of teddylee777, musangk, BAEM1N

Update

  • HotFix : 요청하신 Delete Count 추가 했습니다.

- HotFix : add print delete count.
@pupba pupba requested a review from sohyunwriter May 7, 2025 09:47
@pupba pupba added the hot fix Quick fix on something label May 7, 2025
pupba added 2 commits May 7, 2025 18:49
- delete logic Change
- Delete logic Changed..
Copy link
Contributor

@sohyunwriter sohyunwriter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete 수정하셨군요ㅋㅋㅋ 수고 많으셨습니다.
코드 잘 실행되는 거 확인했습니다.

아래는 추후 다른 파일 수정 시 참고용으로 디스코드 내용 복붙해놓을게요.

delete 함수가 인자로 받을 수 있는게 ids, filters 
1) ids만 입력받은 경우 ids 있는 경우에 한해 삭제 (ids가 없어도 에러 뜨지 않도록 처리)
2) ids, filters 둘다 입력 받은 경우 ids & filters로 삭제, 즉 ids 중 필터링 걸린 걸 삭제
3) filters만 입력 받은 경우 filters로 삭제
4) 아무것도 입력받지 않은 경우 -> 전체 삭제

*삭제는 기본적으로 return 값이 없는 게 맞으나, 삭제 후에 "몇 개가 삭제됐는지" 메시지 띄어주기

@sohyunwriter sohyunwriter merged commit 1de7df7 into LangChain-OpenTutorial:main May 8, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hot fix Quick fix on something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants