{"id":23524157,"url":"https://github.com/kimtth/mini-copilot","last_synced_at":"2025-04-19T22:52:12.365Z","repository":{"id":202579392,"uuid":"707516245","full_name":"kimtth/mini-copilot","owner":"kimtth","description":"🧮A Domain-Specific Language (DSL) Approach for Triggering Commands.  📎Generating DSL scripts using LLM and user queries to execute office API.","archived":false,"fork":false,"pushed_at":"2024-05-16T07:29:15.000Z","size":196,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T13:51:13.251Z","etag":null,"topics":["agent","azure-openai","chatbot","chatgpt","copilot","domain-specific-language","dsl","m365","office365","openai","outlook"],"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/kimtth.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":"2023-10-20T04:27:42.000Z","updated_at":"2025-02-26T17:40:10.000Z","dependencies_parsed_at":"2024-01-17T07:59:39.854Z","dependency_job_id":"8cc6525a-936f-4dda-8bfb-d03478e32c4c","html_url":"https://github.com/kimtth/mini-copilot","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"04c53d0b3ec42946b89f63ce091a0c5d83a4cd2e"},"previous_names":["kimtth/mini-office-copilot","kimtth/mini-copilot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimtth%2Fmini-copilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimtth%2Fmini-copilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimtth%2Fmini-copilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimtth%2Fmini-copilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kimtth","download_url":"https://codeload.github.com/kimtth/mini-copilot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249824440,"owners_count":21330321,"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":["agent","azure-openai","chatbot","chatgpt","copilot","domain-specific-language","dsl","m365","office365","openai","outlook"],"created_at":"2024-12-25T18:14:45.190Z","updated_at":"2025-04-19T22:52:12.330Z","avatar_url":"https://github.com/kimtth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Mini Office-Copilot\n\nThe term ‘Copilot’ is used in the context of a LLM based Question and Answering system, or an Agent-driven automated application. This demo application aims to implement a Domain Specific Language (DSL) approach for triggering commands. A DSL serves as an intermediary script, interpreting user input into actual system commands or API calls.\n\n```mermaid\nsequenceDiagram\n    User-\u003e\u003eBackend: Request\n    Backend-\u003e\u003eOpenAI: Generate ODSL\n    activate OpenAI\n    OpenAI--\u003e\u003eBackend: ODSL\n    deactivate OpenAI\n    Backend-\u003e\u003eBackend: ODSL formatting\n    Backend-\u003e\u003eODSL Interpreter: Interpret ODSL\n    activate ODSL Interpreter\n    ODSL Interpreter--\u003e\u003eODSL Interpreter: Invoke Office API \n    deactivate ODSL Interpreter\n    ODSL Interpreter--\u003e\u003eBackend: Response\n    Backend--\u003e\u003eUser: Response\n```\n\n## Supporting commands\n\n1. Add Outlook schedule\n1. Update Outlook schedule \n1. Delete Outlook schedule\n1. List up Outlook schedule\n\n## App registrations for Office API\n\nMicrosoft \u003e Entra \u003e App registrations \u003e API Permissons\n\n- office_client.py\n    - Calendars.ReadWrite : Delegated\n    - User.Read : Delegated\n\n- office_client_v2.py\n    - Calendars.ReadWrite : Application\n    - User.ReadAll : Application\n\n## Launch the server\n\n```bash\nstreamlit run app.py\n```\n\n## Usage\n\n- When you want to remove or update a specific schedule, first, you need to execute a schedule list command.\n- Next, send a message with the corresponding schedule number to be modified. The number will be replaced by the schedule ID. Based on this ID, the modification will be carried out. `e.g., I want to delete schedule id 0.`\n\n## Screenshots\n\n- Add Outlook schedule\n\n    \u003cimage src=\"./doc/img01.png\" /\u003e\n\n- Update Outlook schedule \n\n    \u003cimage src=\"./doc/img02.png\" /\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimtth%2Fmini-copilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkimtth%2Fmini-copilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimtth%2Fmini-copilot/lists"}