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

Skip to content

Conversation

suhyun0115
Copy link
Contributor

@suhyun0115 suhyun0115 commented Jan 12, 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

@suhyun0115 suhyun0115 requested a review from harheem January 12, 2025 11:53
@suhyun0115 suhyun0115 requested a review from Secludor January 13, 2025 13:27
@Secludor
Copy link
Contributor

Secludor commented Jan 16, 2025

๐Ÿ–ฅ๏ธ OS: Win
โœ… Checklist

  • Template: Tutorials follows the required template.
    • ### ํ—ค๋”๋Š” TOC์— ๋งํฌ๋ฅผ ๋‘์ง€ ์•Š๊ธฐ๋กœ ํ–ˆ๋˜ ๊ฒƒ ๊ฐ™์€๋ฐ ํ™•์ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.
    • ์ตœ์ƒ๋‹จ ์ œ๋ชฉ์ด 'Title' ๋กœ ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค!
    • References์˜ LangChain Tools Documentation ๋งํฌ๊ฐ€ ์ตœ์‹  ๋ฌธ์„œ๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค.
    • ํ•ด๋”์—์„œ๋Š” ๋ชจ๋“ˆ์„ ๋ฐฑ์ฟผํ†  ( ` ) ๋กœ ๊ฐ์‹ธ์ง€ ์•Š๋Š”๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.
    • Internet Search Tool - Tavily ์˜ ์ฃผ์„์ด ํ•œ๊ธ€๋กœ ๋‹ฌ๋ ค ์žˆ์Šต๋‹ˆ๋‹ค.
  • Table of Contents(TOC) Links: All Table of Contents links work. ((Yes/No)
  • Image: Image filenames follow guidelines.(N/A)
  • *Imports: All import statements use the latest versions. Ensure "langchain-teddynote" is not used.
    • DialogueAgent ์ฒซ ์ฝ”๋“œ ๋ธ”๋Ÿญ์—์„œ
      • from langchain.schema import AIMessage, .. -> from langchain_core.messages import AIMessage, ..
    • Document Search Tool Setup ์ฒซ ์ฝ”๋“œ ๋ธ”๋Ÿญ์—์„œ :
      • from langchain.document_loaders import TextLoader -> from langchain_community.document_loaders import TextLoader
      • (๋‹ค์Œ ๋ธ”๋Ÿญ) from langchain.tools.retriever import create_retriever_tool -> from langchain_core.tools.retriever import create_retriever_tool
  • Code Execution: Code runs without errors.
    • ๋ชจ๋“  ์…€์ด ์‹คํ–‰๋˜์ง€๋งŒ Topic Specification ์˜ ์ฝ”๋“œ ๋ธ”๋Ÿญ์—์„œ ๋‹ค์Œ์˜ ๋ฉ”์„ธ์ง€๊ฐ€ ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค.
      • LangChainDeprecationWarning: The method BaseChatModel.call was deprecated in langchain-core 0.1.7 and will be removed in 1.0. Use :meth:~invoke instead.
  • Comments: {Write freely, ํ•œ๊ตญ์–ด ๊ธฐ์ˆ  ๊ฐ€๋Šฅ}

@suhyun0115
Copy link
Contributor Author

@Secludor ํ—‰ ๋†“์นœ๊ฒŒ ๋งŽ๋„ค์š”ใ… ใ… ์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค!! ๋‹ค์‹œ ํ•œ๋ฒˆ๋งŒ ๋ฆฌ๋ทฐ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค!๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค

- re-apply back quote
- update import statements
@Secludor
Copy link
Contributor

Secludor commented Jan 16, 2025

๐Ÿ–ฅ๏ธ OS: Win
โœ… Checklist

  • Template: Tutorials follows the required template.
    • ํ—ค๋”์— ๋ชจ๋“ˆ, ํด๋ž˜์Šค๊ฐ€ ํฌํ•จ๋œ ๊ฒฝ์šฐ ๋ฐฑ์ฟผํ† ๋กœ ๊ฐ์‹ธ๋Š” ๊ฒƒ์œผ๋กœ ๋‹ค์‹œ ํ•ฉ์˜๊ฐ€ ๋œ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค..! ๋ฒˆ๊ฑฐ๋กญ๊ฒŒ ํ•ด๋“œ๋ ธ๋„ค์š” ;ใ…‚;
    • ํ˜น์‹œ Two Agent Debate with Tools๋ฅผ ํƒ€์ดํ‹€๊ณผ ํŒŒ์ผ๋ช…์—์„œ ์นด๋ฉœ ์ผ€์ด์Šค๋กœ ํ•˜์‹  ์ด์œ ๊ฐ€ ์žˆ๋‚˜์š”?
  • Table of Contents(TOC) Links: All Table of Contents links work. ((Yes/No)
  • Image: Image filenames follow guidelines.(N/A)
  • *Imports: All import statements use the latest versions. Ensure "langchain-teddynote" is not used.
    ~~- DialogueAgent ์ฒซ ์ฝ”๋“œ ๋ธ”๋Ÿญ์—์„œ
    • from langchain.schema import AIMessage, .. -> from langchain_core.messages import AIMessage, ..~~
      ~~- Document Search Tool Setup ์ฒซ ์ฝ”๋“œ ๋ธ”๋Ÿญ์—์„œ :
    • from langchain.document_loaders import TextLoader -> from langchain_community.document_loaders import TextLoader
    • (๋‹ค์Œ ๋ธ”๋Ÿญ) from langchain.tools.retriever import create_retriever_tool -> from langchain_core.tools.retriever import create_retriever_tool~~
  • Code Execution: Code runs without errors.
  • Comments: {Write freely, ํ•œ๊ตญ์–ด ๊ธฐ์ˆ  ๊ฐ€๋Šฅ}
    • ์ œ๊ฐ€ ๋ฐœ๊ฒฌํ•œ ๋ถ€๋ถ„๋“ค์— ๋Œ€ํ•ด import ์ตœ์‹ ํ™”, ๋ฐฑ์ฟผํ†  ์žฌ์ ์šฉ ์™„๋ฃŒํ–ˆ์Šต๋‹ˆ๋‹ค!
    • ๊ธด ๋ถ„๋Ÿ‰ ๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค :)

Copy link
Contributor

@harheem harheem 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/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: ์ƒ์„ธํ•˜๊ณ  ์ข‹์€ ํŠœํ† ๋ฆฌ์–ผ์ธ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค! ๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค :)

@teddylee777 teddylee777 merged commit deb832b into LangChain-OpenTutorial:main Jan 18, 2025
3 of 4 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.

4 participants