{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":607190942,"defaultBranch":"main","name":"ai-chatbot-ChatGPT","ownerLogin":"jessicakuijer","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-02-27T13:59:12.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/62114740?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1677506777.662534","currentOid":""},"activityList":{"items":[{"before":"ec3d88d06124b22688fff6b953f1613c092f2da8","after":"e13b82846e8a3da206b5e0d8acb7c1480df69240","ref":"refs/heads/main","pushedAt":"2024-05-17T08:04:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"📝 (index.html.twig): Update Chatbot model name in the template to reflect the correct version as ChatGPT-4o instead of ChatGPT-4-turbo","shortMessageHtmlLink":"📝 (index.html.twig): Update Chatbot model name in the template to ref…"}},{"before":"1ce61e7cac8c91d0c591f654248619578fb57e3b","after":"ec3d88d06124b22688fff6b953f1613c092f2da8","ref":"refs/heads/main","pushedAt":"2024-05-17T08:00:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"📝 (readme.md): Update year in license to 2024\n♻️ (ChatController.php): Update OpenAI model from 'gpt-4-1106-preview' to 'gpt-4o' for consistency and accuracy.","shortMessageHtmlLink":"📝 (readme.md): Update year in license to 2024"}},{"before":"7f017ff8982ec3b2839b44713cd410d3c393e154","after":"1ce61e7cac8c91d0c591f654248619578fb57e3b","ref":"refs/heads/main","pushedAt":"2023-11-09T14:37:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🚀 RELEASE: GPT-4-TURBO model","shortMessageHtmlLink":"🚀 RELEASE: GPT-4-TURBO model"}},{"before":"9a04f5b604276c7936c5670e4fc6f48902fb3395","after":"7f017ff8982ec3b2839b44713cd410d3c393e154","ref":"refs/heads/main","pushedAt":"2023-11-09T14:33:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🚀 RELEASE: gpt-4-turbo model upgrade","shortMessageHtmlLink":"🚀 RELEASE: gpt-4-turbo model upgrade"}},{"before":"4761e717098c0c5ebc4d571d05546564a692c653","after":"9a04f5b604276c7936c5670e4fc6f48902fb3395","ref":"refs/heads/main","pushedAt":"2023-11-09T14:28:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"📦 NEW: add readme info about gpt-4-turbo model","shortMessageHtmlLink":"📦 NEW: add readme info about gpt-4-turbo model"}},{"before":"8b810a3298d7b375b7c0bcf5e33ea506b17d8f8d","after":"4761e717098c0c5ebc4d571d05546564a692c653","ref":"refs/heads/main","pushedAt":"2023-11-09T14:21:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🔀 chore(ChatController.php): update OpenAI model version from 'gpt-4' to 'gpt-4-1106-preview' to use the latest preview version","shortMessageHtmlLink":"🔀 chore(ChatController.php): update OpenAI model version from 'gpt-4'…"}},{"before":"11a41a595cc30854fe152ae8d1e024f24489e71c","after":"8b810a3298d7b375b7c0bcf5e33ea506b17d8f8d","ref":"refs/heads/main","pushedAt":"2023-05-06T04:11:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🐛 corriger(ChatController.php) : réduire le temps d'attente de la réponse OpenAI de 60 à 30 secondes\nLe temps d'attente de la réponse OpenAI a été réduit de 60 à 30 secondes pour améliorer les performances de l'application.","shortMessageHtmlLink":"🐛 corriger(ChatController.php) : réduire le temps d'attente de la rép…"}},{"before":"189389dc6e89b7d44b5d9027d179359884e45a03","after":"11a41a595cc30854fe152ae8d1e024f24489e71c","ref":"refs/heads/main","pushedAt":"2023-05-06T04:06:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🐛 corriger(ChatController.php) : augmenter le temps d'attente pour la réponse d'OpenAI de 60 à 120 secondes\nLe temps d'attente pour la réponse d'OpenAI a été augmenté de 60 à 120 secondes pour éviter les erreurs de délai d'attente.","shortMessageHtmlLink":"🐛 corriger(ChatController.php) : augmenter le temps d'attente pour la…"}},{"before":"ed1bffcf402ad7f83d4855b0c87307cc40c6b5cc","after":"189389dc6e89b7d44b5d9027d179359884e45a03","ref":"refs/heads/main","pushedAt":"2023-05-06T03:58:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🚀 fonctionnalité(ChatController.php) : ajouter une fonction d'attente pour la réponse d'OpenAI\n🐛 corriger(ChatController.php) : corriger la fonction fallback pour utiliser la fonction d'attente\nLa fonction d'attente waitForOpenAiResponse a été ajoutée pour attendre la réponse d'OpenAI pendant un certain temps avant de renvoyer la réponse. La fonction fallback a été corrigée pour utiliser cette fonction d'attente, ce qui permet de gérer les erreurs de réponse d'OpenAI et d'améliorer la qualité de la réponse.","shortMessageHtmlLink":"🚀 fonctionnalité(ChatController.php) : ajouter une fonction d'attente…"}},{"before":"1a54075e0b5d0b5ad89f352b20a923612bd0533a","after":"ed1bffcf402ad7f83d4855b0c87307cc40c6b5cc","ref":"refs/heads/main","pushedAt":"2023-05-06T03:08:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🎨 style(ChatController.php): ajouter un message d'accueil plus convivial et une instruction pour l'utilisateur\nLe message d'accueil a été modifié pour être plus convivial et accueillant pour l'utilisateur. Une nouvelle instruction a été ajoutée pour guider l'utilisateur sur la façon de continuer la conversation avec le chatbot.","shortMessageHtmlLink":"🎨 style(ChatController.php): ajouter un message d'accueil plus conviv…"}},{"before":"f4abd2efbe99291783a34ca5cd3bc6943ad693de","after":"1a54075e0b5d0b5ad89f352b20a923612bd0533a","ref":"refs/heads/main","pushedAt":"2023-04-28T14:50:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🚀 chore(readme.md): update ChatGPT version to 4\n🚀 chore(ChatController.php): update ChatGPT version to 4\n🚀 chore(index.html.twig): update ChatGPT version to 4\nThe ChatGPT version has been updated from 3.5-turbo to 4 in the readme.md, ChatController.php, and index.html.twig files. This update improves the chatbot's performance and accuracy.","shortMessageHtmlLink":"🚀 chore(readme.md): update ChatGPT version to 4"}},{"before":"a4fc064389bda1bb668356fc16de2e21bfa3b835","after":"f4abd2efbe99291783a34ca5cd3bc6943ad693de","ref":"refs/heads/main","pushedAt":"2023-03-28T04:57:52.548Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🐛 fix(ChatController.php): remove unused variable\n✨ feat(ChatController.php): add comments to clarify code\nThe unused variable has been removed to improve code readability and maintainability. Comments have been added to clarify the purpose of the code and the expected behavior.","shortMessageHtmlLink":"🐛 fix(ChatController.php): remove unused variable"}},{"before":"cd156cf796bc81cacdbf9d7b1fd958cf944dab40","after":"a4fc064389bda1bb668356fc16de2e21bfa3b835","ref":"refs/heads/main","pushedAt":"2023-03-28T04:57:00.699Z","pushType":"push","commitsCount":2,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🔥 refactor(ChatController.php): remove unused variables\nThe variables $response and $articles were declared but not used in the code. They have been removed to improve code readability and maintainability.","shortMessageHtmlLink":"🔥 refactor(ChatController.php): remove unused variables"}},{"before":"a63c532f1e6755f1bd91649b492ae01bdb8495ca","after":"cd156cf796bc81cacdbf9d7b1fd958cf944dab40","ref":"refs/heads/main","pushedAt":"2023-03-24T10:41:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🔨 refactor(ChatController.php): refactor the news and actualités BotMan hears\nThe BotMan hears for news and actualités have been refactored to use a single regular expression to match both. The language parameter is now passed to the callback function, which is used to determine the language of the news to be fetched. The API endpoint and parameters have been updated to use the language parameter. The source label is now determined based on the language parameter.","shortMessageHtmlLink":"🔨 refactor(ChatController.php): refactor the news and actualités BotM…"}},{"before":"79cde776a7fa80cc97b177d408ca49a795119d56","after":"a63c532f1e6755f1bd91649b492ae01bdb8495ca","ref":"refs/heads/main","pushedAt":"2023-03-21T11:52:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🎨 style(chat): update emoji in index.html.twig\nThe emoji in the chat navigation bar has been updated from 🦸‍♀️ to 👩‍🎤 for better visual representation.","shortMessageHtmlLink":"🎨 style(chat): update emoji in index.html.twig"}},{"before":"9e76a6add6631474b358e695479b0d57fc1025ed","after":"79cde776a7fa80cc97b177d408ca49a795119d56","ref":"refs/heads/main","pushedAt":"2023-03-21T09:58:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🔥 chore(.DS_Store): remove .DS_Store files\nThe .DS_Store files are binary files that are not necessary for the project and can cause issues when sharing the project with others. Therefore, they have been removed.","shortMessageHtmlLink":"🔥 chore(.DS_Store): remove .DS_Store files"}},{"before":"272e0cfa07c1733e34b12c5daf72c2f9dd26f5ff","after":"9e76a6add6631474b358e695479b0d57fc1025ed","ref":"refs/heads/main","pushedAt":"2023-03-15T12:35:00.933Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🚀 chore(readme.md): update ChatGPT-3 API to ChatGPT-3.5-turbo PHP\n💡 docs(readme.md): update API links\nThe ChatGPT-3 API has been updated to ChatGPT-3.5-turbo PHP, which is a more recent version of the API. The links to the APIs have been updated to reflect the changes.","shortMessageHtmlLink":"🚀 chore(readme.md): update ChatGPT-3 API to ChatGPT-3.5-turbo PHP"}},{"before":"523e33899b654ab682da55dcf32a255f3e273aa6","after":"272e0cfa07c1733e34b12c5daf72c2f9dd26f5ff","ref":"refs/heads/main","pushedAt":"2023-03-15T12:30:29.763Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🚀 chore(composer.json): update dependencies\n- Update the `composer.json` file to include the latest version of the `tectalic/openai` package.\n- Remove the `orhanerday/open-ai` package as it is no longer needed.\n- Update the `illuminate/support` package to version `10.3`.\n- Update the `ext-json` package to be included after `ext-intl`.\n- Remove the `openai-php/client` package as it is no longer needed.\n\n🔧 chore(nyholm_psr7.yaml): add nyholm/psr7 services\nAdd the `nyholm/psr7` services to the `nyholm_psr7.yaml` configuration file to enable autowiring with PSR-17 and HTTPlug factories.","shortMessageHtmlLink":"🚀 chore(composer.json): update dependencies"}},{"before":"2b5dc4094c27f93fceb9732152e9a4ce812fd382","after":"523e33899b654ab682da55dcf32a255f3e273aa6","ref":"refs/heads/main","pushedAt":"2023-03-15T12:26:30.554Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🚚 chore(ChatController.php): update OpenAI package and refactor code to use new package\nThe OpenAI package has been updated to Tectalic\\OpenAi\\Manager. The code has been refactored to use the new package. The OpenAi class has been replaced with the Manager class. The ChatCompletions\\CreateRequest class has been imported and used instead of the old OpenAi class. The GuzzleHttp\\Client class has been imported and used instead of the old Google_Client class.\n\n🐛 fix(ChatController.php): update OpenAI API call to use new SDK\nThe OpenAI API call has been updated to use the new SDK. The new SDK provides a more robust and flexible way of interacting with the OpenAI API. The new SDK is used to create a new chat completion request, which is then sent to the OpenAI API. The response from the API is then parsed to extract the response text.","shortMessageHtmlLink":"🚚 chore(ChatController.php): update OpenAI package and refactor code …"}},{"before":"8b36a6f37b83e7b41f248f170076dbd18f9413b5","after":"2b5dc4094c27f93fceb9732152e9a4ce812fd382","ref":"refs/heads/main","pushedAt":"2023-03-15T10:07:20.584Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"🐛 fix(ChatController.php): improve error message and add variable for decoded response\nThe error message has been improved to be more user-friendly. A new variable has been added to store the decoded response, which improves readability and reduces code duplication.","shortMessageHtmlLink":"🐛 fix(ChatController.php): improve error message and add variable for…"}},{"before":"51479a7db834f82b801a37e6a2cd3e6064a6a99a","after":"8b36a6f37b83e7b41f248f170076dbd18f9413b5","ref":"refs/heads/main","pushedAt":"2023-03-13T07:12:03.658Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"* 🐛 fix(ChatController.php): increase max_tokens to 500\nThe max_tokens value was increased from 150 to 500 to allow for longer responses from the AI model.","shortMessageHtmlLink":"* 🐛 fix(ChatController.php): increase max_tokens to 500"}},{"before":"ca247b4e03c86469f788efc6feccf77baab47297","after":"51479a7db834f82b801a37e6a2cd3e6064a6a99a","ref":"refs/heads/main","pushedAt":"2023-03-13T06:49:05.702Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"* 🚀 feat(ChatController.php): add new parameters to OpenAI API request\nAdded new parameters to the OpenAI API request, including 'n', 'stop', and 'best_of'. These parameters allow for more control over the response generated by the API.","shortMessageHtmlLink":"* 🚀 feat(ChatController.php): add new parameters to OpenAI API request"}},{"before":"1318ed58f9c1abf67eb15b270577edb0201f3815","after":"ca247b4e03c86469f788efc6feccf77baab47297","ref":"refs/heads/main","pushedAt":"2023-03-12T17:56:46.925Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"* ♻️ refactor(ChatController.php): extract functions to handle name requests and retrieval\n* ✨ feat(ChatController.php): add support for name requests and retrieval in French\nThe code has been refactored to extract the functions that handle name requests and retrieval. This improves code readability and maintainability. Support for name requests and retrieval in French has been added to the chatbot.","shortMessageHtmlLink":"* ♻️ refactor(ChatController.php): extract functions to handle name r…"}},{"before":"ef7c196ad61148c17951af0c2f5d0169dd80fcc4","after":"1318ed58f9c1abf67eb15b270577edb0201f3815","ref":"refs/heads/main","pushedAt":"2023-03-12T14:22:36.515Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"* 🗑️ chore(images): remove .DS_Store file\nThe .DS_Store file is a macOS-specific file that stores custom attributes of a folder, such as the position of icons or the choice of a background image. It is not necessary for the project and can be safely removed.\n\n* ♻️ refactor(ChatController.php): extract weather request handling to a function\n* ✨ feat(ChatController.php): add support for English weather requests\nThe weather request handling code has been extracted to a separate function to improve code readability and maintainability. The function takes in the BotMan instance, location, message prefix, and context as parameters. The context is assigned to a variable to be used in the function. Support for English weather requests has been added by defining a new handler for the 'weather in {location}' request.\n\n* ♻️ refactor(ChatController.php): change visibility of fetchWeatherData method from private to public\nThe fetchWeatherData method was changed from private to public to allow it to be accessed from other classes. This change was made to improve the flexibility of the codebase.","shortMessageHtmlLink":"* 🗑️ chore(images): remove .DS_Store file"}},{"before":"031df141852ba3cf9edf7e9a73a56b065644dec7","after":"ef7c196ad61148c17951af0c2f5d0169dd80fcc4","ref":"refs/heads/main","pushedAt":"2023-03-12T13:49:48.148Z","pushType":"push","commitsCount":1,"pusher":{"login":"jessicakuijer","name":"jessicakuijer","path":"/jessicakuijer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62114740?s=80&v=4"},"commit":{"message":"* 🐛 fix(ChatController.php): remove unnecessary whitespace in line 306","shortMessageHtmlLink":"* 🐛 fix(ChatController.php): remove unnecessary whitespace in line 306"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAETKm5bAA","startCursor":null,"endCursor":null}},"title":"Activity · jessicakuijer/ai-chatbot-ChatGPT"}