{"id":26251514,"url":"https://github.com/chunshan-theta/schoolmentor","last_synced_at":"2026-05-18T11:07:12.906Z","repository":{"id":197362327,"uuid":"698502934","full_name":"Chunshan-Theta/SchoolMentor","owner":"Chunshan-Theta","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-13T23:48:37.000Z","size":370,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T08:15:35.427Z","etag":null,"topics":["faq","llm-apps","rag","rasa"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/Chunshan-Theta.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":"2023-09-30T05:30:04.000Z","updated_at":"2023-10-28T06:38:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea418bf7-e09e-4b74-9c89-a1818583a698","html_url":"https://github.com/Chunshan-Theta/SchoolMentor","commit_stats":null,"previous_names":["chunshan-theta/schoolmentor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chunshan-Theta/SchoolMentor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chunshan-Theta%2FSchoolMentor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chunshan-Theta%2FSchoolMentor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chunshan-Theta%2FSchoolMentor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chunshan-Theta%2FSchoolMentor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chunshan-Theta","download_url":"https://codeload.github.com/Chunshan-Theta/SchoolMentor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chunshan-Theta%2FSchoolMentor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33175906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["faq","llm-apps","rag","rasa"],"created_at":"2025-03-13T16:52:44.498Z","updated_at":"2026-05-18T11:07:12.866Z","avatar_url":"https://github.com/Chunshan-Theta.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RASA\nThis is a mentor bot that can help to solve the question, built with rasa framework and LLM. We design the bot with RAG strategy. when user ask a question in our scope. we will ask chatgpt with user's question and knowledge we perpared.\n\n\n## Demo Dataset\nNow we only use the first 3 topics to validate\n```\nKc-Ⅳ-3-1\t能知道磁鐵的發現科學史\nKc-Ⅳ-3-2\t磁鐵的兩極為N極和S極，磁極間的磁力是一種超距力\nKc-Ⅳ-3-3\t磁力線是假想線，可描述磁場的大小及方向\n# Kc-Ⅳ-3-4\t認識地球的磁場\n# Kc-Ⅳ-4-1\t厄斯特發現載有電流的導線會在其周圍建立磁場\n# Kc-Ⅳ-4-2\t能從實驗認識載有電流的長直導線周圍的磁場大小及方向\n# Kc-Ⅳ-4-3\t能從實驗認識載有電流的螺形線圈周圍的磁場大小及方向\n# Kc-Ⅳ-4-4\t安培定律：電流磁效應的強度與電流大小成正比，與距導線距離成反比\n# Kc-Ⅳ-4-5\t安培右手定則能說明電流磁效應的磁場方向\n# Kc-Ⅳ-4-6\t電流磁效應在生活中的應用_電磁鐵\n# Kc-Ⅳ-4-7\t電磁鐵在生活中的應用_電鈴、喇叭、傳統電話\n# Kc-Ⅳ-5-1\t以實驗認識載有電流的導線在磁場中會受力作用\n# Kc-Ⅳ-5-2\t能應用右手開掌定則舉例說明電流、磁場和受力方向\n# Kc-Ⅳ-5-3\t電流磁效應的應用_簡易馬達實驗\n# Kc-Ⅳ-5-4\t電流磁效應在生活中的應用_電動機的運作原理\n# Kc-Ⅳ-6-1\t能從實驗認識電磁感應的現象\n# Kc-Ⅳ-6-2\t法拉第定律:感應電流的大小和線圈中磁場變化速率成正比\n# Kc-Ⅳ-6-3\t能應用冷次定律推論感應流的方向\n# Kc-Ⅳ-6-4\t電磁感應的應用_發電機和變壓器\n```\n\n#### 單元對應的問題\n```\n- intent: faq/Kc-Ⅳ-3-1\n  examples: |\n    - 磁鐵的最早發現歷史可追溯至哪個時代或文明？\n    - 有哪些早期的文化或科學家在磁鐵的研究與應用方面有顯著的貢獻？\n    - 磁鐵的基本性質以及其在古代和現代的應用有哪些重要的科學發現？\n- intent: faq/Kc-Ⅳ-3-2\n  examples: |\n    - 為什麼磁鐵的兩極被稱為N極和S極？\n    - 什麼是磁極間的超距力，它是如何產生的？\n    - 在日常生活中，我們可以舉出哪些例子來展示磁力的作用？\n- intent: faq/Kc-Ⅳ-3-3\n  examples: |\n    - 磁力線如何協助我們理解磁場的特性？\n    - 在物理世界中，磁力線的概念對於哪些領域或應用具有重要意義？\n    - 請解釋磁力線的假想性質如何幫助科學家研究和應用磁場的知識。\n\n```\n\n\n# Service\n\n### Start Service\n- up service\n```\ndocker-compose up\n```\n\n### Cowork with bot\n- [Option 1] ask bot by cmd\n```\ncurl -o output.txt -X POST -H \"Content-Type: application/json; charset=UTF-8\" -d '{\"sender\": \"user-001\",\"message\": \"早安\"}'  http://127.0.0.1:5005/webhooks/rest/webhook \u0026\u0026 echo -e \"$(\u003coutput.txt)\"\ncurl -o output.txt -X POST -H \"Content-Type: application/json; charset=UTF-8\" -d '{\"sender\": \"user-001\",\"message\": \"昆蟲是甚麼?\"}'  http://127.0.0.1:5005/webhooks/rest/webhook \u0026\u0026 echo -e \"$(\u003coutput.txt)\"\ncurl -o output.txt -X POST -H \"Content-Type: application/json; charset=UTF-8\" -d '{\"sender\": \"user-001\",\"message\": \"是的\"}'  http://127.0.0.1:5005/webhooks/rest/webhook \u0026\u0026 echo -e \"$(\u003coutput.txt)\"\n```\n\n- [Option 2] by web\n\n```\nhttp://localhost:80/\n```\n\n# Testing\n- wth rasa tests\n```\ndocker-compose up test-model\n```\n\n\n\n----\n# Backup\n\n#### If you want to manually fintune\n```\ndocker run --rm -it -v \"actionsServer:/app\" --name rasa -p 5005:5005 -p 5006:5006 --entrypoint /bin/bash rasa/rasa:3.6.6-full\n```\n\nor\n```\ndocker run --rm -it -v \".actionsServer:/app\" --name rasa -p 5005:5005 -p 5006:5006 --entrypoint /bin/bash rasa/rasa:3.6.6-full\n```\n\nor\n```\ndocker exec -it rasa /bin/bash\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchunshan-theta%2Fschoolmentor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchunshan-theta%2Fschoolmentor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchunshan-theta%2Fschoolmentor/lists"}