Giter Club home page Giter Club logo

semantic-kernel's People

Contributors

adrianwyatt avatar alexchaomander avatar alliscode avatar amsacha avatar awharrison-28 avatar craigomatic avatar crickman avatar dehoward avatar dependabot[bot] avatar dluc avatar dmytrostruk avatar eavanvalkenburg avatar feiyun0112 avatar gitri-ms avatar glahaye avatar joowon-dm-snu avatar juliomenendez avatar krzysztof318 avatar lemillermicrosoft avatar markwallace-microsoft avatar matthewbolanos avatar mkarle avatar moonbox3 avatar rogerbarreto avatar sergeymenshykh avatar shawncal avatar stephentoub avatar taochenosu avatar teresaqhoang avatar vivihung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

semantic-kernel's Issues

Microsoft.SemanticKernel.HttpOperationException when using MistralAIChatCompletionService

Describe the bug
I'm using latest version 1.5.0 of mistral connector for semantic kernel and methods GetStreamingChatMessageContentsAsync, GetChatMessageContentAsync from MistralAIChatCompletionService
I receive this exception(in previous version there was no exception):

Microsoft.SemanticKernel.HttpOperationException: Unprocessable Entity
---> System.Net.Http.HttpRequestException: Exception of type 'System.Net.Http.HttpRequestException' was thrown.
--- End of inner exception stack trace ---
at Microsoft.SemanticKernel.Connectors.Mistral.MistralClientCore.CallMistralAuthedAsync(String url, StringContent content)
at Microsoft.SemanticKernel.Connectors.Mistral.MistralClientCore.CallMistralChatEndpointAsync(ChatHistory chat, MistralPromptExecutionSettings textExecutionSettings)
at Microsoft.SemanticKernel.Connectors.Mistral.MistralClientCore.GetChatMessageContentsAsync(ChatHistory chat, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)
at Microsoft.SemanticKernel.ChatCompletion.ChatCompletionServiceExtensions.GetChatMessageContentAsync(IChatCompletionService chatCompletionService, ChatHistory chatHistory, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)

What can it be?

To Reproduce
Here is bug reproduction repository: https://github.com/TRybina132/MistralConnectorBug

Expected behavior
No exception is thrown and method returns result.

Platform

  • OS: Windows, Mac
  • Language: C#
  • Source: NuGet package version 1.5.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.