{"id":17717139,"url":"https://github.com/git-khandelwal/paper-creator","last_synced_at":"2026-04-16T18:08:26.255Z","repository":{"id":258774437,"uuid":"874887265","full_name":"git-khandelwal/paper-creator","owner":"git-khandelwal","description":"Sample Paper Creator Using LangChain and Gemini","archived":false,"fork":false,"pushed_at":"2024-10-20T19:09:25.000Z","size":891,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-21T23:14:37.625Z","etag":null,"topics":["fastapi","gemini","langchain"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/git-khandelwal.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-18T16:37:12.000Z","updated_at":"2024-10-20T19:10:55.000Z","dependencies_parsed_at":"2024-10-25T22:41:24.333Z","dependency_job_id":null,"html_url":"https://github.com/git-khandelwal/paper-creator","commit_stats":null,"previous_names":["git-khandelwal/paper-creator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/git-khandelwal/paper-creator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-khandelwal%2Fpaper-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-khandelwal%2Fpaper-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-khandelwal%2Fpaper-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-khandelwal%2Fpaper-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/git-khandelwal","download_url":"https://codeload.github.com/git-khandelwal/paper-creator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-khandelwal%2Fpaper-creator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259712410,"owners_count":22900038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastapi","gemini","langchain"],"created_at":"2024-10-25T14:11:41.283Z","updated_at":"2026-04-16T18:08:21.200Z","avatar_url":"https://github.com/git-khandelwal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This application is used to create a sample paper API using FastAPI, with the following requests:\n\n1. GET /: Returns the JSON string \"Welcome to PDF Extractor\"\n2. GET /papers/{paper_id}: To get the paper using paper_id either from Redis cache or directly from database.\n3. POST /papers: Creates a paper using the provided data and returns a paper_id.\n4. PUT /papers/{paper_id}: To edit the contents of paper, either fully or partially, provided the structure is valid.\n5. DELETE /papers/{paper_id}: To delete the paper_id from MongoDB database.\n6. POST /extract/pdf: To extract the contents of a test paper and then return the data in the pre-defined structure using LangChain for prompt engineering and Gemini as the LLM for prompting.\n\nTo run the application on localhost, follow these steps:\n1. Clone the git repository and then go to the git location.\n   ```bash\n   git clone https://github.com/git-khandelwal/paper-creator\n   cd paper-creator\n2. Install dependencies: \n   ```bash\n   pip install -r requirements.txt\n3. Install MongoDB from https://www.mongodb.com/try/download/community and make sure the mongodb server is running on default port.\n4. Install Redis from https://github.com/microsoftarchive/redis/releases and make sure the redis server is running on default port.\n5. Run server:\n   ```bash\n   uvicorn main:app --reload\n6. Get your Gemini API Key from https://ai.google.dev/gemini-api/docs/api-key and enter in the terminal when prompted.\n7. Go to 127.0.0.1:8000/docs to perform the requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-khandelwal%2Fpaper-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgit-khandelwal%2Fpaper-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-khandelwal%2Fpaper-creator/lists"}