{"id":32363430,"url":"https://github.com/liamokarca/currentevents-chatbot","last_synced_at":"2025-10-24T16:57:56.796Z","repository":{"id":319897769,"uuid":"1062285670","full_name":"LiamoKarca/CurrentEvents-Chatbot","owner":"LiamoKarca","description":"以 Prompt Engineering 建構新聞時事聊天機器人， 利用 OpenAI 的 File_search 與 Web_search 技術，在資訊爆炸的時代，協助大眾快速判斷新聞真偽，並提供持續對話的互動體驗。","archived":false,"fork":false,"pushed_at":"2025-10-20T18:58:20.000Z","size":43514,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-20T20:43:58.135Z","etag":null,"topics":["chatbot","fact-check","fastapi","news","openai-api","prompt-engineering","vue"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiamoKarca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T04:09:05.000Z","updated_at":"2025-10-20T19:03:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"70560404-7b76-41b6-a05c-8f482cf3155b","html_url":"https://github.com/LiamoKarca/CurrentEvents-Chatbot","commit_stats":null,"previous_names":["liamokarca/currentevents-chatbot"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/LiamoKarca/CurrentEvents-Chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamoKarca%2FCurrentEvents-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamoKarca%2FCurrentEvents-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamoKarca%2FCurrentEvents-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamoKarca%2FCurrentEvents-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiamoKarca","download_url":"https://codeload.github.com/LiamoKarca/CurrentEvents-Chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiamoKarca%2FCurrentEvents-Chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280833012,"owners_count":26398971,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chatbot","fact-check","fastapi","news","openai-api","prompt-engineering","vue"],"created_at":"2025-10-24T16:57:53.625Z","updated_at":"2025-10-24T16:57:56.789Z","avatar_url":"https://github.com/LiamoKarca.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CurrentEvents-Chatbot\n新聞時事聊天機器人，利用人工智慧與OpenAI RAG技術，在資訊爆炸的時代，協助大眾快速判斷新聞真偽，並提供持續對話的互動體驗。\n\n# 新聞知識庫準備\n```bash\npython backend/src/knowledge_base_operation/news_pipeline.py\n```\n\n# RAG Chatbot 快速啟動\n\n## 需求\n- Python 3.10+\n- 套件：`pip install fastapi uvicorn openai`\n- 環境變數：\n  - `OPENAI_API_KEY`：你的 OpenAI API Key\n  - `OPENAI_CHAT_MODEL`：預設`gpt-4o`\n  - `OPENAI_ASSISTANT_ID`：請至 OpenAI Platform 設置 Assistants，系統提示詞放在本專案`backend/src/app/prompts/system/bot.md`\n  - `MONGODB_URI`：你的 MongoDB URI\n\n## 後端啟動\n```bash\nuvicorn backend.src.app.main:app --reload --log-level debug\n```\n\n## 前端啟動\n```bash\ncd frontend\nyarn install\nyarn dev\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamokarca%2Fcurrentevents-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliamokarca%2Fcurrentevents-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamokarca%2Fcurrentevents-chatbot/lists"}