List & Label .NET
combit.Reporting.AI Namespace / AiTextModel Class / Ollama Method

The name of the Ollama model to use (e.g. llama3, mistral). Must not be , empty, or whitespace.



In This Topic
    Ollama Method
    In This Topic

    Creates an that targets a locally hosted.

    Syntax
    'Declaration
     
    
    Public Shared Function Ollama( _
       ByVal modelName As String _
    ) As AiTextModel
    public static AiTextModel Ollama( 
       string modelName
    )
    public:
    static AiTextModel^ Ollama( 
       String^ modelName
    ) 

    Parameters

    modelName

    The name of the Ollama model to use (e.g. llama3, mistral). Must not be , empty, or whitespace.

    Return Value

    A new AiTextModel instance whose option string is ollama-{modelName}.

    Requirements

    Platforms: Windows 10, Windows 11, Windows Server 2016 - 2025
    .NET: .NET Framework 4.8, .NET 10, .NET 11

    See Also