Get papers that haven't been pushed yet
(limit: int = 100)
| 785 | (arxiv_id, doi, title, authors, institution, abstract, venue, |
| 786 | publish_date, embedding, embedding_model) |
| 787 | VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) |
| 788 | """, ( |
| 789 | paper_data.get("arxiv_id"), |
| 790 | paper_data.get("doi"), |
| 791 | paper_data.get("title"), |
| 792 | json.dumps(paper_data.get("authors", [])), |
| 793 | paper_data.get("institution"), |
| 794 | paper_data.get("abstract"), |
| 795 | paper_data.get("venue"), |
| 796 | paper_data.get("publish_date"), |
| 797 | json.dumps(paper_data.get("embedding", [])) if paper_data.get("embedding") else None, |
| 798 | paper_data.get("embedding_model", "text-embedding-3-small") |
| 799 | )) |
| 800 | conn.commit() |
| 801 | paper_id = cursor.lastrowid |
nothing calls this directly
no test coverage detected