-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
DOC: Import Error while creating SelfQueryRetriever #12631
Comments
🤖 Hello @beinghasnain16, I'm here to assist you with your issue. I'm an AI developed to help with bugs, answer questions, and guide you in contributing to projects. I understand you're having an import error when using the I agree that specifying the required version of dependencies in the documentation can help avoid such issues. However, I couldn't find any specific information about this import error in the LangChain repository. It would be helpful if you could provide more details about the error message you're encountering. In the meantime, if you've found that using lark version 1.1.5 resolves the issue, it's a good idea to stick with that version. You can install it using the command you've provided: pip install lark==1.1.5 I hope this helps! If you have any more questions or need further clarification, feel free to ask. Best, SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Hi, @beinghasnain16, I'm helping the LangChain team manage their backlog and am marking this issue as stale. From what I understand, you raised an issue regarding an import error when using the Could you please confirm if this issue is still relevant to the latest version of the LangChain repository? If it is, please let the LangChain team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or the issue will be automatically closed in 7 days. Thank you for your understanding and contribution to the LangChain framework! If you have any further questions or concerns, feel free to reach out. |
@dosu I'm having the same issue. Is there another issue in this repository that relates to this one? Or could tag a maintainer to bring this to their attention? Thank you. |
Issue with current documentation:
Import Error while creating SelfQueryRetriever
retriever = SelfQueryRetriever.from_llm( llm, vectordb, document_content_description, metadata_field_info, verbose=True)
The documentation mentions it requires lark but doesn't explicitly mention its version. I am getting an import error.
![image](https://private-user-images.githubusercontent.com/55703712/279385405-8380cd66-5e1f-4c91-8384-7649ca802be0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwMjYzNTksIm5iZiI6MTcyNTAyNjA1OSwicGF0aCI6Ii81NTcwMzcxMi8yNzkzODU0MDUtODM4MGNkNjYtNWUxZi00YzkxLTgzODQtNzY0OWNhODAyYmUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMwVDEzNTQxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhYzQ3Y2YzMjFmNjFkNjlkOTk3ZWRiMzc3YzRjMWY2ZGMyZTZmMTZjYzM5MDYzYjBhNDFmNzFmYjA1ODgxZjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.MFdd72GP69u-l6aQ5-AfWDNbZYyrqBiRyVD7IadQXzc)
Idea or request for content:
The documentation should mention specifically that lark version greater then 1.1.5 is required.
pip install lark==1.1.5
But this also didn't solve the issue.
The text was updated successfully, but these errors were encountered: