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

Skip to content

Conversation

architectyou
Copy link
Member

@architectyou architectyou commented Jan 8, 2025

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

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

@architectyou
Copy link
Member Author

첫번째 이미지 오타 수정 아직 반영되지 않았으나 기한 위해 pr 먼저 작성합니다! 참고하여 리뷰 부탁드립니다!
@sunworl, @Jae-hoya

Copy link
Contributor

@Jae-hoya Jae-hoya 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. (Yes)
  • 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, 한국어 기술 가능}

Comments
Reference의 LangChain WebLoader Tutorial을 클릭하면, 오류가 발생합니다.
bold체나 backtic 다음에는 띄어쓰기가 있어야 합니다.
pip command는 할떄는 ! 대신 %로 대체해주세요.
Reference 밑에 --- 코드를 추가해 주세요.

고생하셨습니다.

Copy link
Contributor

@sunworl sunworl left a comment

Choose a reason for hiding this comment

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

수고하셨습니다.

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)
  • 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, 한국어 기술 가능}

몇 가지 의견을 드렸습니다.

"id": "02147e1b",
"metadata": {},
"source": [
"If you practice in Naver-News URL, you can download and input the `teddynote/rag-prompt-korean` prompt from hub. In this case, the separate prompt writing process can be skipped.\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

teddynote는 가급적 사용하지 않고 진행해 달라고 공지가 있었어요.
prompt = hub.pull("teddynote/rag-prompt-korean") 는 빼시는게 어떨까 합니다.

@teddylee777 teddylee777 requested a review from BAEM1N January 9, 2025 13:44
@architectyou
Copy link
Member Author

@sunworl, @Jae-hoya 리뷰 감사드립니다! 말씀 주신 내용 수정 사항 반영하고 이미지명 수정하였습니다! 재리뷰 부탁드립니다..!😅

@sunworl 튜토리얼 내용은 forbes 문서 내용을 기준으로 가져와서 실습하는 방식으로 구성하였는데,
hub에서 프롬프트를 가져오는 방식까지 튜토리얼 내용안에 넣으려면 teddy/rag-prompt-korean 으로 되어 있어서 한국 페이지도 참조하면 좋을 것 같아 네이버 관련 튜토리얼은 코드가 아니라 마크다운 안에 적어두었고, 실습은 forbes 페이지 기준으로 동작합니다..! 해당 내용이 혹시 문제가 될 것 같다면 제거하는 방식으로 다시 수정해보겠습니다! 상세한 리뷰 감사드립니다!

(cc. @teddylee777)

@Jae-hoya
Copy link
Contributor

  1. peer review부분은 디자인팀에서 일괄적으로 작업한다고 하니, 비워주셔야 할것 같습니다!
  2. RAG Executution(Step 5 to 8)부분에서 이미지 바뀌신거 올려주셨습니다. 그것으로 수정해주시면 될 것 같습니다. (7. Model(LLM)부분이 바뀌었습니다.)) 디스코드에 기민님이 올려주셨습니다.
  3. Environment set에서 !를 %로 바꿔주셔야 합니다.
    image

고생하셨습니다!

@architectyou
Copy link
Member Author

architectyou commented Jan 10, 2025

@Jae-hoya 엇 수정 전 내용으로 확인해주신 것 같습니다..!

29c261f

요 내용으로 확인부탁드립니다..!

Jae-hoya
Jae-hoya previously approved these changes Jan 10, 2025
Copy link
Contributor

@Jae-hoya Jae-hoya left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@sunworl
Copy link
Contributor

sunworl commented Jan 10, 2025

한국적인것과 'teddynote'가 들어가는 것에 대해 배제를 말씀하셨던지라...
제가 드렸던 의견 중, 아래의 2가지는 @teddylee777 님 확인 후 결정하면 어떨까 싶습니다.

  1. Naver News pages which is the most popular news website in Korea 문구와 함께, 네이버가 예시로 들어간 것
  2. teddy/rag-prompt-korean 를 사용하는 예시

나중에 추가작업 발생을 예방하는 차원에서 확인하면 좋을듯합니다.
아직 @BAEM1N 님의 리뷰도 남아있어서...사전 확인이 도움되지 않을까 싶네요.

나머지 수정사항들은 확인했습니다. 너무 수고하셨습니다.

Copy link
Contributor

@BAEM1N BAEM1N 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: {Write freely, 한국어 기술 가능}
  • Steps 1 to 8까지의 텍스트와 이미지 내 텍스트의 내용을 통일하면 더 좋지 않을까 생각합니다.
  • WebBaseLoader 로더 사용 시 USER_AGENT 설정이 되어 있지 않아 경고가 출력되는 것으로 보이는데 set_env 단계에서 "USER_AGENT":"Mozilla/5.0 (compatible; langchain-opentutorial/1.0; +https://github.com/langChain-OpenTutorial/)" 이런 식의 추가가 있으면 좋을 거 같습니다.
    • USER_AGENT environment variable not set, consider setting it to identify your requests.
  • 제가 보기에는 hub.pull("teddynote/rag-prompt-korean") 부분은 langchain-teddynote 라이브러리의 사용을 제한하는 거라 관련이 없어 보이고 프롬프트를 받아오는 ID라서 사용해도 무방합니다만 콘텐츠가 글로벌 콘텐츠를 목표하니 지금처럼 안내 정도만 나가도 충분할 거 같습니다.
  • 이건 그냥 궁금증인데 파일명이 02-RAG-Basic-WebBaseLoader가 아니라 02-RAG-Basic-Weblodaer인 이유가 있을까요??

@sunworl sunworl self-requested a review January 11, 2025 01:38
sunworl
sunworl previously approved these changes Jan 11, 2025
BAEM1N
BAEM1N previously approved these changes Jan 11, 2025
@architectyou architectyou dismissed stale reviews from BAEM1N, sunworl, and Jae-hoya via a2de521 January 11, 2025 07:45
@architectyou
Copy link
Member Author

@BAEM1N 말씀주신 경고문 관련 문구 추가하였고, 이미지와 맞게 설명글 수정하였습니다!
파일명은 langchain-kr 레포 기준으로 파일명을 가져와서 Webloader로 작성하였습니다! 리뷰 감사합니다!

Copy link
Contributor

@Jae-hoya Jae-hoya left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

Copy link
Contributor

@sunworl sunworl 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 d5616d7 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