{"id":23293320,"url":"https://github.com/theprojectsx/up-to-date_questionanswer","last_synced_at":"2025-04-06T18:47:06.620Z","repository":{"id":230616948,"uuid":"779799471","full_name":"TheProjectsX/Up-To-Date_QuestionAnswer","owner":"TheProjectsX","description":"Get Updated Answer of Your Questions!","archived":false,"fork":false,"pushed_at":"2024-03-30T20:56:19.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T00:45:40.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TheProjectsX.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}},"created_at":"2024-03-30T20:29:24.000Z","updated_at":"2024-03-30T20:31:59.000Z","dependencies_parsed_at":"2024-03-30T21:49:01.109Z","dependency_job_id":null,"html_url":"https://github.com/TheProjectsX/Up-To-Date_QuestionAnswer","commit_stats":null,"previous_names":["theprojectsx/up-to-date_questionanswer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheProjectsX%2FUp-To-Date_QuestionAnswer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheProjectsX%2FUp-To-Date_QuestionAnswer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheProjectsX%2FUp-To-Date_QuestionAnswer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheProjectsX%2FUp-To-Date_QuestionAnswer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheProjectsX","download_url":"https://codeload.github.com/TheProjectsX/Up-To-Date_QuestionAnswer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247535340,"owners_count":20954573,"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":[],"created_at":"2024-12-20T06:14:52.088Z","updated_at":"2025-04-06T18:47:06.599Z","avatar_url":"https://github.com/TheProjectsX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Up-To-Date Question Answer\n\nGet updated Answer of Your Questions!\n\n### Features:\n\n- Answer via Up to date Data\n\n### Use Case:\n\n- Main File Created as a Package / Library which can be used By Importing\n- Root's `main.py` file contains Stremlit Example\n\n### Workflow:\n\n- For Direct Google Search\n\n  - Uses [ArticleParser](https://github.com/TheProjectsX/ArticleParser) to Parse Articles from WEB according to Given Question\n  - Uses Serverless Hugging Face Model API to get the Answer\n  - Uses another Model to Format the Answer to Formal Version\n  - Requires Hugging Face API Key\n\n- Using Serper API\n  - Uses [Serper](https://serper.dev/) API to parse Search Results\n  - Sometimes Serper API gives Answer in the Response. In those cases We Directly use Answer from the Serper API Response\n  - Ans if Answer is not Provided, we again use `ArticleParser` to parse the Articles, then use Hugging Face Model to get the Answer.\n  - Lastly Uses another Model to Format the Answer to Formal Version\n  - Requires Hugging Face and Serper API Keys\n\n### Why using Double models?\n\nThe first Idea was to use a Model locally, not via using API. But I did used it in the last.\nThe QnA model is small, can be used locally if wanted (will update code to do that too!). But the Formal Answer converter uses a Large model, which is Just an Optional approach. We can run it without the Large model too, that's why...\n\n### Limitations:\n\n- Direct Google Search\n\n  - Right now, the Direct Google search version gives false information sometimes.\n  - But increasing the Number of Search Results most of the times gives Right Answer.\n  - This process is Time Consuming\n\n- Serper API\n\n  - Up to now, no disadvantages found except it Needs API Key\n\n- Can only answer as QnA (Under one line answer). Can't answer correctly for the Questions which needs Explanations...\n\n### Motivation for this Project:\n\nNothing... Just felt like to create it, so Did!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheprojectsx%2Fup-to-date_questionanswer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheprojectsx%2Fup-to-date_questionanswer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheprojectsx%2Fup-to-date_questionanswer/lists"}