-
Notifications
You must be signed in to change notification settings - Fork 282
[E-1] 10-Retriever / 03-EnsembleRetriever #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"[Review]
- Review OS:Windows
- Template Rule 가이드를 준수 하였는가:YES
- Table of Contents 의 링크가 원활하게 동작하는지 확인하였는가?:YES
- 이미지가 포함되어 있다면, 이미지의 파일명이 가이드를 준수하였는가?:YES
- import 구문이 예전 legacy 방식이 아닌 최신 버전을 따르는가?(YES/NO):YES
- 모든 코드가 동작에 오류 없이 동작하는가? (만약, warning 발생시 코멘트에 적어주세요): NO
bm25 설치가 안돼, 앙상블 리트리버 코드 실행 에러
- 꼭 필요한 파일들만 제출 되었는가? 튜토리얼 외 설정 파일이나 다른 분이 작업한 파일이 포함되었는지
Files Changed 에서 확인 부탁 드립니다.:YES
"package.install(\n", | ||
" [\n", | ||
" \"langchain_core\", # Core functionality of LangChain\n", | ||
" \"langchain_community\", # Community-supported integrations\n", | ||
" \"langchain_openai\", # OpenAI integration for embeddings and models\n", | ||
" ],\n", | ||
" verbose=False, # Suppress detailed installation logs\n", | ||
" upgrade=False, # Do not upgrade packages if already installed\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
패키지 인스톨 부분에서
ImportError: Could not import rank_bm25, please install with pip install rank_bm25
.
bm25가 명시가 안돼있어,, 실행이 안됩니다..!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네 다시 넣어서 해보겠습니다
There was a problem hiding this 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 / Mac / Linux (Mac)
-
Template Rule 준수 여부:
- Template Rule 가이드를 준수하였는가? (Check 표기)
-
Table of Contents 링크 확인:
- Table of Contents의 링크가 원활하게 동작하는지 확인하였는가? (Check 표기)
-
이미지 파일명 검토:
- 이미지가 포함되어 있다면, 이미지의 파일명이 가이드를 준수하였는가? (Check 표기)
-
최신 import 방식 사용 여부:
- import 구문이 예전 legacy 방식이 아닌 최신 버전을 따르는가? (Check 표기)
-
[] 코드 동작 확인:
- 모든 코드가 오류 없이 동작하는가? (Check 표기)
- Warning 발생 시 코멘트에 적어주세요.
- pip install rank_bm25 설치하라는 문구가 나옵니다.
- package.install에 추가해줘야할 것같아요. pyproject.toml 파일에 rank_bm25 가 없는 것같은데요. 추가 요청해야하는지 확인해보시면 좋을 것같아요.
-
제출 파일 확인:
- 꼭 필요한 파일들만 제출되었는가?
- 튜토리얼 외 설정 파일이나 다른 분이 작업한 파일이 포함되었는지 Files Changed에서 확인 부탁드립니다. (Check 표기)
- 꼭 필요한 파일들만 제출되었는가?
-
기타 의견:
추가적인 의견이나 수정 사항을 기재해주세요.
@3DKIDS 님! 안녕하세요 bm25는 수정이 잘 됐는데, 이후로 또 이런 에러가 발생합니다. 어떤 에러인지 아실까요? |
APIConnectionError: Connection error. API 커넥션 에러로 보입니다.. 음 API |
set_env 함수에 여기에 직접 키를 넣으니까 동작합니다. 다만, .env에 올바른 키를 입력했음에도 불구하고 돌아가지 않는 부분을 해결해주시면 좋을 것 같습니다..!! |
@jeongkpa 위 이슈 저도 개발하면서 동일하게 발생했었는데요. 디스코드 공지사항에도 이미 공유가 된 이슈인 것같더라고요. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@3DKIDS 수고 많으셨습니다! 정말!! 감사합니다 :) |
{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)
If no one reviews your PR within a few days, please @-mention one of teddylee777, musangk, BAEM1N