The OpenVINO C# API provides two main tracks of sample applications:
- Traditional Vision Inference: YOLO-based detection examples demonstrating how to implement inference across different .NET versions (from .NET Framework 4.6 to modern .NET 10.0).
- OpenVINO GenAI: Examples for Generative AI capabilities including Large Language Models (LLM), Speech Recognition (Whisper), and Vision-Language Models (VLM).
GenAI Capabilities
GenAI features are located in the OpenVinoSharp.GenAI namespace and include:
LLMPipeline: Text generation (Greedy, Beam Search, Sampling, Streaming).WhisperPipeline: Automatic Speech Recognition (ASR) with timestamp support.VLMPipeline: Visual Language Models for image understanding and interactive Q&A.
Note: The GenAI runtime is an optional dependency. If you only use traditional APIs like Core, Model, Tensor, CompiledModel, or InferRequest, the openvino_genai_c library will not be loaded.