(
result: Dict[str, Any],
*,
user_id: str,
session_id: str,
question: str,
persist_chat: bool,
)
| 4572 | "body": "\n".join(part for part in body_parts if part), |
| 4573 | "keywords": " ".join([title, category or "", " ".join(subjects), "recent trend daily push"]).strip(), |
| 4574 | "file_path": "", |
| 4575 | "metadata": { |
| 4576 | "paper_id": paper.get("id"), |
| 4577 | "arxiv_id": arxiv_id, |
| 4578 | "doi": paper.get("doi"), |
| 4579 | "authors": authors, |
| 4580 | "subjects": subjects, |
| 4581 | "url": paper.get("url") or paper.get("abs_url") or "", |
| 4582 | "pdf_url": paper.get("pdf_url") or "", |
| 4583 | "push_id": push_id, |
| 4584 | "rank": rank, |
| 4585 | "score": score, |
| 4586 | "category": category, |
| 4587 | "source": "recent_daily_push", |
| 4588 | }, |
| 4589 | "score": _to_float(score, 1.0), |
no test coverage detected