Generating API Manifests for Semantic Kernel

thumbnail

Generating API Manifests for Semantic Kernel

In this blog post, Vincent Biret discusses how to use Kiota to generate API manifests for Semantic Kernel, following up on the introduction of API Manifest Plugins in a previous post.

Getting the Tools

  • The only tool needed is Kiota, with version 1.14.0 or above installed.
  • Install Kiota on your machine to access plugin generation capabilities.

Finding the Description

  • Retrieve the OpenAPI description for the desired API (e.g., GitHub's API).
  • Use Kiota to find the API tree and matching API paths.

Generating the Plugin

  • Run a command to generate the plugin manifest for GitHub.
  • This command will create a plugin manifest for GitHub, allowing integration with Semantic Kernel.

Generating a Manifest for Microsoft Graph

  • Quickly generate an API manifest for Microsoft Graph using Kiota.
  • Run a command to generate the plugin manifest for Microsoft Graph.

Results

  • Kiota generates a directory for each API (e.g., GitHub, Microsoft Graph) containing JSON API manifest files.
  • The sliced API description includes selected operations for integration.

Conclusion

  • Kiota's plugin manifests generation capabilities simplify the creation of API manifests for Semantic Kernel.
  • Feedback and suggestions for additional plugin manifest generation support are welcome.

Feel free to join the discussion on the Semantic Kernel GitHub Discussion Channel for further engagement and support!