Table of Contents

Class GeneratorConfigurationService

Namespace
Dynamicweb.AI
Assembly
Dynamicweb.Core.dll

Provides methods for querying generator configuration information.

public sealed class GeneratorConfigurationService
Inheritance
GeneratorConfigurationService
Inherited Members

Methods

Delete(int)

public bool Delete(int id)

Parameters

id int

Returns

bool

GetConfigurationById(int)

Get AI generator configuration by Id.

public GeneratorConfiguration? GetConfigurationById(int id)

Parameters

id int

The AI generator configuration Id

Returns

GeneratorConfiguration

GetConfigurations()

Get all AI generator configurations.

public IEnumerable<GeneratorConfiguration> GetConfigurations()

Returns

IEnumerable<GeneratorConfiguration>

GetDefaultConfiguration()

public GeneratorConfiguration? GetDefaultConfiguration()

Returns

GeneratorConfiguration

Save(GeneratorConfiguration)

Add new or save to existing AI generator configuration.

public bool Save(GeneratorConfiguration configuration)

Parameters

configuration GeneratorConfiguration

The AI generator configuration

Returns

bool
To top