WIP - Use Google Bard, Improving chatgpt3.5
This commit is contained in:
@@ -155,7 +155,7 @@ def blog_postprocessing(arxiv_id, research_review):
|
||||
raise err
|
||||
|
||||
try:
|
||||
blog_title, blog_meta_desc, blog_tags, blog_categories = blog_metadata(research_review, "gemini")
|
||||
blog_title, blog_meta_desc, blog_tags, blog_categories = blog_metadata(research_review)
|
||||
except Exception as err:
|
||||
logger.error(f"Failed to get blog metadata: {err}")
|
||||
raise err
|
||||
|
||||
@@ -11,7 +11,7 @@ logger.add(sys.stdout,
|
||||
)
|
||||
|
||||
|
||||
def write_blog_from_paper(paper_content, gpt_providers="openai"):
|
||||
def write_blog_from_paper(paper_content):
|
||||
""" Write blog from given paper url. """
|
||||
prompt = f"""As an expert in NLP and AI, I will provide you with a content of a research paper.
|
||||
Your task is to write a highly detailed blog(at least 2000 words), breaking down complex concepts for beginners.
|
||||
|
||||
@@ -12,7 +12,7 @@ logger.add(sys.stdout,
|
||||
)
|
||||
|
||||
|
||||
def review_research_paper(research_blog, gpt_providers="openai"):
|
||||
def review_research_paper(research_blog):
|
||||
""" """
|
||||
prompt = f"""As world's top researcher and academician, I will provide you with research paper.
|
||||
Your task is to write a highly detailed review report.
|
||||
|
||||
Reference in New Issue
Block a user