Closed lida0407 closed 7 months ago
I also got this error with live demo.
Hi @lida0407 @Coding4fun2012 thank you for your interest in our live demo. This issue occurs as the search API has exceeded its maximum limit due to an unprecedented level of demand. We're actively reaching out to our third-party provider to resolve this issue. Please stay tuned for updates!
Hi @lida0407 @Coding4fun2012 thank you for your interest in our live demo. This issue occurs as the search API has exceeded its maximum limit due to an unprecedented level of demand. We're actively reaching out to our third-party provider to resolve this issue. Please stay tuned for updates!
Looking forward to your update, even product, happy to be your customer even partner.
File "/home/yijia/.conda/envs/storm/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script exec(code, module.dict) File "/data1/yijia/yuchengj/knowledge_curation/frontend/demo/storm.py", line 236, in
main()
File "/data1/yijia/yuchengj/knowledge_curation/frontend/demo/storm.py", line 233, in main
CreateNewArticle.create_new_article_page()
File "/data1/yijia/yuchengj/knowledge_curation/frontend/demo/pages_util/CreateNewArticle.py", line 122, in create_new_article_page
st.session_state["runner"].run(topic=st.session_state["page3_topic"], do_research=False,
File "/data1/yijia/yuchengj/knowledge_curation/src/storm_wiki/engine.py", line 203, in run
draft_article = self.run_article_generation_module(outline=outline,
File "/data1/yijia/yuchengj/knowledge_curation/src/storm_wiki/engine.py", line 29, in wrapper
result = func(*args, kwargs)
File "/data1/yijia/yuchengj/knowledge_curation/src/storm_wiki/engine.py", line 119, in run_article_generation_module
draft_article = storm_article_generation.generate_article(callback_handler=callback_handler)
File "/data1/yijia/yuchengj/knowledge_curation/src/storm_wiki/modules/article_generation.py", line 83, in generate_article
section_output_dict_collection.append(future.result())
File "/home/yijia/.conda/envs/storm/lib/python3.9/concurrent/futures/_base.py", line 439, in result
return self.get_result()
File "/home/yijia/.conda/envs/storm/lib/python3.9/concurrent/futures/_base.py", line 391, in get_result
raise self._exception
File "/home/yijia/.conda/envs/storm/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, *self.kwargs)
File "/data1/yijia/yuchengj/knowledge_curation/src/storm_wiki/modules/article_generation.py", line 36, in generate_section
collected_info = self.information_table.retrieve_information(queries=section_query,
File "/data1/yijia/yuchengj/knowledge_curation/src/storm_wiki/modules/dataclass.py", line 166, in retrieve_information
sim = cosine_similarity([encoded_query], self.encoded_snippets)[0]
File "/home/yijia/.conda/envs/storm/lib/python3.9/site-packages/sklearn/utils/_param_validation.py", line 213, in wrapper
return func(args, kwargs)
File "/home/yijia/.conda/envs/storm/lib/python3.9/site-packages/sklearn/metrics/pairwise.py", line 1657, in cosine_similarity
X, Y = check_pairwise_arrays(X, Y)
File "/home/yijia/.conda/envs/storm/lib/python3.9/site-packages/sklearn/metrics/pairwise.py", line 172, in check_pairwise_arrays
Y = check_array(
File "/home/yijia/.conda/envs/storm/lib/python3.9/site-packages/sklearn/utils/validation.py", line 1035, in check_array
raise ValueError(msg)