{"id":18780599,"url":"https://github.com/simplicitesoftware/module_ai","last_synced_at":"2026-01-26T01:32:24.531Z","repository":{"id":219128863,"uuid":"744633637","full_name":"simplicitesoftware/module_ai","owner":"simplicitesoftware","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-20T16:21:55.000Z","size":5000,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-21T01:27:06.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/simplicitesoftware.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-17T17:42:30.000Z","updated_at":"2025-09-09T12:46:47.000Z","dependencies_parsed_at":"2024-04-29T16:51:16.185Z","dependency_job_id":"9cfe0879-8892-428c-8c3e-bdc07be5d8d7","html_url":"https://github.com/simplicitesoftware/module_ai","commit_stats":null,"previous_names":["simplicitesoftware/module_ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simplicitesoftware/module_ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule_ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule_ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule_ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule_ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplicitesoftware","download_url":"https://codeload.github.com/simplicitesoftware/module_ai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule_ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28763934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T00:37:26.264Z","status":"ssl_error","status_checked_at":"2026-01-26T00:37:25.959Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-07T20:27:14.429Z","updated_at":"2026-01-26T01:32:24.521Z","avatar_url":"https://github.com/simplicitesoftware.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n ___ _            _ _    _ _    __\n/ __(_)_ __  _ __| (_)__(_) |_ /_/\n\\__ \\ | '  \\| '_ \\ | / _| |  _/ -_)\n|___/_|_|_|_| .__/_|_\\__|_|\\__\\___|\n            |_| \n--\u003e\n![](https://platform.simplicite.io/logos/standard/logo250.png)\n* * *\n\n`AIBySimplicite` module definition\n==================================\n\n### Introduction\nExploratory module on the use of AI in Simplicite\n\n---\n\n### Import\nTo import this module, you have two options:\n\n#### Option 1: Git Repository\n\n1. Create a module named `AIBySimplicite`.\n2. Set the settings as:\n```json\n{\n\t\"origin\": {\n\t\t\"uri\": \"https://github.com/simplicitesoftware/module_ai.git\"\n\t},\n\t\"type\": \"git\",\n\t\"branch\": \"\u003c6 6.1 6.2 or 6.3\u003e\"\n}\n```\n3. Click on the Import module button.\n\n#### Option 2: App Store\n\n1. Navigate to the App Store in the Project domain.\n2. Go to the Tools tab.\n3. Select \"AI integrations\" from the list.\n4. Follow the on-screen instructions to import the module.\n\n---\n\n### Configure\nTo configure the AI connection, utilize the `configuring the wizard` process in the `AI assistant` domain in extended mode.\n\nSelect the model (LLM) you wish to use, configure the API key, and the URL of your API:\n|Process steps||\n|---|---|\n|![Step 1, Select LLM](resources/Tutorial/Configure/Configuring_LMM_API_1_select.png)|1. Domain AI\u003cbr\u003e2. Configuration process\u003cbr\u003e3. Select the LLM you will use|\n|![Step 2, Set authent](resources/Tutorial/Configure/Configuring_LMM_API_2_authentication.png)|4. Set your API key\u003cbr\u003e5. If you use a dedied api set the endpoint of your API|\n|![Step 3, Other parameters](resources/Tutorial/Configure/Configuring_LMM_API_3_parameters.png)|See help for details\u003cbr\u003e6. parametres\u003cbr\u003e7. Depends of your LLM |\n|![Step 4, Monitoring of setup](resources/Tutorial/Configure/Configuring_LMM_API_4_monitoring.png)|8. recap of setup and ping result\u003cbr\u003e9. you can test the chatbot|\n\n\n**Follow the process:**\n\nAfter configuring, you will obtain the details of your now active configuration. This summary is available on the homepage of the domain.\n\n\u003cdetails\u003e\n  \u003csummary\u003eParameters details\u003c/summary\u003e\n\n##### hist_depth\nDefines the number of messages in the history used for the context. The greater this number, the more tokens the request uses, but the more relevant is the response.\n\n##### max_token\n*optional*  \nLimits the number of tokens in the AI response.\n\n###### default_max_token\nMaximum number of tokens in a usual context.\n\n###### code_max_token\nMaximum number of tokens for technical calls.\n\n\u003c/details\u003e\n\n---\n\n### Wizard\n\n![UI](resources/Tutorial/Wizard/AI_utils.png)\n\n1. AI domain\n1. [LLM and API configuration](#configure)\n1. [AI-assisted module creation or completion process](#module-generation)\n1. [Enhanced Code Editor](#enhanced-code-editor)\n1. [Data generation process](#data-generation)\n1. [Chatbot for Business with context](#business-chatbot)\n1. List of LLMs currently configurable. \n\n#### Module generation\nUse AI to co-create or update a module based on your business needs\n`Module generation` in `AI assistant` domain.\n\n#### Data generation\nUse AI to generate test data for a module.\n`Data generation` in `AI assistant` domain.\n#### Enhanced Code Editor\nFor AI enhanced code editor, you have to use `Code editor`in the `AI enhanced simplicite` disposition.\n![Dedicated scope](resources/Tutorial/Enhanced_Code_Editor/Disposition_1.png)\n![Code editor](resources/Tutorial/Enhanced_Code_Editor/Disposition_2.png)\n1. Open the scope selector.\n2. Select the `AI Simplicité Administrator` scope.\n3. Go to the `Code editor`.\n\n##### Comment code\nA Keyboard shortcut is available to comment on a file or a block of code with AI:\n![Select the code](resources/Tutorial/Enhanced_Code_Editor/Comment_code_1.png)\n![Check the comment](resources/Tutorial/Enhanced_Code_Editor/Comment_code_2.png)\n1. Select the code you want to comment; nothing for the whole file.\n2. Press `Ctrl+Q`\n3. The old code.\n4. AI suggested commentary\n5. Use ace editor obtion to accept part of the commentary or all. Then use the option to close the commentator.\n\t1. Accept all: accept all the commentary (`AI commented code` part).\n\t2. Restore: restore the original code (do not save the commentary).\n\t3. Save: save the manual check commentary (`Original code` part).\n\n#### Business chatbot\nA shortcut to a chatbot contextualized according to the form on which it is opened.\nThe user must have `AI_BUSINESS` rights.\nThe `Personal data`, `Confidential data` and `Intimate` fields are not sent to the AI.\n\n##### Add ui context to chatbot\nThe chatbot can be contextualized to the current user's scope, including knowledge of the UI and business rules. To achieve you have to pregenerate the ui and rules description:\n* Open the settings of the scope to which you want to add a context (in the User interface =\u003e views =\u003e Home page submenu).\n* Go to the tab of the link with `Group gui description`.\n* Create a new `Group gui description` by choosing the desired language.\n* You can refine the description by selecting the groups to be considered for this description (by default, the groups of rights in the scope are taken into account).\n\n![Group gui parameters](resources/Tutorial/Wizard/ChatBot_configuring_context.png)\n1. The chatbot open in this scope will have UI context\n2. The lang (to get context in the user language)\n3. Auto generated Description of the ui and the rules\n4. The descritpion will contaigne all visible domaine and object for the listed groupe with GUIDescription has yes\n\n**Important: remember to regenerate this description when there are changes to the rights and rules of your objects**\n\n#### Metrics\nGenerating AI graphs on a module's data\nIn a `view` add an `external page` (1) of source `External object` (2): `AIMetricsChat?module=\u003cyou_module_name\u003e` (3)\n![Metrics](resources/Tutorial/Metrics/Metrics_1.png)\nFor detailed examples on how to generate modules, interact with business chatbots, and visualize metrics, please refer to the example available at the following link:\n[Explore AI Assistant Prompt Examples](https://github.com/simplicitesoftware/module_ai/blob/51425242c08e8f224ecc8d15ebcd80ca8b205d4c/EXAMPLE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplicitesoftware%2Fmodule_ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplicitesoftware%2Fmodule_ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplicitesoftware%2Fmodule_ai/lists"}