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

Skip to content

Conversation

sirena1
Copy link
Contributor

@sirena1 sirena1 commented Jan 8, 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
✅ 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

Copy link
Contributor

@choincnp choincnp left a comment

Choose a reason for hiding this comment

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

🖥️ 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. Reference link 수정 : 다음과 같은 형태로 되어 있어야 할 것 같습니다.retriever
  2. The original documents loaded from the data are stored in the docs variable. 에서 docs에 backtick 추가 필요
    이정도만 더 추가해주시면 될 것 같습니다!
    Review쪽에서 할 업무는 아닌 것 같아 일단 approve로 하겠습니다

@choincnp choincnp self-requested a review January 8, 2025 12:06
choincnp
choincnp previously approved these changes Jan 8, 2025
Copy link
Contributor

@jeong-wooseok jeong-wooseok 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:

    • Windows
  • Template Rule 준수 여부:

    • Template Rule 가이드를 준수하였는가?
  • Table of Contents 링크 확인:

    • Table of Contents의 링크가 원활하게 동작하는지 확인하였는가? (Check 표기)
  • 이미지 파일명 검토:

    • 이미지가 포함되어 있다면, 이미지의 파일명이 가이드를 준수하였는가? (Check 표기)
  • 최신 import 방식 사용 여부:

    • import 구문이 예전 legacy 방식이 아닌 최신 버전을 따르는가? (Check 표기)
  • 코드 동작 확인:

    • 모든 코드가 오류 없이 동작하는가? (Check 표기)
    • Warning 발생 시 코멘트에 적어주세요.
      인프라의 문제인지 pymupdf 가 설치가 안되어서 작동안했습니다. 다음과 같이 코드를 바꾸니 잘 돌아가네요

Install required packages

from langchain_opentutorial import package

package.install(
[
"langchain_community",
"langchain",
"langchain_chroma",
"langchain_openai",
"langchain_core",
"langchain_text_splitters",
"pymupdf"
],
verbose=False,
upgrade=False,
)

from dotenv import load_dotenv

load_dotenv(override=True)

글로벌 후에 로컬환경을 구성했습니다.

Set environment variables

from langchain_opentutorial import set_env

set_env(
{
"LANGCHAIN_TRACING_V2": "true",
"LANGCHAIN_ENDPOINT": "https://api.smith.langchain.com",
"LANGCHAIN_PROJECT": "07-MultiVectorRetriever",
}
)

  • 제출 파일 확인:

    • 꼭 필요한 파일들만 제출되었는가?
      • 튜토리얼 외 설정 파일이나 다른 분이 작업한 파일이 포함되었는지 Files Changed에서 확인 부탁드립니다. (Check 표기)
  • 기타 의견:
    특이사항 없이 잘 돌아갑니다. 다만 메

@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.
  • 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. Chunk + Original Document Retrieval 파트 안의 마크다운 셀 중에
    Defining parent_text_splitter for Larger Chunks and child_text_splitter for Smaller Chunks
    Here, we define parent_text_splitter for splitting into larger chunks and child_text_splitter for splitting into smaller chunks.
    이 있는데 중복되는 것 같아서 코멘트 남깁니다. 혹시 소제목을 의도하신 것이었을까요?
  2. 템플릿 준수사항에 대한 부분은 영준님이 코멘트하신 것 외에는 없는 듯 합니다! :)
    고생 많으셨습니다!

@sirena1 sirena1 self-assigned this Jan 9, 2025
[fix] Completed updates in response to reviews received
@sirena1
Copy link
Contributor Author

sirena1 commented Jan 9, 2025

🖥️ 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.
  • Comments:
  1. Chunk + Original Document Retrieval 파트 안의 마크다운 셀 중에
    Defining parent_text_splitter for Larger Chunks and child_text_splitter for Smaller Chunks
    Here, we define parent_text_splitter for splitting into larger chunks and child_text_splitter for splitting into smaller chunks.
    이 있는데 중복되는 것 같아서 코멘트 남깁니다. 혹시 소제목을 의도하신 것이었을까요?
  2. 템플릿 준수사항에 대한 부분은 영준님이 코멘트하신 것 외에는 없는 듯 합니다! :)
    고생 많으셨습니다!

꼼꼼히 봐주셔서 감사합니다! 해당 내용 수정해서 반영했습니다. 확인부탁드립니다.

@sirena1
Copy link
Contributor Author

sirena1 commented Jan 9, 2025

[Review Checklist]

  • Review OS:

    • Windows
  • Template Rule 준수 여부:

    • Template Rule 가이드를 준수하였는가?
  • Table of Contents 링크 확인:

    • Table of Contents의 링크가 원활하게 동작하는지 확인하였는가? (Check 표기)
  • 이미지 파일명 검토:

    • 이미지가 포함되어 있다면, 이미지의 파일명이 가이드를 준수하였는가? (Check 표기)
  • 최신 import 방식 사용 여부:

    • import 구문이 예전 legacy 방식이 아닌 최신 버전을 따르는가? (Check 표기)
  • 코드 동작 확인:

    • 모든 코드가 오류 없이 동작하는가? (Check 표기)
    • Warning 발생 시 코멘트에 적어주세요.
      인프라의 문제인지 pymupdf 가 설치가 안되어서 작동안했습니다. 다음과 같이 코드를 바꾸니 잘 돌아가네요

Install required packages

from langchain_opentutorial import package

package.install( [ "langchain_community", "langchain", "langchain_chroma", "langchain_openai", "langchain_core", "langchain_text_splitters", "pymupdf" ], verbose=False, upgrade=False, )

from dotenv import load_dotenv

load_dotenv(override=True)

글로벌 후에 로컬환경을 구성했습니다.

Set environment variables

from langchain_opentutorial import set_env

set_env( { "LANGCHAIN_TRACING_V2": "true", "LANGCHAIN_ENDPOINT": "https://api.smith.langchain.com", "LANGCHAIN_PROJECT": "07-MultiVectorRetriever", } )

  • 제출 파일 확인:

    • 꼭 필요한 파일들만 제출되었는가?

      • 튜토리얼 외 설정 파일이나 다른 분이 작업한 파일이 포함되었는지 Files Changed에서 확인 부탁드립니다. (Check 표기)
  • 기타 의견:
    특이사항 없이 잘 돌아갑니다. 다만 메

코랩에서 돌려보니 에러가 나더라구요! 말씀해주신대로 pip install에 pymupdf 추가해서 커밋했습니다. 확인부탁드립니다.

@sirena1
Copy link
Contributor Author

sirena1 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. Reference link 수정 : 다음과 같은 형태로 되어 있어야 할 것 같습니다.retriever
  2. The original documents loaded from the data are stored in the docs variable. 에서 docs에 backtick 추가 필요
    이정도만 더 추가해주시면 될 것 같습니다!
    Review쪽에서 할 업무는 아닌 것 같아 일단 approve로 하겠습니다

꼼꼼히 봐주셔서 감사합니다. 말씀해주신 부분 개선하여 반영해두었습니다.

Hye-yoonJeong
Hye-yoonJeong previously approved these changes Jan 9, 2025
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.

  • 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.

Copy link
Contributor

@choincnp choincnp left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

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

Successfully merging this pull request may close these issues.

5 participants