Skip to content

Conversation

@Krzysztof318
Copy link
Contributor

@Krzysztof318 Krzysztof318 commented Jul 2, 2024

Motivation and Context

Finaly Google Gemini API is supporting system messages.

Description

Added support one or multiple system messages.
Removed messages order limitation because google API not permitting this anymore.
(so Agents framework and handlebars planner now should work with Gemini! yeah!)

Contribution Checklist

@rogerbarreto

@Krzysztof318 Krzysztof318 requested a review from a team as a code owner July 2, 2024 18:39
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels Jul 2, 2024
@Krzysztof318 Krzysztof318 changed the title .Net Gemini added support of system messages .Net: Gemini added support of system messages Jul 2, 2024
@Krzysztof318 Krzysztof318 changed the title .Net: Gemini added support of system messages .Net: Gemini added support of system messages and removed messages order limitation Jul 2, 2024
@dmytrostruk dmytrostruk enabled auto-merge July 3, 2024 16:36
@dmytrostruk dmytrostruk added this pull request to the merge queue Jul 3, 2024
Merged via the queue into microsoft:main with commit 1b4d348 Jul 3, 2024
LudoCorporateShark pushed a commit to LudoCorporateShark/semantic-kernel that referenced this pull request Aug 25, 2024
…der limitation (microsoft#7067)

### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

Finaly Google Gemini API is supporting system messages.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

Added support one or multiple system messages.
Removed messages order limitation because google API not permitting this
anymore.
(so Agents framework and handlebars planner now should work with Gemini!
yeah!)

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

@rogerbarreto
@Krzysztof318 Krzysztof318 deleted the gemini-system-role branch September 6, 2024 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants