{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":807741186,"defaultBranch":"main","name":"AI-TreeOfThought","ownerLogin":"JacquesGariepy","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-05-29T17:21:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/12863398?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1717003406.0","currentOid":""},"activityList":{"items":[{"before":"3e869d50b44c3c1242b6a4ab162a52cb59e5cbfc","after":"36acc8ac253f7ab68ea291f2661418f081a86ddd","ref":"refs/heads/main","pushedAt":"2024-06-13T00:43:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Implement bug fix for issue #123","shortMessageHtmlLink":"Implement bug fix for issue #123"}},{"before":"ea78d7a07f39db23e4c393efbc7c9166f44d5e8e","after":"3e869d50b44c3c1242b6a4ab162a52cb59e5cbfc","ref":"refs/heads/main","pushedAt":"2024-06-04T16:20:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update aiconfig.json","shortMessageHtmlLink":"Update aiconfig.json"}},{"before":"432ba283466b279b1f2d708f93c53940305c27a5","after":"ea78d7a07f39db23e4c393efbc7c9166f44d5e8e","ref":"refs/heads/main","pushedAt":"2024-06-04T16:00:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update readme.md","shortMessageHtmlLink":"Update readme.md"}},{"before":"37716096613e5409d7cad27d38c8acb5f1e66d50","after":"432ba283466b279b1f2d708f93c53940305c27a5","ref":"refs/heads/main","pushedAt":"2024-06-04T15:58:15.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"samples","shortMessageHtmlLink":"samples"}},{"before":"efb2e060f05c05f4bd0101de5bea58a8d1839795","after":"37716096613e5409d7cad27d38c8acb5f1e66d50","ref":"refs/heads/main","pushedAt":"2024-06-04T13:51:52.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update configuration file with additional agent count","shortMessageHtmlLink":"Update configuration file with additional agent count"}},{"before":"9c26a3e04c6aedd051c1e1ccf0ae0c9a2bd1aba7","after":"efb2e060f05c05f4bd0101de5bea58a8d1839795","ref":"refs/heads/main","pushedAt":"2024-06-04T13:48:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update agent.py","shortMessageHtmlLink":"Update agent.py"}},{"before":"68044b4fc3973fab622c003325b367c3f68125de","after":"9c26a3e04c6aedd051c1e1ccf0ae0c9a2bd1aba7","ref":"refs/heads/main","pushedAt":"2024-06-04T13:46:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update readme.md","shortMessageHtmlLink":"Update readme.md"}},{"before":"46c963cc82474998480b61289e5e1acee7dff524","after":"68044b4fc3973fab622c003325b367c3f68125de","ref":"refs/heads/main","pushedAt":"2024-06-02T02:05:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update agent.py","shortMessageHtmlLink":"Update agent.py"}},{"before":"d8cc90d24b9974d524040e3ffd366bd7b80dcf4b","after":"46c963cc82474998480b61289e5e1acee7dff524","ref":"refs/heads/main","pushedAt":"2024-06-02T02:03:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update agent.py","shortMessageHtmlLink":"Update agent.py"}},{"before":"218054e717cd556d0bb082c7740ff4f9f1710a92","after":"d8cc90d24b9974d524040e3ffd366bd7b80dcf4b","ref":"refs/heads/main","pushedAt":"2024-06-02T00:54:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update readme.md","shortMessageHtmlLink":"Update readme.md"}},{"before":"b080be02294b0a42f0793189b1eb1f671e0fbcd5","after":"218054e717cd556d0bb082c7740ff4f9f1710a92","ref":"refs/heads/main","pushedAt":"2024-06-02T00:53:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update readme.md","shortMessageHtmlLink":"Update readme.md"}},{"before":"9021aa69670509f2d9b7c5fde7c7048b214a4079","after":"b080be02294b0a42f0793189b1eb1f671e0fbcd5","ref":"refs/heads/main","pushedAt":"2024-06-02T00:45:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update readme.md","shortMessageHtmlLink":"Update readme.md"}},{"before":"a96ff0505030e21f16341c01be0a9739a0a16378","after":"9021aa69670509f2d9b7c5fde7c7048b214a4079","ref":"refs/heads/main","pushedAt":"2024-06-01T21:26:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"The most significant changes in the code include the translation of the code from French to English, the removal of the code for exporting the tree of thoughts to JSON and image formats from the `exporters.py` file, and the update of several methods in the `InteractiveTreeOfThought` and `TreeOfThought` classes. Additionally, the API key in the `aiconfig.json` file has been changed, and the `config.json` and `launch.json` files have been updated to include new fields and changes in the `args` field respectively. Lastly, new JSON objects have been added to the `final_result.json` and `result_20240601-172509.json` files.\n\nHere is a list of the changes:\n\n1. The code has been translated from French to English, making it more accessible to a wider audience.\n2. The code for exporting the tree of thoughts to JSON and image formats has been removed from the `exporters.py` file.\n3. The `evaluate_states` method in the `InteractiveTreeOfThought` class has been commented out.\n4. The `save_result` method in the `InteractiveTreeOfThought` class now includes a timestamp in the filename.\n5. The `generate_final_result` method in the `InteractiveTreeOfThought` class now uses English strings.\n6. The `evaluate_thoughts_with_agents` method in the `TreeOfThought` class now returns a dictionary containing information about the thought and the agent.\n7. The API key in the `aiconfig.json` file has been changed.\n8. The `config.json` file now includes a `filename_result` field and an `api_urls` field.\n9. The `args` field in the `launch.json`, `agent.py`, and `console.py` files has been updated.\n10. New JSON objects have been added to the `final_result.json` and `result_20240601-172509.json` files, containing information about the best thought and its justification, a history of thoughts, and steps taken to solve a problem.","shortMessageHtmlLink":"The most significant changes in the code include the translation of t…"}},{"before":"98aeef7c9c0aa218e449bef666f4e0541f824aa6","after":"a96ff0505030e21f16341c01be0a9739a0a16378","ref":"refs/heads/main","pushedAt":"2024-06-01T21:03:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"The most significant changes include the update to the `.gitignore` file to ignore certain Python cache files, the modification of arguments passed to the Python program in `launch.json`, and the change of the model in `aiconfig.json`. Additionally, there were changes in `agent.py`, `interactive.py`, and `tree.py` files, and a new file `resultat_final.json` was created.\n\n1. The `.gitignore` file was updated to ignore `__pycache__/interactive.cpython-312.pyc` and `__pycache__/tree.cpython-312.pyc` files. This prevents these Python cache files from being included in the Git repository.\n\n2. The arguments passed to the Python program in `launch.json` were simplified from a long French string to \"somme de 1 + 1\". This change might affect the program's output or behavior.\n\n3. The model in `aiconfig.json` was changed from `gpt-4o` to `gpt-3.5-turbo-1106`. This could significantly impact the AI's performance and results.\n\n4. In `agent.py`, the import statement for `load_config` from `config` was removed, potentially affecting the configuration of the agent. Also, some commented-out code was replaced with a check for `best_thought` being `None`, which might alter the agent's decision-making process.\n\n5. In `interactive.py`, the `json` and `printable` modules were imported from the `string` library, and a new method `save_result` was added to the `InteractiveTreeOfThought` class. This method allows the final result to be saved to a file.\n\n6. In `tree.py`, the `graphviz` library was imported, and some methods in the `TreeOfThought` class were removed. These changes could affect the visualization and functionality of the thought tree.\n\n7. A new file `resultat_final.json` was created, which appears to store the final result of a computation or process. This file could be used for further analysis or for debugging purposes.","shortMessageHtmlLink":"The most significant changes include the update to the .gitignore f…"}},{"before":"ad2410d81962cce54b65130a636d19faf322fd5b","after":"98aeef7c9c0aa218e449bef666f4e0541f824aa6","ref":"refs/heads/main","pushedAt":"2024-06-01T19:21:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"The most significant changes include the update of the AI model in `aiconfig.json`, the modification of the `SupervisorAgent` class in `agent.py`, and the changes to the `InteractiveTreeOfThought` and `TreeOfThought` classes in `interactive.py` and `tree.py` respectively. The removal of the `utils.py` file also indicates a significant restructuring of the codebase.\n\n1. The AI model was updated from `gpt-3.5-turbo-1106` to `gpt-4o` in `aiconfig.json`. This change suggests an upgrade to a newer, potentially more powerful AI model (aiconfig.json).\n\n2. In `agent.py`, the `SupervisorAgent` class was modified. The prompt message and the response format were changed, and the `best_thought` variable was replaced with `response` in the activity dictionary and the return statement. This change likely affects how the agent interacts with the user and processes responses (agent.py).\n\n3. The `InteractiveTreeOfThought` class in `interactive.py` was updated. Changes were made to the command prompt and the way thoughts are generated and evaluated. This could affect the user interface and the thought process of the AI (interactive.py).\n\n4. The `TreeOfThought` class in `tree.py` was updated to use the configuration file for problem decomposition and thought evaluation. The `evaluate_states` method was removed, suggesting a change in the way the AI evaluates different states or possibilities (tree.py).\n\n5. The `utils.py` file was completely removed. This indicates a significant restructuring, as all functions in this file were either moved to other files or deemed unnecessary (utils.py).\n\n6. The `launch.json` file was updated to change the problem argument in the Python launch configuration. This could affect how the program is launched or what arguments it accepts (launch.json).\n\n7. The `config.json` file was updated to add more detailed steps for problem decomposition and to add a new parameter `num_agents`. This could affect how problems are broken down and solved, and how many agents are used in the process (config.json).","shortMessageHtmlLink":"The most significant changes include the update of the AI model in `a…"}},{"before":"98fde81125ff371084a1fbfb72097d523c72a766","after":"ad2410d81962cce54b65130a636d19faf322fd5b","ref":"refs/heads/main","pushedAt":"2024-06-01T02:06:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"The most significant changes involve the modification of the `SupervisorAgent` class in `agent.py` and the `TreeOfThought` class in `tree.py`. In `agent.py`, the prompt message has been updated to provide more detailed information about the problem, the evaluated thoughts for each agent, and their justifications. The supervisor is then asked to select and provide the best thought with its justification. In `tree.py`, the `decompose_problem` method has been altered to load configuration from a file and retrieve decomposition steps from the configuration, instead of generating a response and decomposing it into steps. The `evaluate_thoughts_with_agents` method now accepts an `agent` parameter instead of `thoughts`, and the configuration is loaded from a file to retrieve the number of agents. The agents are then created with thoughts and justifications retrieved from the `agent` parameter.\n\nList of changes:\n\n1. The argument for the problem in the `launch.json` file has been changed to a more complex mathematical problem. [launch.json]\n2. The `SupervisorAgent` class in `agent.py` has been updated to provide more detailed information about the problem, the evaluated thoughts for each agent, and their justifications. [agent.py]\n3. A new configuration parameter \"num_agents\" has been added in the `config.json` file. [config.json]\n4. The `InteractiveTreeOfThought` class in `interactive.py` has been updated to generate thoughts for a specific agent instead of generating thoughts in general. [interactive.py]\n5. The import statement in `tree.py` has been modified to include `load_config` from the `config` module. [tree.py]\n6. The `decompose_problem` method of the `TreeOfThought` class in `tree.py` has been updated to load configuration from a file and retrieve decomposition steps from the configuration. [tree.py]\n7. The `evaluate_thoughts_with_agents` method of the `TreeOfThought` class in `tree.py` has been modified to accept an `agent` parameter instead of `thoughts`. [tree.py]\n8. The `dynamic_decomposition` and `enhanced_decomposition` functions in `utils.py` have been commented out. [utils.py]\n9. The `get_decompose_function` function in `utils.py` has been commented out and replaced with a new version. [utils.py]","shortMessageHtmlLink":"The most significant changes involve the modification of the `Supervi…"}},{"before":"99f61bb0366d63f4aa73877f2ce12772cbeb1994","after":"98fde81125ff371084a1fbfb72097d523c72a766","ref":"refs/heads/main","pushedAt":"2024-05-30T22:10:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update config.json and console.py","shortMessageHtmlLink":"Update config.json and console.py"}},{"before":"6fa458f0a219c57d528d12d5422c09509829b827","after":"99f61bb0366d63f4aa73877f2ce12772cbeb1994","ref":"refs/heads/main","pushedAt":"2024-05-30T12:29:48.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Add pyautogen library to requirements.txt","shortMessageHtmlLink":"Add pyautogen library to requirements.txt"}},{"before":"cf8d327241c6a9a20b988f752be62e1563e9ff75","after":"6fa458f0a219c57d528d12d5422c09509829b827","ref":"refs/heads/main","pushedAt":"2024-05-29T22:55:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Fix LLM selection in InteractiveTreeOfThought","shortMessageHtmlLink":"Fix LLM selection in InteractiveTreeOfThought"}},{"before":"d3ecadaec88de335d40a6f8cc74b2ea740770eba","after":"cf8d327241c6a9a20b988f752be62e1563e9ff75","ref":"refs/heads/main","pushedAt":"2024-05-29T22:43:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Add interactive mode to InteractiveTreeOfThought class","shortMessageHtmlLink":"Add interactive mode to InteractiveTreeOfThought class"}},{"before":"80261ff67bd219f455955b62d35887155a669317","after":"d3ecadaec88de335d40a6f8cc74b2ea740770eba","ref":"refs/heads/main","pushedAt":"2024-05-29T21:54:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update config.json and console.py, add interactive.py and setup.py, modify tree.py","shortMessageHtmlLink":"Update config.json and console.py, add interactive.py and setup.py, m…"}},{"before":"600c34fdf6068d77305a7ba1f404f989f1d5a85d","after":"80261ff67bd219f455955b62d35887155a669317","ref":"refs/heads/main","pushedAt":"2024-05-29T18:55:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"Update config.json and tree.py","shortMessageHtmlLink":"Update config.json and tree.py"}},{"before":null,"after":"600c34fdf6068d77305a7ba1f404f989f1d5a85d","ref":"refs/heads/main","pushedAt":"2024-05-29T17:23:26.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"JacquesGariepy","name":"Jacques Gariépy","path":"/JacquesGariepy","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12863398?s=80&v=4"},"commit":{"message":"initial commit","shortMessageHtmlLink":"initial commit"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEY95CJQA","startCursor":null,"endCursor":null}},"title":"Activity · JacquesGariepy/AI-TreeOfThought"}