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

  • Cloud-Focused .NET Aspire 9.1 Released

    Along with .NET 10 Preview 1, Microsoft released.NET Aspire 9.1, the latest update to its opinionated, cloud-ready stack for building resilient, observable, and configurable cloud-native applications with .NET.

  • Microsoft Ships First .NET 10 Preview

    Microsoft shipped .NET 10 Preview 1, introducing a raft of improvements and fixes across performance, libraries, and the developer experience.

  • C# Dev Kit Previews .NET Aspire Orchestration

    Microsoft's dev team has been busy updating the C# Dev Kit, a Visual Studio Code extension that enhances the C# development experience by providing tools for managing, debugging, and editing C# projects.

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

Subscribe on YouTube

Upcoming Training Events