semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

Python: #6499 Mistral AI Function Calling

Open nmoeller opened this issue 1 year ago • 0 comments

Motivation and Context

  1. Why is this changed required ? To enable Mistral Models with Semantic Kernel, there was the issue #6499 in the Backlog to add a MistralAI Connector
  2. What problem does it solve ? It solves the problem, that semantic kernel is not yet integrated with MistralAI
  3. What scenario does it contribute to? The scenario is to use different connector than HF,OpenAI or AzureOpenAI. When User's want to use Mistral they can easliy integrate it now
  4. If it fixes an open issue, please link to the issue here. #6499

Description

The changes made are designed by the open_ai connector, i tried to stay as close as possible to the structure. For the integration i installed the mistral python package in the repository.

After Integrating ChatCompletion and Embeddings now i would like to bring in FunctionCalling

What is integrated yet :

  • [X] MistralAI FunctionCalling
  • [X] MistralAI FunctionCalling Streaming
  • [x] Extended Testing including Unit Testing
  • [x] Integration Tests with FunctionCalling

Some Notes

  • Integration Tests are skipped when the environment variables are not to not break the current Integration Tests

Contribution Checklist

nmoeller avatar Aug 09 '24 09:08 nmoeller