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

Skip to content

Conversation

jeongkpa
Copy link
Contributor

@jeongkpa jeongkpa commented Jan 5, 2025

{PR Message - Write freely, remove this bracket if unnecessary}

Author Checklist

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

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

  • [ x ] (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

@jeongkpa jeongkpa self-assigned this Jan 5, 2025
Copy link
Contributor

@ErikaPark ErikaPark left a comment

Choose a reason for hiding this comment

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

[Review Checklist]

  • Review OS: Mac

    • Windows / Mac / Linux (ν•΄λ‹Ή OSλ₯Ό κΈ°μž¬ν•΄μ£Όμ„Έμš”)
  • Template Rule μ€€μˆ˜ μ—¬λΆ€:

    • Template Rule κ°€μ΄λ“œλ₯Ό μ€€μˆ˜ν•˜μ˜€λŠ”κ°€? (Check ν‘œκΈ°)
  • Table of Contents 링크 확인:

    • Table of Contents의 링크가 μ›ν™œν•˜κ²Œ λ™μž‘ν•˜λŠ”μ§€ ν™•μΈν•˜μ˜€λŠ”κ°€? (Check ν‘œκΈ°)
  • μ΅œμ‹  import 방식 μ‚¬μš© μ—¬λΆ€:

    • import ꡬ문이 μ˜ˆμ „ legacy 방식이 μ•„λ‹Œ μ΅œμ‹  버전을 λ”°λ₯΄λŠ”κ°€? (Check ν‘œκΈ°)
  • μ½”λ“œ λ™μž‘ 확인:

    • λͺ¨λ“  μ½”λ“œκ°€ 였λ₯˜ 없이 λ™μž‘ν•˜λŠ”κ°€? (Check ν‘œκΈ°)
  • 제좜 파일 확인:

    • κΌ­ ν•„μš”ν•œ νŒŒμΌλ“€λ§Œ μ œμΆœλ˜μ—ˆλŠ”κ°€?
      • νŠœν† λ¦¬μ–Ό μ™Έ μ„€μ • νŒŒμΌμ΄λ‚˜ λ‹€λ₯Έ 뢄이 μž‘μ—…ν•œ 파일이 ν¬ν•¨λ˜μ—ˆλŠ”μ§€ Files Changedμ—μ„œ 확인 λΆ€νƒλ“œλ¦½λ‹ˆλ‹€. (Check ν‘œκΈ°)
  • 기타 의견:

    • νŒ¨ν‚€μ§€ λͺ… 등에 backtick μΆ”κ°€ν•˜κ³  빈 μ…€ μ‚­μ œ λ“± μ§„ν–‰ν•˜μ—¬ μ»€λ°‹ν•˜μ˜€μŠ΅λ‹ˆλ‹€.
    • from langchain.vectorstores import FAISS β†’ from langchain_community.vectorstores import FAISS
    • λ§ˆν¬λ‹€μš΄ 헀더 μ•„λž˜ μ„€λͺ… μΆ”κ°€κ°€ ν•„μš”ν•΄ λ³΄μž…λ‹ˆλ‹€..! (κ°„λ‹¨ν•˜κ²ŒλΌλ„ μ„€λͺ…을 κΌ­ 적어야 ν–ˆλ˜ κ²ƒμœΌλ‘œ κΈ°μ–΅ν•΄μ„œμš”)

@ErikaPark
Copy link
Contributor

ErikaPark commented Jan 8, 2025

@jeongkpa
μ•„λž˜λŠ” 제 개인적인 μ˜κ²¬μ„ μ μ–΄λ³΄μ•˜μŠ΅λ‹ˆλ‹€..!
포맷과 νŒ¨ν‚€μ§€ 뢀뢄이 μˆ˜μ •λ˜λ©΄ λ‚˜λ¨Έμ§€ 뢀뢄은 μ •κΈ°λ‹˜μ΄ νŒλ‹¨ν•΄ μˆ˜μ • λΆ€νƒλ“œλ¦½λ‹ˆλ‹€.

λ‚΄μš© κ΄€λ ¨

  • 01-qna-μžμœ λŒ€ν™”μ—μ„œ ν…Œλ””λ‹˜κ³Ό λ‚˜λˆˆ λ…Όμ˜ λ‚΄μš©μ„ ν™•μΈν–ˆμŠ΅λ‹ˆλ‹€. ν…Œλ””λ‹˜ μΆ”μ²œμ„ λ°˜μ˜ν•΄ kiwiλ₯Ό ν™œμš©ν•΄ ν•œκΈ€ ν˜•νƒœμ†Œ 뢄석기 νŠœν† λ¦¬μ–Όμ„ μž‘μ„±ν•œ κ²ƒμœΌλ‘œ μ΄ν•΄ν–ˆμŠ΅λ‹ˆλ‹€.
  • λ‹€λ§Œ 예제 및 좜λ ₯ 결과에 ν•œκ΅­μ–΄κ°€ λ§Žμ•„ 이해가 μ–΄λ €μšΈ 수 μžˆμ„ 것 κ°™λ‹€ 생각이 λ“­λ‹ˆλ‹€.
    • Overview에 νŒ¨ν‚€μ§€ νŠΉμ„± 상 ν•œκ΅­μ–΄ 데이터λ₯Ό μ‚¬μš©ν•  κ²ƒμ΄λΌλŠ” μ„€λͺ…을 μΆ”κ°€ν•΄ μ£Όμ„Έμš”. (ex. Since this tutorial covers Korean morphological analysis, the output primarily contains Korean text, reflecting the language structure being analyzed.)
    • μ˜ˆμ œμ™€ 좜λ ₯이 ν•œκ΅­μ–΄λΌλ„, 영문 λ²ˆμ—­μ„ ν•¨κ»˜ μ œκ³΅ν•΄ μ£Όμ‹œλ©΄ μ’‹κ² μŠ΅λ‹ˆλ‹€. (Overview에 영문 λ²ˆμ—­ 포함 μ—¬λΆ€ μ„€λͺ… μΆ”κ°€)
  • ν•œκ΅­μ–΄ ν† ν¬λ‚˜μ΄μ œμ΄μ…˜μ˜ ν•„μš”μ„±μ„ κ°•μ‘°ν•΄ μ£Όμ„Έμš”. 언어적 차이λ₯Ό μ„€λͺ…ν•˜λŠ” μ˜ˆμ‹œλ₯Ό μ œκ³΅ν•˜λ©΄ μ’‹κ² μŠ΅λ‹ˆλ‹€.
    • ex. μ˜μ–΄ "Hello"λŠ” ν•œκ΅­μ–΄λ‘œ μ•ˆλ…•, ν•˜, μ„Έμš”λ‘œ 뢄리됨.
      • Token(form='μ•ˆλ…•', tag='NNG'), Token(form='ν•˜', tag='XSA'), Token(form='μ„Έμš”', tag='EF')
    • μ£Όμš” 차이점:
      • ν•œκ΅­μ–΄λŠ” μ–΄κ·Όκ³Ό μ–΄λ―Έλ₯Ό λ‚˜λˆ„μ–΄ 뢄석.
      • μ˜μ–΄λŠ” 단어 μˆ˜μ€€μ—μ„œ 토큰화.
  • Kiwi의 ν’ˆμ‚¬ νƒœκΉ…μ΄ 더 μ„ΈλΆ„ν™”λœ κ²ƒμœΌλ‘œ μ•Œκ³  μžˆμŠ΅λ‹ˆλ‹€. μ „λΆ€ μ„€λͺ…ν•˜λŠ”κ±΄ μ–΄λ ΅μ§€λ§Œ.. μ£Όμš” ν’ˆμ‚¬μ™€ ν•œκ΅­μ–΄μ˜ νŠΉμ„±μ„ μ„€λͺ…ν•΄ μ£Όλ©΄ 쒋을 것 κ°™μŠ΅λ‹ˆλ‹€. (νƒœκΉ… κ΄€λ ¨ μ„€λͺ… 이미지λ₯Ό ν¬ν•¨ν•œλ‹€κ±°λ‚˜.)
  • ν…ŒμŠ€νŠΈ 결과에 λŒ€ν•œ μ„€λͺ…이 μΆ”κ°€ 되면 μ’‹κ² μŠ΅λ‹ˆλ‹€ (BM25κ°€ λ­”μ§€ μ„€λͺ…, μ˜ˆμ‹œ μ„€λͺ…, μ–΄λ–»κ²Œ μ‹œλ„ˆμ§€κ°€ λ‚˜λŠ”μ§€, μ™œ μ€‘μš”ν•œμ§€ λ“±)
    • 예: 볡합 λͺ¨λΈμ΄ 더 일관적인 닡변을 μ œκ³΅ν–ˆλ‹€κ±°λ‚˜, kiwi_bm25와 faiss 기반 λͺ¨λΈμ΄ 정확도가 λ†’μ•˜λ‹€ λ“±μ˜ μ„€λͺ….
    • νŠΉμ • 데이터에 따라 μ„±λŠ₯이 λ‹€λ₯Ό 수 μžˆλ‹€λŠ” 점도 μ–ΈκΈ‰
  • μ œμ•ˆ
    ν˜„μž¬ References뢀뢄이 λΉ„μ–΄μžˆλŠ”λ°, 영문으둜 μž‘μ„±λœ μ„€λͺ… νŽ˜μ΄μ§€λ₯Ό Reference둜 μΆ”κ°€ν•˜λŠ” 것은 μ–΄λ–¨κΉŒμš”? μ˜μ–΄κΆŒ μ‚¬μš©μžκ°€ ν•œκ΅­μ–΄ 데이터λ₯Ό 닀루어야 ν•  λ•Œ μ°Έκ³ ν•  수 μžˆλŠ” μžλ£Œκ°€ ν¬ν•¨λ˜λ©΄ 쒋을 것 κ°™μŠ΅λ‹ˆλ‹€.(저희도 ν•œκ΅­μ–΄λ‘œ 적힌 κΈ°μˆ λΈ”λ‘œκ·Έλ₯Ό 자주 λ³΄λŠ” 것 처럼..)

@jeongkpa
Copy link
Contributor Author

jeongkpa commented Jan 8, 2025

@ErikaPark λ‹˜! μ•ˆλ…•ν•˜μ„Έμš”!

일단 λ„ˆλ¬΄ κΌΌκΌΌν•œ PR λ„ˆλ¬΄ κ°μ‚¬λ“œλ¦½λ‹ˆλ‹€.

μ œκ°€ μ£Όμ‹  의견 λ°˜μ˜ν•΄μ„œ commit λ‹€μ‹œ ν•΄λ³΄κ² μŠ΅λ‹ˆλ‹€!

@jeongkpa
Copy link
Contributor Author

jeongkpa commented Jan 8, 2025

@ErikaPark λ‹˜κ»˜μ„œ 말씀 μ£Όμ‹  λ‚΄μš© μΆ”κ°€ ν–ˆμŠ΅λ‹ˆλ‹€..! ν™•μΈν•΄μ£Όμ‹œκ³  Approve μ£Όμ‹œλ©΄ κ°μ‚¬ν•˜κ² μŠ΅λ‹ˆλ‹€.

@Hye-yoonJeong
Copy link
Contributor

Hye-yoonJeong commented Jan 9, 2025

πŸ–₯️ OS: Win
βœ… 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:
  1. Experiment: Compare Search Results Using Different Retrievers μ„€λͺ…κΈ€ 쀑 BM25, Kiwi BM25, FAISS, Ensemble bullet point둜 ꡬ뢄해야할 것 κ°™μŠ΅λ‹ˆλ‹€. 이 λ’€μ˜ ### Key points of Comparison 의 λ‚΄μš©λ„ bullet point둜 κ΅¬λΆ„ν•˜λŠ” 건 μ–΄λ–¨μ§€μš”?
  2. Display Search Results λ§ˆν¬λ‹€μš΄ 셀에 예제λ₯Ό ν¬ν•¨ν•˜λŠ” 것이 가독성이 λ–¨μ–΄μ§€λŠ” 것 κ°™μŠ΅λ‹ˆλ‹€. ν˜Ήμ‹œ κ·Έλƒ₯ μ½”λ“œμ…€λ‘œ ν•΄μ„œ print ν•˜λŠ” 것은 μ–΄λ–¨κΉŒμš”?
  3. TOC에 Conclusion이 λΉ μ§„ 것 κ°™μŠ΅λ‹ˆλ‹€.

@ErikaPark ErikaPark self-requested a review January 9, 2025 09:49
λ§μ”€λ“œλ¦° λΆ€λΆ„λ“€ λ°˜μ˜ν•΄ μ£Όμ‹  것 ν™•μΈν–ˆμŠ΅λ‹ˆλ‹€!

Experiment: Compare Search Results Using Different Retrievers,
Key points of Comparison 의 λ‚΄μš© bullet point둜 κ΅¬λΆ„ν•˜κ³ , backtick μΆ”κ°€ν•˜μ—¬ μ»€λ°‹ν•©λ‹ˆλ‹€!
@ErikaPark
Copy link
Contributor

ErikaPark commented Jan 9, 2025

πŸ–₯️ OS: Mac

βœ… 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:

  • 기타 의견:
    말씀 λ“œλ¦° λ‚΄μš© λ°˜μ˜ν•˜μ‹  것 ν™•μΈν–ˆμŠ΅λ‹ˆλ‹€.
    μœ„ μ½”λ©˜νŠΈ 쀑 1, 3λ²ˆμ€ μ œκ°€ μ»€λ°‹ν•˜μ˜€κ³  approve ν•˜κ² μŠ΅λ‹ˆλ‹€.
    μΆ”κ°€ 아이디어가 κ½€ λ§Žμ•˜λŠ”λ° κ³ μƒν•˜μ…¨μŠ΅λ‹ˆλ‹€!

@ErikaPark ErikaPark closed this Jan 9, 2025
@ErikaPark ErikaPark reopened this Jan 9, 2025
@jeongkpa
Copy link
Contributor Author

jeongkpa commented Jan 9, 2025

πŸ–₯️ OS: Mac

βœ… 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:

  • 기타 의견:
    말씀 λ“œλ¦° λ‚΄μš© λ°˜μ˜ν•˜μ‹  것 ν™•μΈν–ˆμŠ΅λ‹ˆλ‹€.
    μœ„ μ½”λ©˜νŠΈ 쀑 1, 3λ²ˆμ€ μ œκ°€ μ»€λ°‹ν•˜μ˜€κ³  approve ν•˜κ² μŠ΅λ‹ˆλ‹€.
    μΆ”κ°€ 아이디어가 κ½€ λ§Žμ•˜λŠ”λ° κ³ μƒν•˜μ…¨μŠ΅λ‹ˆλ‹€!

κ°μ‚¬ν•©λ‹ˆλ‹€!!!

Copy link
Contributor

@Hye-yoonJeong Hye-yoonJeong left a comment

Choose a reason for hiding this comment

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

πŸ–₯️ OS: Win
βœ… Checklist

  • Template: Tutorials follows the required template.
  • Table of Contents(TOC) Links: All Table of Contents links work.
  • 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.

@teddylee777 teddylee777 merged commit d967020 into LangChain-OpenTutorial:main Jan 11, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs tutorial
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants