HostAIProvider class

One AI model that the IDE’s options list: its name, whether it is the default, what the user allows it to do, and the conversations held with it. An item of HostAIProviders.

Properties

FriendlyName

The model’s Friendly Name in the options, or its Model Name when that is empty. String, read-only.

IsDefault

True for the model whose Default button is selected, the one HostAIProviders.DefaultProvider returns. Boolean, read-only.

Permissions

What the user allows the model to do. As HostAIProviderPermissions, read-only.

Methods

StartConversation

Starts a conversation with the model. The conversation holds its messages until it is closed, and sends them all with each question.

Syntax: provider.StartConversation() As AIConversation

See Also