{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":607289185,"defaultBranch":"main","name":"semantic-kernel","ownerLogin":"microsoft","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-02-27T17:39:42.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6154722?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1726763666.0","currentOid":""},"activityList":{"items":[{"before":"255ef4124831323ce6048826c92b65680ab5a150","after":"34cfff8794afdc144e36007d537b395d53fbcfb2","ref":"refs/heads/feature-azure-token-python","pushedAt":"2024-09-19T17:19:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moonbox3","name":"Evan Mattson","path":"/moonbox3","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/35585003?s=80&v=4"},"commit":{"message":"Remove the AZURE_OPENAI_API_KEY integration test env var.","shortMessageHtmlLink":"Remove the AZURE_OPENAI_API_KEY integration test env var."}},{"before":"6a22b2b00a6829174adf38d7ed9520314848ee77","after":"255ef4124831323ce6048826c92b65680ab5a150","ref":"refs/heads/feature-azure-token-python","pushedAt":"2024-09-19T17:06:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moonbox3","name":"Evan Mattson","path":"/moonbox3","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/35585003?s=80&v=4"},"commit":{"message":"More debug logging.","shortMessageHtmlLink":"More debug logging."}},{"before":"854bc3590af6baee97f57ff96b3a6c3ff9da991b","after":"6a22b2b00a6829174adf38d7ed9520314848ee77","ref":"refs/heads/feature-azure-token-python","pushedAt":"2024-09-19T16:43:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moonbox3","name":"Evan Mattson","path":"/moonbox3","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/35585003?s=80&v=4"},"commit":{"message":"Add more debug logging.","shortMessageHtmlLink":"Add more debug logging."}},{"before":"33f8e9b94680b5239e9b1022639c23360248e2f4","after":null,"ref":"refs/heads/gh-readonly-queue/main/pr-8911-0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","pushedAt":"2024-09-19T16:34:26.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","after":"33f8e9b94680b5239e9b1022639c23360248e2f4","ref":"refs/heads/main","pushedAt":"2024-09-19T16:34:25.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":".Net: Switch redis hashset vectorstore prefix default to true (#8911)\n\n### Motivation and Context\n\nThe prefix setting automatically prefixes the collection name onto the\nrecord ids on upsert / read.\nUsing a prefix is required for records to be added to an index.\nUsers can have this setting off and pass in their own prefix directly or\nhave it on and get the collection name prefixed\nThe plan was to set this to true by default because it'll just work for\nusers, instead of them having to do something special, and they can\nswitch this off if they want to do their own thing. It's true by default\nfor the JSON implementation but this was missed for the Hashset\nimplementation.\n\n### Description\n\n- Changing this setting to true by default to match the JSON Connector.\n\n### Contribution Checklist\n\n\n\n- [x] The code builds clean without any errors or warnings\n- [x] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [x] All unit tests pass, and I have added new tests where possible\n- [x] I didn't break anyone :smile:","shortMessageHtmlLink":".Net: Switch redis hashset vectorstore prefix default to true (#8911)"}},{"before":"f429d85dc073d6b02c063baac888602b118e6417","after":"854bc3590af6baee97f57ff96b3a6c3ff9da991b","ref":"refs/heads/feature-azure-token-python","pushedAt":"2024-09-19T16:28:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moonbox3","name":"Evan Mattson","path":"/moonbox3","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/35585003?s=80&v=4"},"commit":{"message":"Add temp debug logging.","shortMessageHtmlLink":"Add temp debug logging."}},{"before":null,"after":"33f8e9b94680b5239e9b1022639c23360248e2f4","ref":"refs/heads/gh-readonly-queue/main/pr-8911-0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","pushedAt":"2024-09-19T16:25:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":".Net: Switch redis hashset vectorstore prefix default to true (#8911)\n\n### Motivation and Context\n\nThe prefix setting automatically prefixes the collection name onto the\nrecord ids on upsert / read.\nUsing a prefix is required for records to be added to an index.\nUsers can have this setting off and pass in their own prefix directly or\nhave it on and get the collection name prefixed\nThe plan was to set this to true by default because it'll just work for\nusers, instead of them having to do something special, and they can\nswitch this off if they want to do their own thing. It's true by default\nfor the JSON implementation but this was missed for the Hashset\nimplementation.\n\n### Description\n\n- Changing this setting to true by default to match the JSON Connector.\n\n### Contribution Checklist\n\n\n\n- [x] The code builds clean without any errors or warnings\n- [x] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [x] All unit tests pass, and I have added new tests where possible\n- [x] I didn't break anyone :smile:","shortMessageHtmlLink":".Net: Switch redis hashset vectorstore prefix default to true (#8911)"}},{"before":"0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","after":"f429d85dc073d6b02c063baac888602b118e6417","ref":"refs/heads/feature-azure-token-python","pushedAt":"2024-09-19T16:24:48.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"moonbox3","name":"Evan Mattson","path":"/moonbox3","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/35585003?s=80&v=4"},"commit":{"message":"Python: Fix azure api key check (#8912)\n\n### Motivation and Context\r\n\r\nFix azure api key check\r\n\r\n\r\n\r\n### Description\r\n\r\nFix azure api key check\r\n\r\n\r\n\r\n### Contribution Checklist\r\n\r\n\r\n\r\n- [ ] The code builds clean without any errors or warnings\r\n- [ ] The PR follows the [SK Contribution\r\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\r\nand the [pre-submission formatting\r\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\r\nraises no violations\r\n- [ ] All unit tests pass, and I have added new tests where possible\r\n- [ ] I didn't break anyone :smile:","shortMessageHtmlLink":"Python: Fix azure api key check (#8912)"}},{"before":null,"after":"0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","ref":"refs/heads/feature-azure-token-python","pushedAt":"2024-09-19T16:23:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moonbox3","name":"Evan Mattson","path":"/moonbox3","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/35585003?s=80&v=4"},"commit":{"message":".Net: Add Examples to retrieve FinishReason/DoneReason and other details with the Ollama connector (#8889)\n\n### Motivation and Context\n\n\n\nAs other connectors are providing a `FinishReason = \"STOP\"` metadata in\nthe last `StreamingChatMessageContent` message, I adjusted the\n`GetStreamingChatMessageContentsAsync()` method in the\n`OllamaChatCompletionService` to provide the expected metadata.\n\n### Description\n\n\n\nThe `ChatResponseStream` message from the **OllamaSharp** package\nprovides a `Done` property, which indicates if the stream is finished.\nThis property is used to determine when to set the metadata with\n`FinishReason = \"STOP\"`.\n\n### Contribution Checklist\n\n\n\n- [x] The code builds clean without any errors or warnings\n- [x] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [x] All unit tests pass, and I have added new tests where possible\n- [x] I didn't break anyone :smile:\n\n---------\n\nCo-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>","shortMessageHtmlLink":".Net: Add Examples to retrieve FinishReason/DoneReason and other deta…"}},{"before":"6f78ce61feb24d723126a315aed24c0b8d98aecf","after":null,"ref":"refs/heads/gh-readonly-queue/main/pr-8908-0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","pushedAt":"2024-09-19T16:15:51.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":null,"after":"6f78ce61feb24d723126a315aed24c0b8d98aecf","ref":"refs/heads/gh-readonly-queue/main/pr-8908-0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","pushedAt":"2024-09-19T16:11:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Python: Check the Azure OpenAI settings API key for None (#8908)\n\n### Motivation and Context\n\nCheck the Azure OpenAI settings API key for None not the constructor API\nKEY param\n\n\n\n### Description\n\nNeed to check the Azure OpenAI Settings `api_key` attribute, not the\nincoming `api_key` parameter.\n\n\n\n### Contribution Checklist\n\n\n\n- [X] The code builds clean without any errors or warnings\n- [X] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [X] All unit tests pass, and I have added new tests where possible\n- [X] I didn't break anyone :smile:","shortMessageHtmlLink":"Python: Check the Azure OpenAI settings API key for None (#8908)"}},{"before":"f8af162316b57accd2cc3d405d248f5dfcdeb1d3","after":"6e76d5aeb24f113e93a3a2cd9aab8ebe08c8dcef","ref":"refs/heads/feature_agent_template","pushedAt":"2024-09-19T15:54:06.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"crickman","name":"Chris","path":"/crickman","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/66376200?s=80&v=4"},"commit":{"message":"Merge branch 'main' into feature_agent_template","shortMessageHtmlLink":"Merge branch 'main' into feature_agent_template"}},{"before":"0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","after":null,"ref":"refs/heads/gh-readonly-queue/main/pr-8889-fbdd6bc1353b473e51ceea5fc7f96a627e33ec82","pushedAt":"2024-09-19T15:34:54.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"fbdd6bc1353b473e51ceea5fc7f96a627e33ec82","after":"0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","ref":"refs/heads/main","pushedAt":"2024-09-19T15:34:53.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":".Net: Add Examples to retrieve FinishReason/DoneReason and other details with the Ollama connector (#8889)\n\n### Motivation and Context\n\n\n\nAs other connectors are providing a `FinishReason = \"STOP\"` metadata in\nthe last `StreamingChatMessageContent` message, I adjusted the\n`GetStreamingChatMessageContentsAsync()` method in the\n`OllamaChatCompletionService` to provide the expected metadata.\n\n### Description\n\n\n\nThe `ChatResponseStream` message from the **OllamaSharp** package\nprovides a `Done` property, which indicates if the stream is finished.\nThis property is used to determine when to set the metadata with\n`FinishReason = \"STOP\"`.\n\n### Contribution Checklist\n\n\n\n- [x] The code builds clean without any errors or warnings\n- [x] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [x] All unit tests pass, and I have added new tests where possible\n- [x] I didn't break anyone :smile:\n\n---------\n\nCo-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>","shortMessageHtmlLink":".Net: Add Examples to retrieve FinishReason/DoneReason and other deta…"}},{"before":null,"after":"0ae0e52de10e213306fba6b2fc3cace7d5cde4c2","ref":"refs/heads/gh-readonly-queue/main/pr-8889-fbdd6bc1353b473e51ceea5fc7f96a627e33ec82","pushedAt":"2024-09-19T15:25:49.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":".Net: Add Examples to retrieve FinishReason/DoneReason and other details with the Ollama connector (#8889)\n\n### Motivation and Context\n\n\n\nAs other connectors are providing a `FinishReason = \"STOP\"` metadata in\nthe last `StreamingChatMessageContent` message, I adjusted the\n`GetStreamingChatMessageContentsAsync()` method in the\n`OllamaChatCompletionService` to provide the expected metadata.\n\n### Description\n\n\n\nThe `ChatResponseStream` message from the **OllamaSharp** package\nprovides a `Done` property, which indicates if the stream is finished.\nThis property is used to determine when to set the metadata with\n`FinishReason = \"STOP\"`.\n\n### Contribution Checklist\n\n\n\n- [x] The code builds clean without any errors or warnings\n- [x] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [x] All unit tests pass, and I have added new tests where possible\n- [x] I didn't break anyone :smile:\n\n---------\n\nCo-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>","shortMessageHtmlLink":".Net: Add Examples to retrieve FinishReason/DoneReason and other deta…"}},{"before":"edbf2e1072e967159867ca8fa974b6ac4bbf0798","after":"5c95c665d124d9d64cf1fac319b5ea82e94108ca","ref":"refs/heads/improve-function-calling-integration-tests","pushedAt":"2024-09-19T15:12:50.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"SergeyMenshykh","name":null,"path":"/SergeyMenshykh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/68852919?s=80&v=4"},"commit":{"message":"Merge branch 'main' into improve-function-calling-integration-tests","shortMessageHtmlLink":"Merge branch 'main' into improve-function-calling-integration-tests"}},{"before":"eb977ef5678ccf1d384495a6f5490e1b5d1a5968","after":"f8af162316b57accd2cc3d405d248f5dfcdeb1d3","ref":"refs/heads/feature_agent_template","pushedAt":"2024-09-19T15:06:38.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"crickman","name":"Chris","path":"/crickman","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/66376200?s=80&v=4"},"commit":{"message":"Merge branch 'main' into feature_agent_template","shortMessageHtmlLink":"Merge branch 'main' into feature_agent_template"}},{"before":"7d238266f2763290db522f965e55589b9c88565c","after":null,"ref":"refs/heads/gh-readonly-queue/main/pr-8908-fbdd6bc1353b473e51ceea5fc7f96a627e33ec82","pushedAt":"2024-09-19T15:05:57.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":null,"after":"7d238266f2763290db522f965e55589b9c88565c","ref":"refs/heads/gh-readonly-queue/main/pr-8908-fbdd6bc1353b473e51ceea5fc7f96a627e33ec82","pushedAt":"2024-09-19T15:00:49.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Python: Check the Azure OpenAI settings API key for None (#8908)\n\n### Motivation and Context\n\nCheck the Azure OpenAI settings API key for None not the constructor API\nKEY param\n\n\n\n### Description\n\nNeed to check the Azure OpenAI Settings `api_key` attribute, not the\nincoming `api_key` parameter.\n\n\n\n### Contribution Checklist\n\n\n\n- [X] The code builds clean without any errors or warnings\n- [X] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [X] All unit tests pass, and I have added new tests where possible\n- [X] I didn't break anyone :smile:","shortMessageHtmlLink":"Python: Check the Azure OpenAI settings API key for None (#8908)"}},{"before":"fa461ce7bad168d32a788bb3b6fcd8c0120bffb1","after":"be531dde902e1507f76b628e56b67dfb48bb336a","ref":"refs/heads/feature-vector-search","pushedAt":"2024-09-19T14:51:07.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"dmytrostruk","name":"Dmytro Struk","path":"/dmytrostruk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13853051?s=80&v=4"},"commit":{"message":".Net: [Feature branch] Added support for Filter and Offset parameters in Azure CosmosDB MongoDB vector search (#8904)\n\n### Motivation and Context\r\n\r\n\r\n\r\n- Added support for `Filter` parameter using `$eq` filter operator in\r\nvector search.\r\n- Added support for `Offset` parameter in vector search. Since `Offset`\r\ndoesn't exist in Azure CosmosDB MongoDB vector search API, it's\r\ncurrently implemented locally by fetching `Limit + Offset` items and\r\nreturning last `Limit` items.\r\n- Added unit and integration tests.\r\n\r\n### Contribution Checklist\r\n\r\n\r\n\r\n- [x] The code builds clean without any errors or warnings\r\n- [x] The PR follows the [SK Contribution\r\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\r\nand the [pre-submission formatting\r\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\r\nraises no violations\r\n- [x] All unit tests pass, and I have added new tests where possible\r\n- [x] I didn't break anyone :smile:\r\n\r\n---------\r\n\r\nCo-authored-by: westey <164392973+westey-m@users.noreply.github.com>","shortMessageHtmlLink":".Net: [Feature branch] Added support for Filter and Offset parameters…"}},{"before":"fbdd6bc1353b473e51ceea5fc7f96a627e33ec82","after":null,"ref":"refs/heads/gh-readonly-queue/main/pr-8901-cc4a4975a729bdb3cd90c57e631843a20b138e42","pushedAt":"2024-09-19T13:22:26.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"cc4a4975a729bdb3cd90c57e631843a20b138e42","after":"fbdd6bc1353b473e51ceea5fc7f96a627e33ec82","ref":"refs/heads/main","pushedAt":"2024-09-19T13:22:25.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":".Net: Support polymorphic serialization of ChatMessageContent class and its derivatives (#8901)\n\n### Motivation, Context and Description\nToday, when serializing chat history, the `ChatMessageContent` type or\nits derivatives, like `OpenAIChatMessageContent`, are serialized as the\n`ChatMessageContent` type because the type is used as the chat history\nelement type and the JSON serializer uses this type's public contract\nfor serialization.\n\nHowever, when attempting serialization of instances of either the\n`ChatMessageContent` or `OpenAIChatMessageContent` type that are\ndeclared as `KernelContent` or `object` type, the serialization fails\nwith the `System.NotSupportedException: Runtime type\n'{OpenAI}ChatMessageContent' is not supported by polymorphic type\n'Microsoft.SemanticKernel.KernelContent'` exception. The reason for this\nexception is that neither of these types is registered for polymorphic\nserialization.\n\nThis PR registers `ChatMessageContent` type for polymorphic\nserialization to allow serialization of the type instances declared as\nof `KernelContent` or `object` types:\n```csharp\n\nKernelContent content = new ChatMessageContent(...);\n\n// Now it's possible to serialize the content variable of KernelContent type that holds reference to an instance of the ChatMessageContent type as ChatMessageContent type.\nvar json = JsonSerializer.Serialize(content); \n```\nAdditionally, it enables serialization of unknow in advance and external\nderivatives of `ChatMessageContent` type like\n`OpenAIChatMessageContent`. These types are serialized using contract of\nnearest ancestor which is `ChatMessageContent` by default. To change\nthis behavior and register the unknown type for polymorphic\nserialization use the contract model - [Configure polymorphism with the\ncontract\nmodel](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism?pivots=dotnet-8-0#configure-polymorphism-with-the-contract-model)\n```csharp\nKernelContent content = new UnknownChatMessageContent(...);\n\n// The content variable will be serialized using the ChatMessageContent type contract.\nvar json = JsonSerializer.Serialize(content);\n\nprivate class UnknownChatMessageContent : ChatMessageContent{}\n```\nCloses: https://github.com/microsoft/semantic-kernel/issues/7478\n\n### Contribution Checklist\n\n\n\n- [x] The code builds clean without any errors or warnings\n- [x] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [x] All unit tests pass, and I have added new tests where possible\n- [x] I didn't break anyone :smile:","shortMessageHtmlLink":".Net: Support polymorphic serialization of ChatMessageContent class a…"}},{"before":null,"after":"fbdd6bc1353b473e51ceea5fc7f96a627e33ec82","ref":"refs/heads/gh-readonly-queue/main/pr-8901-cc4a4975a729bdb3cd90c57e631843a20b138e42","pushedAt":"2024-09-19T13:13:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":".Net: Support polymorphic serialization of ChatMessageContent class and its derivatives (#8901)\n\n### Motivation, Context and Description\nToday, when serializing chat history, the `ChatMessageContent` type or\nits derivatives, like `OpenAIChatMessageContent`, are serialized as the\n`ChatMessageContent` type because the type is used as the chat history\nelement type and the JSON serializer uses this type's public contract\nfor serialization.\n\nHowever, when attempting serialization of instances of either the\n`ChatMessageContent` or `OpenAIChatMessageContent` type that are\ndeclared as `KernelContent` or `object` type, the serialization fails\nwith the `System.NotSupportedException: Runtime type\n'{OpenAI}ChatMessageContent' is not supported by polymorphic type\n'Microsoft.SemanticKernel.KernelContent'` exception. The reason for this\nexception is that neither of these types is registered for polymorphic\nserialization.\n\nThis PR registers `ChatMessageContent` type for polymorphic\nserialization to allow serialization of the type instances declared as\nof `KernelContent` or `object` types:\n```csharp\n\nKernelContent content = new ChatMessageContent(...);\n\n// Now it's possible to serialize the content variable of KernelContent type that holds reference to an instance of the ChatMessageContent type as ChatMessageContent type.\nvar json = JsonSerializer.Serialize(content); \n```\nAdditionally, it enables serialization of unknow in advance and external\nderivatives of `ChatMessageContent` type like\n`OpenAIChatMessageContent`. These types are serialized using contract of\nnearest ancestor which is `ChatMessageContent` by default. To change\nthis behavior and register the unknown type for polymorphic\nserialization use the contract model - [Configure polymorphism with the\ncontract\nmodel](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism?pivots=dotnet-8-0#configure-polymorphism-with-the-contract-model)\n```csharp\nKernelContent content = new UnknownChatMessageContent(...);\n\n// The content variable will be serialized using the ChatMessageContent type contract.\nvar json = JsonSerializer.Serialize(content);\n\nprivate class UnknownChatMessageContent : ChatMessageContent{}\n```\nCloses: https://github.com/microsoft/semantic-kernel/issues/7478\n\n### Contribution Checklist\n\n\n\n- [x] The code builds clean without any errors or warnings\n- [x] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [x] All unit tests pass, and I have added new tests where possible\n- [x] I didn't break anyone :smile:","shortMessageHtmlLink":".Net: Support polymorphic serialization of ChatMessageContent class a…"}},{"before":"cc4a4975a729bdb3cd90c57e631843a20b138e42","after":null,"ref":"refs/heads/gh-readonly-queue/main/pr-8905-38902ea2df4984324e9652003f49225b47aa1d88","pushedAt":"2024-09-19T12:56:49.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"38902ea2df4984324e9652003f49225b47aa1d88","after":"cc4a4975a729bdb3cd90c57e631843a20b138e42","ref":"refs/heads/main","pushedAt":"2024-09-19T12:56:47.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":".Net: Update integration tests to use AzureCliCredential (#8905)\n\n### Motivation and Context\n\n\n\n### Description\n\n\n\n### Contribution Checklist\n\n\n\n- [ ] The code builds clean without any errors or warnings\n- [ ] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [ ] All unit tests pass, and I have added new tests where possible\n- [ ] I didn't break anyone :smile:","shortMessageHtmlLink":".Net: Update integration tests to use AzureCliCredential (#8905)"}},{"before":null,"after":"cc4a4975a729bdb3cd90c57e631843a20b138e42","ref":"refs/heads/gh-readonly-queue/main/pr-8905-38902ea2df4984324e9652003f49225b47aa1d88","pushedAt":"2024-09-19T12:46:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":".Net: Update integration tests to use AzureCliCredential (#8905)\n\n### Motivation and Context\n\n\n\n### Description\n\n\n\n### Contribution Checklist\n\n\n\n- [ ] The code builds clean without any errors or warnings\n- [ ] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [ ] All unit tests pass, and I have added new tests where possible\n- [ ] I didn't break anyone :smile:","shortMessageHtmlLink":".Net: Update integration tests to use AzureCliCredential (#8905)"}},{"before":"38902ea2df4984324e9652003f49225b47aa1d88","after":null,"ref":"refs/heads/antro","pushedAt":"2024-09-19T09:23:18.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"SergeyMenshykh","name":null,"path":"/SergeyMenshykh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/68852919?s=80&v=4"}},{"before":null,"after":"38902ea2df4984324e9652003f49225b47aa1d88","ref":"refs/heads/antro","pushedAt":"2024-09-19T09:22:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"SergeyMenshykh","name":null,"path":"/SergeyMenshykh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/68852919?s=80&v=4"},"commit":{"message":"Python: Update anthropic_settings url path (#8689)\n\n### Motivation and Context\n\nWhile developing,i found that the Documentation in the Settings Class of\nAntropic is pointing to Mistral.\n\n### Contribution Checklist\n\n\n\n- [x] The code builds clean without any errors or warnings\n- [x] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [x] All unit tests pass, and I have added new tests where possible\n- [x] I didn't break anyone :smile:\n\nCo-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>\nCo-authored-by: Tao Chen ","shortMessageHtmlLink":"Python: Update anthropic_settings url path (#8689)"}},{"before":"b35b6dabf35197ef0d562c6f16cb7fc6093804cb","after":null,"ref":"refs/heads/gh-readonly-queue/main/pr-8901-38902ea2df4984324e9652003f49225b47aa1d88","pushedAt":"2024-09-19T09:01:31.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":null,"after":"b35b6dabf35197ef0d562c6f16cb7fc6093804cb","ref":"refs/heads/gh-readonly-queue/main/pr-8901-38902ea2df4984324e9652003f49225b47aa1d88","pushedAt":"2024-09-19T08:51:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":".Net: Support polymorphic serialization of ChatMessageContent class and its derivatives (#8901)\n\n### Motivation, Context and Description\nToday, when serializing chat history, the `ChatMessageContent` type or\nits derivatives, like `OpenAIChatMessageContent`, are serialized as the\n`ChatMessageContent` type because the type is used as the chat history\nelement type and the JSON serializer uses this type's public contract\nfor serialization.\n\nHowever, when attempting serialization of instances of either the\n`ChatMessageContent` or `OpenAIChatMessageContent` type that are\ndeclared as `KernelContent` or `object` type, the serialization fails\nwith the `System.NotSupportedException: Runtime type\n'{OpenAI}ChatMessageContent' is not supported by polymorphic type\n'Microsoft.SemanticKernel.KernelContent'` exception. The reason for this\nexception is that neither of these types is registered for polymorphic\nserialization.\n\nThis PR registers `ChatMessageContent` type for polymorphic\nserialization to allow serialization of the type instances declared as\nof `KernelContent` or `object` types:\n```csharp\n\nKernelContent content = new ChatMessageContent(...);\n\n// Now it's possible to serialize the content variable of KernelContent type that holds reference to an instance of the ChatMessageContent type as ChatMessageContent type.\nvar json = JsonSerializer.Serialize(content); \n```\nAdditionally, it enables serialization of unknow in advance and external\nderivatives of `ChatMessageContent` type like\n`OpenAIChatMessageContent`. These types are serialized using contract of\nnearest ancestor which is `ChatMessageContent` by default. To change\nthis behavior and register the unknown type for polymorphic\nserialization use the contract model - [Configure polymorphism with the\ncontract\nmodel](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism?pivots=dotnet-8-0#configure-polymorphism-with-the-contract-model)\n```csharp\nKernelContent content = new UnknownChatMessageContent(...);\n\n// The content variable will be serialized using the ChatMessageContent type contract.\nvar json = JsonSerializer.Serialize(content);\n\nprivate class UnknownChatMessageContent : ChatMessageContent{}\n```\nCloses: https://github.com/microsoft/semantic-kernel/issues/7478\n\n### Contribution Checklist\n\n\n\n- [x] The code builds clean without any errors or warnings\n- [x] The PR follows the [SK Contribution\nGuidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)\nand the [pre-submission formatting\nscript](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)\nraises no violations\n- [x] All unit tests pass, and I have added new tests where possible\n- [x] I didn't break anyone :smile:","shortMessageHtmlLink":".Net: Support polymorphic serialization of ChatMessageContent class a…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xOVQxNzoxOToxNC4wMDAwMDBazwAAAAS7I0mE","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xOVQxNzoxOToxNC4wMDAwMDBazwAAAAS7I0mE","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xOVQwODo1MTozOS4wMDAwMDBazwAAAAS6nLj_"}},"title":"Activity · microsoft/semantic-kernel"}