News

AI Toolkit for VS Code Now Lets You 'Bring Your Own Model'

Microsoft updated its AI Toolkit for Visual Studio Code, now supporting the ability to "bring your own model" for use in the open-source-based code editor.

The toolkit, still in preview, was introduced in May 2024 at the company's Build developer conference, enabling developers to explore, try, fine-tune and integrate state-of-the-art AI models into applications. It features a Model Catalog and a Model Playground, helping devs tweak settings for different models and immediately see the effects. Or, as its official description reads: "AI Toolkit for VS Code streamlines generative AI app development by integrating tools and models. Browse and download public and custom models; author, test and evaluate prompts; fine-tune; and use them in your applications."

AI Toolkit for Visual Studio Code
[Click on image for larger view.] AI Toolkit for Visual Studio Code (source: Microsoft).

Those models primarily came from Hugging Face and Azure AI Studio, showcased in the Model Catalog.

AI Toolkit for VS Code Model Catalog
[Click on image for larger view.] AI Toolkit for VS Code Model Catalog (circa May 2024) (source: Microsoft).

Today, Microsoft announced an update to the tool that expands its capabilities to let developers bring their own models into the toolkit, obtained from Ollama or via APIs.

"AI Toolkit extension for VS code now supports external local models via Ollama," said the announcement. "It has also added support [for] remote hosted models using API keys for OpenAI, Google and Anthropic. As we have seen in past blog posts, AI toolkit supports a range of models using Github Marketplace of models. However, you might require support for external models hosted by Google, Anthropic and Open AI which are either not available in the Github catalog of models or might want to use the models served by Ollama."

Ollama, like Hugging Face, helps provide access to AI models. Basically, Ollama is ideal for local, secure model execution, while Hugging Face offers a comprehensive platform for AI model development and collaboration.

"Several developers are also using Ollama to experiment and play with models using the command line," Microsoft said. "Ollama is an open-source AI tool that allows users to run large language models (LLMs) on their local systems. It's a valuable tool for industries that require data privacy, such as healthcare, finance, and government which might need locally hosted models. So, AI toolkit already supports some locally downloadable models such as those in the Phi-series by Microsoft or those by Mistral. Ollama supports a wider variety of models especially those from Meta's Llama series of LLMs and SLMs. The complete list of models currently supported by Ollama can be found at Ollama library."

The toolkit in May 2024 listed 3,925 installs, while today it lists more than 46,000.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • VS Code 1.127 Further Integrates Advanced Browser-AI Tech

    Microsoft's July 1 Visual Studio Code update continues a recent push to make the editor's integrated browser a more capable development surface -- and a more useful tool for AI agents.

  • Support Vector Regression with SGD Training Using C#

    Support vector regression can predict numeric values effectively, and this article shows how to implement and train a kernel SVR model in C# using stochastic sub-gradient descent.

  • New GitHub Switch Limits Repo Issue Creation to Collaborators Only

    After publicly touting pull request limits as a way to cut maintainer noise, GitHub is taking the same idea further with a new setting that lets repository admins restrict issue creation to collaborators only.

  • Uno Platform Helps Ship First Stable SkiaSharp 4.0 Release for 2D .NET Graphics

    SkiaSharp 4.148.0 is the first stable v4 release, bringing a newer Skia engine, API cleanup, performance work and a Microsoft-Uno co-maintenance model.

Subscribe on YouTube