Skip to content
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

程序卡在Searching for papers related to query #12

Open
TestF15 opened this issue Jan 16, 2025 · 2 comments
Open

程序卡在Searching for papers related to query #12

TestF15 opened this issue Jan 16, 2025 · 2 comments

Comments

@TestF15
Copy link

TestF15 commented Jan 16, 2025

在运行脚本时,我发现它在执行几轮搜索后,会停在“Searching for papers related to query”不动。文件夹中已经生成了 search_queries.json ,deep_papers 文件夹包含了前几轮搜索下载的 PDF 文件。这似乎与问题 #6 描述的情况相似。我尝试更换了几个主题,但每次都会遇到相同的卡住问题。此外我还使用了代理,但问题依然存在。请问有什么解决方法吗?谢谢!

@jianghuyihei
Copy link
Collaborator

在运行脚本时,我发现它在执行几轮搜索后,会停在“Searching for papers related to query”不动。文件夹中已经生成了 search_queries.json ,deep_papers 文件夹包含了前几轮搜索下载的 PDF 文件。这似乎与问题 #6 描述的情况相似。我尝试更换了几个主题,但每次都会遇到相同的卡住问题。此外我还使用了代理,但问题依然存在。请问有什么解决方法吗?谢谢!

如果你弹出 print(f"failed to generate idea {topic}") ,那就主要就是因为这个LLM抽出来的关键词在sementic scholar里没有搜索出相关的文章,这个目前没有什么办法。

否则就应该是搜索出的相关文章在下载,但是因为网络问题下载的很慢(这个最有可能,因为他会下载国外的文献,一些网站可能进不去)。你可以设置searcher.sementic_search里的timeout,把他设置小一点,下载不了就不下了。

@TestF15
Copy link
Author

TestF15 commented Jan 23, 2025

感谢之前的指导。在搜索时卡住的问题已经解决。

但是,仍然总是收到“failed to generate idea {topic}”的错误提示,即使使用Online Demo中提供的Example主题,也会出现这个问题。

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

No branches or pull requests

2 participants